'无效的位码版本(生产者:'902.0.39.2_0'阅读器:'900.0.37_0')' [英] 'Invalid bitcode version (Producer: '902.0.39.2_0' Reader: '900.0.37_0')'

查看:192
本文介绍了'无效的位码版本(生产者:'902.0.39.2_0'阅读器:'900.0.37_0')'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Xcode 9.0

我的Pod文件

pod 'Alamofire', '~> 4.3'
pod 'SwiftyJSON'
pod 'AlamofireSwiftyJSON'
pod 'KSToastView', '0.5.7'
pod 'SDWebImage', '~> 4.0'
pod 'NVActivityIndicatorView'   
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'CarbonKit'
pod 'SBPickerSelector'
pod 'SwiftyStoreKit'    
pod 'Fabric'
pod 'Crashlytics'
pod 'SAMKeychain', '1.5.2'

我的错误日志:


ld:无法使用libLTO
版本'LLVM版本9.0.0,'重新解析位码束中的目标文件:'无效位码
版本(生产者:'902.0.39.2_0'阅读器:'900.0.37_0')' -900.0.37)'(针对体系结构arm64
clang:错误:链接器命令失败,退出代码为1(使用-v查看
的调用)

ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '902.0.39.2_0' Reader: '900.0.37_0')', using libLTO version 'LLVM version 9.0.0, (clang-900.0.37)' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

我读了许多有关此问题的文章,但无法解决。我提到了这个,是的,这需要注意,我要使用

I read many articles for this issue but I'm not able to solve it. I referred to this, and yes, this takes note that I want to build archive my project with

configuration = Debug
ENABLE_BITCODE = YES
configuration = Release
ENABLE_BITCODE = YES
completeSettings = some
ENABLE_BITCODE = YES

有什么建议吗?

推荐答案

解决此问题的步骤:


  • 构建设置

  • 在构建选项类别中搜索启用位码选项。

  • 选择编号。

这篇关于'无效的位码版本(生产者:'902.0.39.2_0'阅读器:'900.0.37_0')'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆