This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |