Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ios

armv7

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?

like image 428
Liyan Chang Avatar asked Sep 23 '12 03:09

Liyan Chang


1 Answers

Use XCode's lipo:

xcrun -sdk iphoneos lipo 
like image 152
Cfr Avatar answered Sep 20 '22 07:09

Cfr