Search code examples
objective-cxcodestatic-librariesarmv6

Objective-C: .a fat file with more than armv6/7


Although I set up my static library project in XCode to build armv6, armv7, i386 and x86_64, it does not build a full fat file :-(

lipo -info lib...a tells me that it is a fat file with armv6 and armv7, nothing else, no more architectures inside.

How to get them all put into one file?

Thanks


Solution

  • You probably have the "Valid architectures" (VALID_ARCHS) build setting set to narrow the set of architectures for which your target is built.