For iOS devices, there are four instruction sets of iOS: armv6, armv7, armv7s, and arm64. Different models of iOS devices use different instruction sets. The following are their differences:
armv6 (Recommended learning: web front-end video tutorial)
iPhone, iPhone 3G
iPod 1G, iPod 2G
armv7
iPhone 3GS, iPhone 4
iPod 3G, iPod 4G, iPod 5G
iPad, iPad 2, iPad 3 , iPad Mini
armv7s
iPhone 5, iPhone 5C
iPad 4
arm64
iPhone 5S iPhone 6 iPhone 6Plus
iPad Air, Retina iPad Mini
Architecture: Refers to the instruction set you want to support.
Valid architectures: refers to the instruction set to be compiled.
Build Active Architecture Only: Only whether to compile only the currently applicable instruction set.
PS: When choosing arm64, you need to support at least 5.1.1:
1. If you want your app to run with the highest efficiency on each machine, you need to Change Build Active Architecture Only to NO, and Valid architectures select the corresponding instruction set: armv7 armv7s arm64. This will compile the corresponding code for each instruction set, so the final ipa size has basically tripled, and the Release version must be NO.
2. If you want to keep the app size to a minimum, you should select armv7 as Valid architectures at this stage, so it doesn’t matter if you select YES or NO for Build Active Architecture Only
The above is the detailed content of arm64 difference. For more information, please follow other related articles on the PHP Chinese website!