简体   繁体   中英

Building a multiarch app with Xcode

I am trying to get so called fat binary with iOS app. So, I defined in my Xcode:

Architectures : Standard (arm64 armv7)
Build Active Architecture Only : No
Valid Architecures: arm64 armv7

And build process succeeded. The output file is app.ipa . But, I have a problem with compability on 32 bit devices. So, I investigate to app.ipa : lipo -info app.ipa . Actually, it says that is is non-fat arm64 file.

But why? After all, I configured correctly.

When I create empty project and set conifg as above it works.

How to resolve it?

如果您正在寻找创建胖框架/库,那么亚当的答案使用Xcode和SDK 4+构建胖静态库(设备+模拟器)可能会为您提供帮助

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