Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to add armv7s architecture to static library in xcode 7 / ios 9?

Looks like after upgrading to xcode 7 beta 5 and iOS 9.0 beta 5, I can't create a static library that includes an armv7s slice.

lipo -info staticLibraryName says:

Architectures in the fat file: staticLibraryName are: armv7 i386 x86_64 arm6.

Adding armv7s to build settings alongside $(ARCHS_STANDARD) and setting Build Active Architectures Only to No doesn't not seem to do the trick like it did in xcode 6.

Any one else getting this ? Any way to produce the armv7s slice ? If I release a static library without the slice, will my customers \ their end users be affected ?

like image 752
Jony Shlomoff Avatar asked Aug 18 '15 22:08

Jony Shlomoff


1 Answers

You need set your Xcode setting: Build Setting -> Architectures, add $(ARCHS_STANDARD) & armv7s, Hope it works.

http://7xkptx.com1.z0.glb.clouddn.com/fwg4whet.png

like image 150
pandorago Avatar answered Sep 20 '22 15:09

pandorago