Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check supported architectures of iOS app

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).

like image 689
lenhhoxung Avatar asked May 13 '13 09:05

lenhhoxung


People also ask

Does iOS 11 support armv7?

32-bit (armv7) is no longer supported in iOS 11, so you should make sure the deployment target be < iOS 11.

What architecture is used in iOS?

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.

Where is valid architectures in Xcode?

If a project includes VALID_ARCHS, the setting is displayed in the User-Defined section of the Build Settings editor.

Which architecture is best for iOS app development?

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.


1 Answers

You can use lipo -info MyApp.app/MyApp to see what architecures are supported.

like image 163
Markus Avatar answered Oct 10 '22 01:10

Markus