BitCode

今天在iOS上编译原来开发的代码,出现了以下错误

xxxx.o does not contain bitcode. You must rebuild it with bitcode enabled (Xcodesetting ENABLE_BITCODE)

百度后知道Xcode7.0以后会默认开启Bitcode模式,很多旧的静态库由于编译问题,无法支持Bitcode,需要重新编译才能使用。

如果不想重新编译,只需要关闭Bitcode就可以了

具体按以下操作:
在Targets -> Build Settings -> Build Options 下
将Enable Bitcode 设置为NO即可

posted @ 2016-09-23 16:03  Mars_夹娃娃大神  阅读(271)  评论(0编辑  收藏  举报