解决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
如果一件事情你觉得难的完不成,你可以把它分为若干步,并不断寻找合适的方法。最后你发现你会是个超人。不要给自己找麻烦,但遇到麻烦绝不怕,更不要退缩。 电工查找电路不通点的最快方法是:分段诊断排除,快速定位。你有什么启示吗? 求知若饥,虚心若愚。 当你对一个事情掌控不足的时候,你需要做的就是“梳理”,并制定相应的规章制度,并使资源各司其职。
原文地址:https://www.cnblogs.com/wvqusrtg/p/4917134.html