解决Xcode 7编译错误:does not contain bitcode

连接地址:http://jingyan.baidu.com/article/8065f87f96cf462331249801.html

好不容易更新到Xcode 7.0.1,重新编译代码,报错:

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 arm64

解决Xcode 7编译错误:does not contain bitcode
 

工具/原料

  • Xcode 7.0.1

方法/步骤

  1.  

    选择项目属性中的”Build Settings“项

    解决Xcode 7编译错误:does not contain bitcode
  2.  

    在搜索输入框中输入:bitcode,可以从设置中找到“Enable Bitcode”项,它的默认值是Yes

    解决Xcode 7编译错误:does not contain bitcode
  3. 3

    将Enable Bitcode项的值改成“No”,之后就能成功编译

    解决Xcode 7编译错误:does not contain bitcode
  4.  

posted @ 2015-10-28 14:02  *新星月-倪新生*  阅读(179)  评论(0编辑  收藏  举报