Why Crashlytics is asking for missing DSYM file every time?

后端 未结 7 2103
日久生厌
日久生厌 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:35

    We've recently encountered the same issue. Ended up with a bit customized version of an uploading script.

    if [[ "${CONFIGURATION}" = "Release" ]] || [[ "${CONFIGURATION}" = "Adhoc" ]]; then
      echo "Uploading dSYMs.."
      find "${DWARF_DSYM_FOLDER_PATH}" -name "*.dSYM" | xargs -I \{\} "${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" -gsp "${SRCROOT}/GoogleService-Info.plist" -p ios \{\}
    else
      echo "Skip dSYMs upload"
    fi
    
    

    Note quoted paths and skipped dSYM uploads in a Debug configuration. Though it probably won't matter most of the time, as dSYMS are switched off in the Debug configuration anyway.

    Also the purpose of find here is to help upload dynamic frameworks' dSYM files. E.g. OS third-party libraries, project frameworks, etc. Otherwise, they won't be symbolicated. Though still presented in stack traces.

提交回复
热议问题