Xcode error in Upload symbol files file
Here is the another way to fix this issue.
Run the command in terminal
rm $HOME/Library/Preferences/com.google.SymbolUpload*
https://firebase.google.com/docs/crash/ios#set_up_crash_reporting
Happy to help :)
Solved in Xcode 8.3.1 with replacing upload-sym with upload-sym-util.bash in script
new script
# Replace this with the GOOGLE_APP_ID from your GoogleService-Info.plist file
GOOGLE_APP_ID=xxxxxxxxxx
"${PODS_ROOT}"/FirebaseCrash/upload-sym-util.bash "${PROJECT_DIR}/medinfo-a7f29-firebase-crashreporting-jv418-3f88c3fc5a.json"
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