ld: -weak_library and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决 build setting
enable bitcode —>改为no
ld: -weak_library and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
本文解决了一个在Xcode中常见的编译错误:ld不允许-weak_library与-bitcode_bundle同时使用的问题。通过调整项目的Build Setting中的Enable Bitcode选项至No,成功解决了链接器错误。

被折叠的 条评论
为什么被折叠?



