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

升级了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,所以导致上诉问题。


解决方法:

Xcode7 'XXXX'does not contain bitcode. 的错误_第1张图片


然后在编译就OK了



你可能感兴趣的:(Xcode7 'XXXX'does not contain bitcode. 的错误)