简体   繁体   中英

ipa archive build for armv7, armv7s and arm64 cannot be installed to iOS 5.1.1 devices

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

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'

在存档之前,请拔下您的设备并从此列表中选择iOS设备

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM