简体   繁体   English

如何在xcode 7 / ios 9中将armv7s架构添加到静态库?

[英]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. 看起来在升级到xcode 7 beta 5和iOS 9.0 beta 5之后,我无法创建包含armv7s切片的静态库。

lipo -info staticLibraryName says: lipo -info staticLibraryName说:

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. 添加armv7s以构建设置以及$(ARCHS_STANDARD)并将Build Active Architectures Only设置为No似乎没有像在xcode 6中那样做。

Any one else getting this ? 还有其他人得到这个吗? Any way to produce the armv7s slice ? 有没有什么方法可以生产armv7s切片? If I release a static library without the slice, will my customers \\ their end users be affected ? 如果我发布没有切片的静态库,我的客户\\他们的最终用户会受到影响吗?

You need set your Xcode setting: Build Setting -> Architectures, add $(ARCHS_STANDARD) & armv7s, Hope it works. 你需要设置你的Xcode设置:Build Setting - > Architectures,添加$(ARCHS_STANDARD)和armv7s,希望它有效。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM