Last crash crash firebase-sym script can find the json service account without specifying any path, just put it in the same folder next to your xcproject Xcode file.
If you use CocoaPods, then something like this simple script works:
GOOGLE_APP_ID=1:1234567890:ios:ab123cd456ef789 "${PODS_ROOT}"/FirebaseCrash/upload-sym crash-service-account.json
If you don't want to load characters every time you start, use a script instead to reduce compilation time:
if ["${CONFIGURATION}" != "Debug" ]; then GOOGLE_APP_ID=1:1234567890:ios:ab123cd456ef789 "${PODS_ROOT}"/FirebaseCrash/upload-sym crash-service-account.json fi
Dhiraj gupta
source share