Compile Library for armv7s - cputype (12) and cpusubtype (11)

armv7, ios

Solution

Use XCode's lipo:

xcrun -sdk iphoneos lipo

Problem

I'm a developer of a third party library and I'd like to recompile my library for armv7s, but I seem to have issues. I updated xcode to 4.5. I updated the project and the related targets to have valid architectures of `armv7 armv7s`. However, when I run `file` or `lipo -info`, it lists - i386 - armv7 - (cputype (12) cpusubtype (11)) No armv7s. Am I missing something?

Original source