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

查看:23
本文介绍了'无效的位码版本(生产者:'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: 无法重新解析 bitcode 包中的目标文件:'无效的 bitcode版本(生产者:'902.0.39.2_0' 读者:'900.0.37_0')',使用 libLTO架构 arm64 的版本LLVM 版本 9.0.0,(clang-900.0.37)"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天全站免登陆