Skip to content

Instantly share code, notes, and snippets.

@vinhnx
Forked from saiday/script.bash
Created April 20, 2018 07:37
Show Gist options
  • Save vinhnx/0e07e307f8ec30e21c862dea420bbbca to your computer and use it in GitHub Desktop.
Save vinhnx/0e07e307f8ec30e21c862dea420bbbca to your computer and use it in GitHub Desktop.
Add specific GoogleService-Info.plist
if [ "${CONFIGURATION}" == "Release" ]; then
cp -r "${PROJECT_DIR}/{PATH}/GoogleService-Info-release.plist" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist"
echo "Production plist copied"
elif [ "${CONFIGURATION}" == "Debug" ]; then
cp -r "${PROJECT_DIR}/{PATH}/GoogleService-Info-debug.plist" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist"
echo "Development plist copied"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment