Skip to content

Instantly share code, notes, and snippets.

@redent
Created June 28, 2017 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save redent/6f421e6c942392e83e5a1c767dff11b0 to your computer and use it in GitHub Desktop.
Save redent/6f421e6c942392e83e5a1c767dff11b0 to your computer and use it in GitHub Desktop.
This gist symbolicates all crashes in the current directory
#!/bin/bash
export set DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
for i in `find . -type f -name \*.crash`; do
/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash $i --verbose --output $i.sym
mv $i $i.bak
mv $i.sym $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment