The ipa archive for armv7, armv7s, and arm64 cannot be installed on iOS 5.1.1 devices

I support iOS 5.1.1 as the goal of deploying iOS with the iOS7 base SDK. Now I have a problem with the fact that iOS5.1.1 devices cannot install the application through hockey or through iTunes after the archive due to the binary file contained in it. Of course, I can create additional work on our build server, which only builds for lower iOS6 without arm64, but this is very inconvenient.

Build settings:

ARCHS = "armv7 armv7s arm64" ONLY_ACTIVE_ARCH = NO

If I create "armv7" only for the active architecture, I can install the archive through itunes.

Can this apple delete 64-bit binary code before the application is delivered to iOS 5.1.1 devices?

Thanks Marcus

+6
source share
1 answer

Create an iPa file by archiving without connecting a device. I found problems with archiving using a new device, Xcode seems to take away its architecture and may affect an older device saying "incompatible"

Unplug your device and select iOS device from this list before archiving

Unlike what I initially thought, you do not need to connect the device during archiving only if it is not the selected simulator.

I hope this helps someone else with the same problems.

-1
source

All Articles