ld:警告:在xcode中构建时出现意外的srelocation类型9 [英] ld: warning: unexpected srelocation type 9 while building in xcode
问题描述
您好我在构建我的应用程序以进行分发的链接阶段会收到大约7000个此类警告
Hi I get around 7000 such warnings in the link stage of building my app for distribution
ld: warning: unexpected srelocation type 9
知道这是什么以及我如何解决它?
Any idea what this is and how I can fix it?
编辑:
这些警告仅在建立分发时出现在'armv7'的链接阶段,我也收到以下警告
These warnings come during the link stage of 'armv7' only when building for distribution, and I also get the following warning
warning: all apps should include an armv7 architecture (current ARCHS = "armv6").
我已检查过armv7是否包含在有效的体系结构中用于调试和分发配置。
I have checked that armv7 is included in valid architectures" for both debug and distribution configuration.
推荐答案
请检查您的应用中的以下设置:
Please check the following settings in your apps :
在信息中。检查所需的设备功能信息,查看里面的数据。你应该有2个项目(NSArray):armv6和armv7
In the Info.plist. Check for "Required device capabilities" info, and look the data inside. You should have 2 items (NSArray) : armv6 and armv7
这篇关于ld:警告:在xcode中构建时出现意外的srelocation类型9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!