Search code examples
iosxcodejenkinssonarqubejenkins-pipeline

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

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


Solution

  • Updated: (16th Nov 2020 onwards)

    Remove older pod 'Fabric' & pod 'Crashlytics' from Podfile. Add following dependencies.

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

    Older :

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

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

    Next Step:

    • update your podfile with these pods
    • Then run pod install

    Now, build the project, it should work.