bitcode编译错误

Posted wainiwann

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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编译错误的主要内容,如果未能解决你的问题,请参考以下文章

BitCode

xcode中引入自制框架,编译压缩包的bitcode报错?

iOS真机测试碰到错误linker command failed with exit code 1 (use -v to see invocation)

Swift iOS项目archive操作会报错误built without full bitcode解决方法

iOS真机测试友盟碰到错误linker command failed with exit code 1 (use -v to see invocation) 百度地图的检索失败 sqlite 错误

在 Xcode 项目设置中禁用 BitCode 有啥影响?