编译项目时出现关于Bitcode问题报错

编译项目时会有一种错误信息是*** 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

这代表项目中关于BitCode的检测出现了问题.关于BitCode的理解,我找到了一篇介绍的还不错的文章http://www.cnblogs.com/Cheetah-yang/p/4764525.html

如果是你添加的三方依赖库中出现了这个问题,那么要么升级相关库,要么禁止使用BitCode.因为在iOS中BitCode是可选的,而在iWatch上是必选的.在mac OS上不支持

如何关闭BitCode?

项目工程 --> build Setting 搜索bitcode 选择NO

搞定

posted @ 2017-11-21 16:01  爱吃米饭的陈大鹰  阅读(360)  评论(0编辑  收藏  举报