There are currently several instruction sets for iOS:
- ARMv6
- Iphone
- IPhone2
- Iphone3g
- First generation and second generation ipod Touch
- ARMv7
- armv7s
- Arm64
The machine's support for the instruction set is backwards compatible, so the armv7 instruction set can be run in iphone5s, but not as efficient as it is.
================================================
Architecture: Refers to the set of instructions you want to support.
Valid architectures: Refers to the set of instructions that will be compiled.
Build Active Architecture only: Compiles only the currently applicable instruction set.
================================================
This is the beginning of 2014, in fact, 4 and 4S users are quite a lot, and iPhone3 and other machines almost no, so our instruction set minimum must be based on ARMV7.
Therefore, the value of architecture is selected: ARMv7 armv7s arm64
PS: Minimum support required when selecting Arm64 5.1.1:
1, if you want your app to be able to run most efficiently on each machine, you need to change build Active Architecture only to No,valid architectures select the corresponding instruction set: ARMv7 armv7s arm64. This will compile the corresponding code for each instruction set, so the final IPA volume is roughly 3 times times, and the release version must be No.
2, if you want to keep the app volume is minimal, then the current stage should choose valid architectures as ARMV7, so build Active Architecture only Select Yes or no does not matter
Original address: http://justsee.iteye.com/blog/2009954