此版本的 OSX 无法执行必要的 dSYM 转换

This version of OSX is not able to perform the necessary dSYM transformations

[31merror: could not complete submission of dSYM at /Users/XXUSERXX/Library/Developer/Xcode/DerivedData/ProjectName-flcoueeibbfifebpxptgzctdsqel/Build/Intermediates.noindex/ArchiveIntermediates/ProjectNameAlpha/BuildProductsPath/ProjectNameAlpha-iphoneos/ProjectName.app.dSYM: 

Error Domain=com.crashlytics.mac.error-domain.process-dsym Code=4 "This version of OSX is not able to perform the necessary dSYM transformations." 
UserInfo={NSLocalizedFailureReason=This version of OSX is not able to perform the necessary dSYM transformations.}
[0m Command PhaseScriptExecution failed with a nonzero exit code

    ** ARCHIVE FAILED **

我将 MAC Mini (Catalina) 最新版(16 GB RAM)和 XCode 升级到最新版本时收到上述错误消息。 我正在与 Jenkins 一起为 IOS 进行 运行 测试用例,并且生成了一些测试用例,然后将其上传到 Sonar Qube 服务器。

我已经厌倦的事情。
重新启动 MAC mini,关闭 XCode,检查 XCode 配置,例如 "Debug information format" 设置为 Yes,"Debug information format" 为 "DWARF with dSYM file"。

早些时候它在更新后工作正常,它没有生成构建,没有安装 Fastlane。

谢谢

您的 Fabric pod 版本无法处理来自最新版本 MacOS 的符号。您需要更新到最新的 pod 版本(截至 2019 年 10 月 21 日为 1.10.2)。您可能需要 sudo gem install cocoapodspod repo updatepod cache clean,将 Podfile 中的更新版本作为目标(请参阅下一段),以及 pod update.

我有 v1.9.0 的 pod,但遇到了同样的错误。我必须专门针对“~> 1.10”,否则它不会更新。由于我的项目还包括 Crashlytics pod,因此我也必须更新它(特别是“~> 3.14”)。

建设,盈利。祝你好运!

以下是我为 upload-symbols 工具所做的工作:

在我的 Podfile 中,删除了 Fabric 和 Crashlytics 的版本限制。

我的情况如下:

  pod 'Fabric', '~> 1.7.13'
  pod 'Crashlytics', '~> 3.10.7'

我把它改成:

  pod 'Fabric'
  pod 'Crashlytics'

然后我执行了 pod install 然后脚本就可以运行了。

更新:(2020 年 11 月 16 日起)

从 Podfile 中删除旧的 pod 'Fabric' & pod 'Crashlytics'。添加以下依赖项。

# Add the pod for Firebase Crashlytics
pod 'Firebase/Crashlytics'

# Recommended: Add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'

年长者:

请检查您是否使用最新的 Crashlytics & Fabric 库。

pod 'Fabric', '~> 1.10.2'
pod 'Crashlytics', '~> 3.14.0'

下一步:

  • 使用这些 pods
  • 更新您的播客文件
  • 然后运行pod install

现在,构建项目,它应该可以工作。