编译遇到bitcode bundle could not be generated because 调用第三方库造调用百度地图第三方库造成bitcode错误(bitcode bundle could not be generated)

 

解决办法:

右键这个错误提示,选择reaval in log (在日志中显示)

1、在Build Settings中搜索Enable Bitcode-> 设置No

2、Project-> Targets-> Build Settings-> Custom Compiler Flags-> Other C Flags-> 

“-fembed-bitcode”

如果静态库的工程有 -Werror的选项,需要去掉。应为在编译的时候有一个警告。 clang: warning: argument unused during compilation: '-fembed-bitcode-marker’, 如果不去掉就会报错
 

相关文章:

  • 2021-04-13
  • 2021-11-13
  • 2021-05-10
  • 2022-12-23
  • 2021-11-05
  • 2021-09-16
  • 2022-12-23
  • 2021-09-12
猜你喜欢
  • 2021-09-01
  • 2021-10-02
  • 2021-04-16
  • 2022-12-23
  • 2021-07-12
  • 2021-12-07
  • 2022-12-23
相关资源
相似解决方案