Xcode error in Upload symbol files file

后端 未结 3 544
野的像风
野的像风 2021-02-05 09:22

I have followed proper steps for firebase crash reporting integration but I still have errors like this,

/Users/satish/Desktop/firebase_crash/Pods/Firebas

3条回答
  •  野的像风
    2021-02-05 10:05

    In Xcode 12:

    As Google change Fabric to FirebaseCrashlytics this script doesn't work anymore:

    "${PODS_ROOT}"/FirebaseCrash/upload-sym-util.bash
    

    Instead, we should use this one:

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

    be aware of the location for file: GoogleService-Info.plist

    if it is inside a folder you should specify it:

    "${PROJECT_DIR}/{Folder Name}/GoogleService-Info.plist"
    

    flags:

    • -gsp => google service path
    • -p => platform

提交回复
热议问题