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

前端 未结 18 2189
名媛妹妹
名媛妹妹 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:37

    After updating Fabric Crashlytics to Firebase Crashlytics SDK. I was also getting same issue(Upload 1 missing dSYM required to process 5 crashes). I solved with the help of following steps-:

    Step 1-: Open Target-> Build Settings -> Search for "debug information format". Set Debug Information Format to DWARF with dSYM File for all your build types.

    Step 2-: Open Run Script section and input the script

    "${PODS_ROOT}/FirebaseCrashlytics/run"

    and then add input files-

    ${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}
    $(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)
    

    Step 3-: Add one more script to upload dSYM file

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

    0 讨论(0)
  • 2020-12-12 18:37
    1. Go to developer.apple.com > Activity > iOS Build > Select Version > Download dSYM

    2. Change your-project-path and your-username

    3. Run this code on Terminal

      /Users/your-project-path/ios/Pods/FirebaseCrashlytics/upload-symbols -gsp /Users/your-project-path/ios/GoogleService-Info.plist -p ios /Users/your-username/Downloads/appDsyms.zip

    4. You'll see success message on the Terminal.

    5. Check the crash logs on Firebase Console after 15-30 minutes.

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

    Simple Steps Follow 1 Go to archive and right click on the latest version in which you want to get crash report on firebase 2 see the dsyms folder 3 create the Zip file of dsyms folder 4 finally upload that zip file into the firebase console

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

    I have been having this same issue for a while and I was finally able to resolve it, thought I would share what worked for me:

    For context, I am working on a larger app which uses several Cocoapods.

    I found that same red banner on my Firebase Crashlytics page and after following all of their instructions I was still seeing it.

    I tried the "archive/find .dSYMs/upload manually via terminal" solution several times to no avail.

    Finally, I decided to download the .dSYMs from iTunesConnect.
    [Your App] > Activity > [Desired Build Number] > Download dSYM

    I then uploaded those .dSYMs manually and within minutes Firebase Crashlytics was happy and showing the crash reports.

    UPDATE
    Google has added a swanky .dSYM upload feature on the Firebase Crashlytics dashboard, no more uploading from the terminal.

    Edit on March 16, 2020.

    Google is soon removing the upload feature on the Firebase Dashboard. An uploader script should be used from the terminal to upload dSYMs to Firebase. See Google's instructions here.

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

    Find and upload debug symbols for Crashlytics

    • Copy the UUID of your missing dSYM and run mdfind "com_apple_xcode_dsym_uuids == <UUID>" on a terminal window.
    • The above command will return something like .../build/ios/Release-Staging-iphoneos/your.app.dSYM
    • Zip up the package and upload to Crashlytics using Firebase dashboard

    Wait for 10-15 minutes before the crashes start to appear on the console.

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

    Question is answered well already if you still want a ready-made script that you can copy and paste. Here you go.

        find
    
    $HOME/Library/Developer/Xcode
    /DerivedData/<target-name>-*/Build/Products/Develop-iphoneos
    
    -name "*.dSYM" | xargs -I \{\}
    
    $PODS_ROOT/FirebaseCrashlytics/upload-symbols
    
    -gsp ${PROJECT_DIR}/<target-name>/GoogleService-Info.plist
    
    -p ios \{\}
    
    0 讨论(0)
提交回复
热议问题