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

前提是你 提交于 2020-01-03 07:37:49

问题


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 ?


回答1:


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



来源:https://stackoverflow.com/questions/32083436/how-to-add-armv7s-architecture-to-static-library-in-xcode-7-ios-9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!