XcodeInvalid bitcode version
Posted xiang_freedom
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了XcodeInvalid bitcode version相关的知识,希望对你有一定的参考价值。
libpaddle_api_full_bundled.a(paddle_api.cc.o): ‘Invalid bitcode version (Producer: ‘1200.0.32.27.0_0’ Reader: ‘1103.0.32.62_0’)’, using libLTO version ‘LLVM version 11.0.3, (clang-1103.0.32.62)’ for architecture arm64
这个的意思是编译libpaddle_api_full_bundled.a用的xcode版本是12,但是编译工程用的xcode版本是11,所以报错。解决方法是升级工程的xcode的版本。
参考:
https://intercom.help/appcenter/en/articles/1367131-xcode-app-fails-with-invalid-bitcode-version-error
If your ios build fails with error: Invalid bitcode version (Producer: ‘802.0.38.0_0’ Reader: ‘800.0.42.1_0’), this error means that you are using a lib or pod that was built by a newer version of Xcode than the Xcode version currently used in your project.
To fix the error, update your project and the build configuration in App Center to use a newer version of Xcode or switch to an alternate, older version of the problematic library which is compiled with a matching version of Xcode.
以上是关于XcodeInvalid bitcode version的主要内容,如果未能解决你的问题,请参考以下文章
Qt:qmake中VERSION和VER_MAJ、VER_MIN、VER_PAT的区别