"Only create active architectures" setting "Yes" "Pro versus"?

I understand that setting this to YES speeds up the build time. But as far as I know, setting this option to "YES" will be built for the architecture of the connected device.

So, if I connected an older device, such as iPhone 3GS (ARMv7), the release build should work on ARMv7, ARMv7 and ARM64.

But what happens if I exit with an iPhone 5 (ARMv7s) connected during installation only “Build Active Architect” to “YES”? I can assume that the assembly will work on ARMv7 and ARM64, but will it work on older devices with ARMv7?

+4
source share
2 answers

Yes, I don’t think that Apple will allow you to send the application this way, but if you distribute it in other ways, it will not work on older devices ... That's why it is usually installed as YES for debugging and NO for release

+3
source

Pro: Building is faster because it is created only for your device architecture.

Cons: Your distribution assembly will not work on devices with 32-bit architecture (iPhone 4s / 5). Therefore, when you create a distribution configuration for publishing on the App Store, you must make sure that this option is not set so that you build a bold universal binary.

+3
source

All Articles