I am trying to implement crash reporting with firebase. I followed the documentation here. And renamed the downloaded son file to ServiceAccount.json
. Then copied it to project directory. Also changed the script. Now my build phase run script looks like
# Replace this with the GOOGLE_APP_ID from your GoogleService-Info.plist file
GOOGLE_APP_ID=1:.....#my app id
# Replace the /Path/To/ServiceAccount.json with the path to the key you just downloaded
"${PODS_ROOT}"/FirebaseCrash/upload-sym "ServiceAccount.json"
But when I try to build the project its giving build error
Unexpected argument 'ServiceAccount.json'
usage: /Users/<full path>/Pods/FirebaseCrash/upload-sym [-h] [-v] [-w|-e]
Command /bin/sh failed with exit code 2
Whats wrong with my steps?