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

↘锁芯ラ 提交于 2020-07-06 07:48:28

问题


[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 **

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


回答1:


Your version of the Fabric pod is not able to handle symbols from the latest version of MacOS. You'll want to update to the latest pod version (1.10.2 as of 10/21/2019). You may need to sudo gem install cocoapods, pod repo update, pod cache clean, target the newer versions in your Podfile (see next paragraph), and pod update.

I had v1.9.0 of the pod and was getting the same error. I had to target '~> 1.10' specifically or it wouldn't update. Since my project also includes the Crashlytics pod, I had to update that one as well ('~> 3.14', specifically).

Build, profit. Best of luck!




回答2:


Please check whether you are using latest Crashlytics & Fabric library.

pod 'Fabric', '~> 1.10.2'
pod 'Crashlytics', '~> 3.14.0'
  • update your podfile with these pods
  • Then run pod install

Now, build the project, it should work.




回答3:


Here is what I did to make the upload-symbols tool work:

In my Podfile, removed the version limit for Fabric and Crashlytics.

Mine was as follows:

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

And I changed it to:

  pod 'Fabric'
  pod 'Crashlytics'

I then executed pod install and then the script was able to function.



来源:https://stackoverflow.com/questions/58408244/this-version-of-osx-is-not-able-to-perform-the-necessary-dsym-transformations

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!