5
votes

I support iOS 5.1.1 as iOS Deployment Target with Base SDK iOS7. Now I have the issue that iOS5.1.1 devices cannot install the app via Hockey or via iTunes after archive because of the contained fat binary. Of course I can create a further job to our build server that builds only for lower iOS6 without arm64 but that's very inconvenient.

Build-Settings:

ARCHS="armv7 armv7s arm64" ONLY_ACTIVE_ARCH=NO

If I build only for active architecture "armv7" I can install the archive via itunes.

Can it be that apple removing the 64bit binary code before the app is delivered to iOS 5.1.1 devices?

Thanks, Markus

1
I have the same problem, according to developer.apple.com/library/ios/documentation/General/…, Xcode should generate an universal binary capable of 32 and 64 bit, as long as the deployment target is iOS5.1.1. Doesn't work for me either.JiaYow
Someone found the fix or workaround?Beto

1 Answers

-1
votes

Create the iPa file by archiving without a device connected. I have found issues where archiving with a newer device, Xcode seems to pick up its architecture and can affect older device saying 'incompatible'

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

Contrary to what I initially thought, you don't have to have a device connected while archiving, just so long as it's not the simulator that's selected.

I hope this helps anyone else with the same issues.