Firebase Crashlytics: Upload missing dSYMs to see crashes from 1 versions.(iOS)

前端 未结 18 2188
名媛妹妹
名媛妹妹 2020-12-12 17:53

Error Message: Upload missing dSYMs to see crashes from 1 versions. Versions affected: 1.0 (1)

I am trying to implement Firebase Crashlytic

相关标签:
18条回答
  • 2020-12-12 18:32

    After download dsym .zip file. You should run code below in Terminal.

    /ProjectPath/Pods/Crashlytics/Crashlytics.framework/upload-symbols -gsp /ProjectPathForGoogleServiceFile/GoogleService-Info.plist -p ios /dSYMFilePath/dSYMs.zip
    
    

    If upload-symbols command not found, you should update pods for Firebase.

    0 讨论(0)
  • 2020-12-12 18:32

    (October 21 - 2020)

    I was having a lot of trouble uploading my dsyms to firebase, this happend to me after i updated to FirebaseCrashlytics and removed my fabric SDK, before that i had no issues. I tried all solutions with no luck but finally figured out my problem after making a few changes in my code. It seems i had some conflicting values in my info.plist file and were not lining up with what was in my GoogleService-Info.plist file. The bundle ID in the GoogleService-Info.plist should be the same used as the url schemes within info.plist. After i made these changes i uploaded the DSYMs manually.

    This is an example of how my bundle ids look in my project after updating:

    GoogleService-Info.plist

    info.plist

    I then wanted this automated. I added the following script to the Build Phases > Run Script and i now have this automated as it was before when i was using the Fabric sdk. Just copy this code into run script, it should require no changes.

    "${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" -gsp "${PROJECT_DIR}/GoogleService-Info.plist" -p ios "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
    

    PS: Make sure you follow the other posts making sure you have "DWARF with dYSM file" set in build options as well.

    0 讨论(0)
  • 2020-12-12 18:33

    If everything is fine you setup all without missing any step and then also you see Upload missing dSYMs to see crashes error in firebase.

    (June 1 - 2020)

    Download the .dSYMs from iTunesConnect only no anywhere else and upload those to the Firebase.

    Google is soon removing the upload feature on the Firebase Dashboard

    Run the script directly from your terminal to upload dSYMs :

    /path/to/pods/directory/FirebaseCrashlytics/upload-symbols -gsp /path/to/GoogleService-Info.plist -p ios /path/to/dSYMs
    

    After two days of long research and try lots of solutions but no anyone works for me :(

    But by this solution Firebase Crashlytics was happy and showing the crash reports within a few minutes.

    0 讨论(0)
  • 2020-12-12 18:34

    I hope you have a resolved it till now. But for other who are using Firebase/Crashlytics. I uploaded the build and got crash but it was not showing in the console due to missing dsyms.

    I logged into the itunes and goto the activity section. Then download the dsyms.

    After that I uploaded the dsyms to firebase console using below command:

    /Users/ankitjaiswal/Code/oliobox-ios/Pods/FirebaseCrashlytics/upload-symbols
    -gsp /Users/ankitjaiswal/Code/oliobox-ios/JacksonArtGallery/GoogleService-Info.plist
    -p ios /Users/ankitjaiswal/Downloads/appDsyms.zip
    

    But in this way you always manually need to download and upload it. This is not recommended instead you can follow this link: https://firebase.google.com/docs/crashlytics/get-deobfuscated-reports-new-sdk

    0 讨论(0)
  • 2020-12-12 18:34

    The accepted answer is perfect and what I also followed. I would just like to add another way to download these dSyms.

    Open Organizer from Xcode menu > Window > Organizer

    Select the Application from left panel and select Archives tab.

    Select the archive for the app release you want to download dSyms of. (If you have deleted archives, then you better follow the accepted answer)

    On the right panel, click Download Debug Symbols. Now this will download those symbols into the archive itself. Simply right click the archive version > Show in Finder.

    Here in finder, right-click archive > Show package contents.

    This will open the contents to reveal the dSyms.

    Now you don't need all of them, some of them will be your added frameworks/libs from pods and other imports.

    Select only the ones with alphanumeric labels.

    You can zip these and upload to Firebase.

    0 讨论(0)
  • 2020-12-12 18:36

    I also faced the same issue. Basically I was missing a simple step that is why Firebase script could not upload dSYM file.

    Step followed to solve it.

    • Click on project file
    • Select target
    • Go to build settings
    • Search "debug information format"
    • For all scheme change the settings to "DWARF with dYSM file"

    • Now run the project again
    • dYSM error of firebase dashboard should go...
    0 讨论(0)
提交回复
热议问题