打包报错

来源:互联网 发布:linux ssh ip port 编辑:程序博客网 时间:2024/05/16 05:18
clang: error: unable to execute command: Segmentation fault: 11

clang: error: linker command failed due to signal (use -v to see invocation)


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


上述错误的意思大概是:

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


解决方法:


然后在编译就OK了


0 0