Skip to content

Instantly share code, notes, and snippets.

View Vibhashkumar2022's full-sized avatar

Vibhash Kumar Vibhashkumar2022

View GitHub Profile
# Type a script or drag a script file from your workspace to insert its path.
# Name of the resource
GOOGLESERVICE_INFO_PLIST=GoogleService-Info.plist
# Get references to dev and prod versions of the GoogleService-Info.plist
# CONFIGURATION = selected scheme Dev/QA/Staging/Prod
GOOGLESERVICE_INFO_PATH=${PROJECT_DIR}/${TARGET_NAME}/Firebase/${CONFIGURATION}/${GOOGLESERVICE_INFO_PLIST}
# Make sure the stg & prod version of GoogleService-Info.plist exists
echo "Looking for ${GOOGLESERVICE_INFO_PLIST} in ${GOOGLESERVICE_INFO_PATH}"
if [ ! -f $GOOGLESERVICE_INFO_PATH ]
then