Created
December 1, 2015 08:57
-
-
Save object2dot0/c8c11e2c28201165a596 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/sh | |
# Run_Crashlytics.sh | |
# iOSConsumerApp | |
# | |
# Created by Muhammad Tanveer on 9/17/15. | |
# Copyright (c) 2015 iCarAsia. All rights reserved. | |
# Import keys and secrets from a file | |
. ${PROJECT_DIR}/Crashlytics_build_phase_run_scripts/Crashlytics_keys.sh | |
if [ ${CONFIGURATION} = "AppStore" ]; then | |
echo "Running Crashlytics for this build" | |
echo "Will upload to production Organization" | |
"${PODS_ROOT}/Fabric/Fabric.framework/run" $the_crashlytics_production_api_key $the_crashlytics_production_build_secret | |
elif [ ${CONFIGURATION} = "Release" ]; then | |
echo "Running Crashlytics for this build" | |
echo "Will upload to development Organization" | |
"${PODS_ROOT}/Fabric/Fabric.framework/run" $the_crashlytics_development_api_key $the_crashlytics_development_build_secret | |
elif [ ${CONFIGURATION} = "Debug" ]; then | |
echo "Not Running Crashlytics for this build" | |
else | |
echo "Not Running Crashlytics for this build" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment