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

And*_*rew 5 xcode ios jenkins sonarqube jenkins-pipeline

[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 **
Run Code Online (Sandbox Code Playgroud)

I'm getting the above error message when I upgraded my MAC Mini (Catalina) latest (16 GB RAM) and XCode to latest version. I'm working with Jenkins to run test cases for IOS and ones test cases are generated then it will get uploaded to Sonar Qube server.

Things Which I've tired.
Restarting MAC mini, Closed XCode, Checked XCode configuration like "Debug information format" set to Yes,"Debug information format" to "DWARF with dSYM file".

Earlier it was working fine after update it is not generating the build, Fastlane is not installed.

Thanks

小智 21

您的 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”)。

建造,获利。祝你好运!


Mil*_*lya 8

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

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

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

# Recommended: Add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'
Run Code Online (Sandbox Code Playgroud)

年长的:

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

pod 'Fabric', '~> 1.10.2'
pod 'Crashlytics', '~> 3.14.0'
Run Code Online (Sandbox Code Playgroud)

下一步:

  • 用这些豆荚更新你的豆荚文件
  • 然后运行 pod install

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