Can I make the dSYM uploading only on release builds, instead of every build?

This page is now deprecated. For the latest version, please click here.

The default set up process ensures that we get your app's dSYMs on every build (assuming a code change). 

This is the preferred configuration, so that if a crash comes while you develop and do internal testing, we can show you the exact line of code that caused the crash. 

However, if you would like to run Crashlytics only on certain builds, you can add logic to the run script build phase to only run when desired. Try something similar to:

releaseConfig="Release"

if [ "$releaseConfig" = "${CONFIGURATION}" ]; then
echo "Running Crashlytics"
./Crashlytics.framework/run {your_api_key_here}
fi

Contact Support if you run into any issues here.  Happy coding!

Feedback and Knowledge Base