如何在xcode 7/ios 9中将armv7s体系结构添加到静态库中? [英] how to add armv7s architecture to static library in xcode 7 / ios 9?

查看:268
本文介绍了如何在xcode 7/ios 9中将armv7s体系结构添加到静态库中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

就像升级到xcode 7 beta 5和iOS 9.0 beta 5之后,我无法创建包含armv7s slice的静态库.

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说:

lipo -info staticLibraryName says:

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

添加armv7来与$(ARCHS_STANDARD)一起构建设置并将仅将Active Active Architectures设置为"似乎并没有像在xcode 6中那样完成.

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切片吗? 如果我发布没有切片的静态库,我的客户\他们的最终用户会受到影响吗?

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 ?

推荐答案

您需要设置Xcode设置:Build Setting-> Architectures,添加$(ARCHS_STANDARD)& armv7s,希望它能起作用.

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

这篇关于如何在xcode 7/ios 9中将armv7s体系结构添加到静态库中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆