Skip to content

Instantly share code, notes, and snippets.

@kaosdg
kaosdg / uploaddsyms.sh
Created April 2, 2016 02:29
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"