【Xcode】Invalid 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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值