Skip to content

Instantly share code, notes, and snippets.

@kaosdg
Created April 2, 2016 02:29
Show Gist options
  • Save kaosdg/c09ebd098bd50fa9bd7703fef8a76040 to your computer and use it in GitHub Desktop.
Save kaosdg/c09ebd098bd50fa9bd7703fef8a76040 to your computer and use it in GitHub Desktop.
Uploading dSYMS to Fabric / Crashlytics.
#!/bin/sh
KEYWORDS="error:"
if [ "${PLATFORM_NAME}" != "iphonesimulator" ]; then
echo "Uploading dSYMs..."
find "${DWARF_DSYM_FOLDER_PATH}" -name "*.dSYM" | xargs -I \{\} ${PODS_ROOT}/Fabric/upload-symbols -a 04afe0f7fa698adbba11ccd0886cb207021e332b -p ios \{\}
else
echo "Not uploading dSYMs for simulator builds"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment