日常问题收集:
-
remark: Incremental compilation has been disabled: is not currently compatible with embedding LLVM IR bitcode
a. 在Build Settings中搜索Enable Bitcode-> 设置No
b. Project-> Targets->
Build Settings-> Custom Compiler Flags-> Other C Flags->
添加 " -fembed-bitcode"c. 如果静态库的工程有 -Werror的选项,需要去掉。应为在编译的时候有一个警告。 clang: warning: argument
unused during compilation: '-fembed-bitcode-marker’