iosuploadcrashlyticsgoogle-fabricdsym

dSYM not uploaded by CLI command


I'm trying to upload dSYM file of my app reading it from the .xcarchive bundle by the Fabric CLI command:

upload-symbols -p ios -gsp GoogleService-Info.plist <path to xcarchive/dSYMs>

But unfortunately I always get this error:

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.}

BitCode is not activated in my Build Settings

upload-symbols version is: 1.5.0 build 11.
MacBook Pro 2019 with macOS Mojave 10.14.6 - 32 GB.

Is anybody experiencing the same issue?


Solution

  • I've solved the issue using fastlane:

    zip -r dSYM.zip MyApp.xcarchive/dSYMs/
    
    fastlane run upload_symbols_to_crashlytics dsym_path:"dSYM.zip" gsp_path:"<path_to_GoogleService-info.plist>" binary_path:"Pods/Fabric"