首页 > 代码库 > bitcode编译错误

bitcode编译错误

xcode编译引用的静态库可能会出现编译错误:

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

clang: error: linker command failed with exit code 1 (use -v to see invocation)

--------------------

解决方法:

设置工程-Build Settings -Enable Bitcode -NO

bitcode编译错误