您的位置:首页 > 其它

xcode编译时常见错误之一

2015-09-20 12:37 411 查看
 
ld: ‘/Users
/**/
Framework/SDKs/PolymerPay/Library/mobStat/lib**SDK.a(**ForSDK.o)’ does not contain bitcode. You must rebuild it 
with
 
bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for
 
this
 
target. 
for
 
architecture arm64


 


bitcode是被编译程序的一种中间形式的代码。包含bitcode配置的程序将会在App store上被编译和链接。bitcode允许苹果在后期重新优化我们程序的二进制文件,而不需要我们重新提交一个新的版本到App
store上。


 


You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the
vendor, or disable bitcode for this target.
for architecture arm64
要么让第三方库支持,要么关闭target的bitcode选项。
实际上在Xcode 7中,我们新建一个iOS程序时,bitcode选项默认是设置为YES的。我们可以在”Build Settings”->”Enable Bitcode”选项中看到这个设置。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: