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

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

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

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

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

相关文章:

  • 2021-11-28
  • 2021-12-23
  • 2021-11-13
  • 2022-01-06
  • 2021-07-24
  • 2021-10-17
猜你喜欢
  • 2021-12-15
  • 2021-09-21
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
相关资源
相似解决方案