How can I check supported archs of my apps (ex. MyApp.app)?
This folder is product after building by Xcode.
I use command: "file MyApp.app/MyApp" and it shows:
Mach-O executable arm
What is this?
I really want to know which architectures it supports (armv6, armv7, armv7s or i386).
32-bit (armv7) is no longer supported in iOS 11, so you should make sure the deployment target be < iOS 11.
Most applications you write for iOS will use a model-view-controller (MVC) architecture similar to the one described by Apple here. This is a proven design that helps to break up your application into manageable parts with clean separation of concerns.
If a project includes VALID_ARCHS, the setting is displayed in the User-Defined section of the Build Settings editor.
Model-view-controller is the most popular design architecture in-app architecture design. It is the one Apple recommends and it's easy to understand and use. In most code examples on the official Apple or Swift websites, applications are built using the MVC architecture.
You can use lipo -info MyApp.app/MyApp
to see what architecures are supported.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With