Created
June 2, 2025 11:57
-
-
Save KevinBlock-GC/7fe28a62010aa980575653bff5e266ab to your computer and use it in GitHub Desktop.
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
echo "Copying GoogleService located at ${GOOGLE_SERVICE}" | |
if [ -z "${GOOGLE_SERVICE}" ]; then | |
echo "GOOGLE_SERVICE is unset or set to the empty string" | |
exit 1 | |
fi | |
if [ ! -f "${GOOGLE_SERVICE}" ]; then | |
echo "GOOGLE_SERVICE does not exist" | |
exit 1 | |
fi | |
PLIST_DESTINATION=${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist | |
cp "${GOOGLE_SERVICE}" "${PLIST_DESTINATION}" | |
echo "Copied ${GOOGLE_SERVICE} to ${PLIST_DESTINATION}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment