Skip to content

Instantly share code, notes, and snippets.

@akramhussein
Created January 21, 2015 13:12
Show Gist options
  • Save akramhussein/c7fe6efa906fbb831935 to your computer and use it in GitHub Desktop.
Save akramhussein/c7fe6efa906fbb831935 to your computer and use it in GitHub Desktop.
Splunk Mint Express DSYM Upload Xcode Build Phase Run Script
# Zips DSYM for current build and uploads to Splunk Mint Express
DSYM="$BUILT_PRODUCTS_DIR/${PRODUCT_NAME}.app.dSYM"
zip -r "$DSYM.zip" $DSYM
curl -F file=@"$DSYM.zip" \
--header "X-Splunk-Mint-apikey: YOUR_APP_API_KEY" \
--header "X-Splunk-Mint-Auth-Token: YOUR_API_AUTH_TOKEN" \
https://symbolicator.splkmobile.com/upload/dsym -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment