首页 > 其他 > 详细

Xcode7 ‘XXXX‘does not contain bitcode. 的错误

时间:2015-09-27 15:01:09      阅读:2036      评论:0      收藏:0      [点我收藏+]

升级了Xcode7,之前加入的第三方库,在iPhone4上编译报错,错误如下:

 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 armv7
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)


上述错误的意思大概是:

这是因为一个第三方的库不兼容,我的工程中开启了 ENABLE_BITCODE (应该是升级之后自动转换的),而这个第三方的库在编译的时候没有 enable bitcode,所以导致上诉问题。


解决方法:

技术分享


然后在编译就OK了



Xcode7 ‘XXXX‘does not contain bitcode. 的错误

原文:http://my.oschina.net/u/936286/blog/511634

(0)
(2)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!