ios - '无效的位码版本(生产者: '902.0.39.2_0' Reader: '900.0.37_0' )'

标签 ios architecture swift4 xcode9 bitcode

我正在使用 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: 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)

我看了很多关于这个问题的文章,但我无法解决它。我提到了 this ,是的,这注意到我想用

构建我的项目存档
configuration = Debug
ENABLE_BITCODE = YES
configuration = Release
ENABLE_BITCODE = YES
completeSettings = some
ENABLE_BITCODE = YES

有什么建议吗?

最佳答案

解决这个问题的步骤:

  • build设置
  • 在构建选项类别中搜索启用位码选项。
  • 选择否。

关于ios - '无效的位码版本(生产者: '902.0.39.2_0' Reader: '900.0.37_0' )',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52232100/

相关文章:

caching - 存储另一个服务的数据是否违反微服务的单一职责原则

java - 非循环依赖原则 - 组件依赖循环如何成为 "morning-after syndrome"的原因?

ios - 使用 swift 4 进行 JSON 编码/解码

json - 如何以自定义方式对已经符合 Codable 的基础类型(例如 TimeInterval)进行编码?

ios - 使用 SDWebImage 在服务器上更改图像时如何更新缓存中的图像

ios - 如何仅针对 UITabbarController 禁用 UI 导航向上滑动手势?

c# - ASP.NET MVC 大型项目架构

xcode - 在另一个 View Controller 中引用的 Xib 标签

iOS 10 相机 View 显示 API_Cancel_Title 而不是取消

ios - 在 iOS 上通过 OpenCV Process Image 方法更改标签文本