does not contain bitcode. You must rebuild it with
2015-10-23 14:40
344 查看
Xcode 7 运行项目报错:
错误1. Undefined symbols for architecture armv7:
"_compress2", referenced from:
+[UMANDeflated deflatedDataPrefixedWith:level:source:] in libMobClickLibrary.a(UMDeflated.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
错误2. *** 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
由于Xcode自身的一些小问题,运行项目时一直报错 错误1的内容.然后我就检查项目友盟这个库的依赖呀.非常肯定的确认库已经导入而且在链接的二进制库里面.(就是build phases里面).然后就不断的重新导入clean了好多次还是不行.然后我就崩溃了.. 后来把Xcode重启再次运行真正的错误终于浮出水面(毕竟Xcode是beta版).就是错误2的内容.原来是友盟的二进制库不支持bitcode.而Xcode默认是要支持bitcode的,而且如果支持的话,其中所有的二进制库和framework都必须包含bitcode.至于什么是bitcode,请看这里: /article/9715335.html
Bitcode
现在我们把bitcode关掉:
错误1. Undefined symbols for architecture armv7:
"_compress2", referenced from:
+[UMANDeflated deflatedDataPrefixedWith:level:source:] in libMobClickLibrary.a(UMDeflated.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
错误2. *** 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
由于Xcode自身的一些小问题,运行项目时一直报错 错误1的内容.然后我就检查项目友盟这个库的依赖呀.非常肯定的确认库已经导入而且在链接的二进制库里面.(就是build phases里面).然后就不断的重新导入clean了好多次还是不行.然后我就崩溃了.. 后来把Xcode重启再次运行真正的错误终于浮出水面(毕竟Xcode是beta版).就是错误2的内容.原来是友盟的二进制库不支持bitcode.而Xcode默认是要支持bitcode的,而且如果支持的话,其中所有的二进制库和framework都必须包含bitcode.至于什么是bitcode,请看这里: /article/9715335.html
Bitcode
现在我们把bitcode关掉:
相关文章推荐
- easyui弹出提示框
- Password and U option must have a non-empty value
- DOM API querySelector与querySelectorAll的用法
- getting NSDictionary value
- UITabelView中cell点击展开功能设计
- MEMO:UIButton 中的图片和标题 左对齐
- CruiseControl.net
- UItbleview 设置滑动范围
- easyUI使用实例讲解
- UE技巧
- UITabelView的自适应布局
- UIView的Touch事件UIControlEvents详解
- 错误The request sent by the client was syntactically incorrect ()的解决
- 8.2.1.19 Optimizing LIMIT Queries 优化LIMIT 查询:
- js中的true,false盲点
- Gene.Codes.Sequencher.v5.4.44511 1CD DNA序列分析序列拼接软件
- [转] 再探java基础——break和continue的用法
- gc buffer busy acquire vs release
- uitableview 优化
- getRequestURI,getRequestURL的区别