Skip to content

Instantly share code, notes, and snippets.

@nuthatch
Created February 18, 2011 04:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nuthatch/833259 to your computer and use it in GitHub Desktop.
Save nuthatch/833259 to your computer and use it in GitHub Desktop.
For whatever reason, Xcode refuses to symbolicate my crashes in the Organizer. So I wrote this script to run symbolicatecrash over tester crash reports. It's quick and very dirty.
#!/bin/bash
# run this in ~/Library/Logs/CrashReporter/MobileDevice
pth=${0%*/*}
cd "$pth"
#echo "$@"
if [ -z "$1" ]; then
find . -name "*.crash" | while read file;
do
echo "converting $file"
symbolicatecrash "$file" 2>/dev/null 1>"$file".txt
done
exit
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment