Why Crashlytics is asking for missing DSYM file every time?

后端 未结 7 2113
日久生厌
日久生厌 2021-02-07 05:04

I am using Crashlytics in my app everything working fine. even Crashlytics is also working good.

But the problem is that whenever I am creating a

7条回答
  •  天涯浪人
    2021-02-07 05:28

    This error means that some dSYM files are missing. The recommended approach is to constantly upload dSYM files to Crashlytics.

    Now that Crashlytics is integrated in Firebase, the documentation has slightly changed: https://firebase.google.com/docs/crashlytics/get-deobfuscated-reports-new-sdk

    1. Integrate Crashlytics : pod 'Firebase/Crashlytics'
    2. Add a Run Script Phase : find "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}" -name "*.dSYM" | xargs -I \{\} $PODS_ROOT/FirebaseCrashlytics/upload-symbols -gsp ${SRCROOT}/GoogleService-Info.plist -p ios \{\}

    In case you don't want to upload dSYM files each time you debug build your app : https://support.crashlytics.com/knowledgebase/articles/118559-can-i-make-the-dsym-uploading-only-on-release-buil

提交回复
热议问题