随记--'xxx' does not contain bitcode报错

Posted 呆呆的码农

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了随记--'xxx' does not contain bitcode报错相关的知识,希望对你有一定的参考价值。

1 ld: \'xxx\' 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
2 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Xcode默认是开启Enadle Bitcode的,如果导入了一些第三方库(比如ZBarSDK)在编译的时候没有Enable Bitcode的话,就会报错。关于Bitcode

解决方法:

 第一种:添加包括Enable Bitcode 的第三方库,或者更新第三方库使其包括Enable BitCode

 第二种:在项目中Enadble Bitcode设置为NO

以上是关于随记--'xxx' does not contain bitcode报错的主要内容,如果未能解决你的问题,请参考以下文章

Pylint Error Message: “E1101: Module 'xxx' has no 'xxx' member'”

关于py的AttributeError: module 'XXX' has no attribute 'XXX'问题

解决Java中There is no getter for property XXX'XXX' in 'class XXX'的问题

关于*[pylint]E1101:Module 'xxx' has no 'xxx' member* 简单而有效的解决办法

There is no getter for property named xxx' in 'class java.lang.xxx'

解决AttributeError: XXX instance has no attribute 'xxx'的问题(新手必备)