I\'m looking to try and symbolicate my iPhone app\'s crash reports.
I retrieved the crash reports from iTunes Connect. I have the application binary that I submitted
I prefer a script that will symbolicate all my crash logs.
Create a folder and put there 4 things:
symbolicatecrash
perl script - there are many SO answers that tells it's location
The archive of the build that match the crashes (from Xcode Organizer. simple as Show in Finder
and copy) [I don't sure this is necessery]
All the xccrashpoint
packages - (from Xcode Organizer. Show in Finder
, you may copy all the packages in the directory, or the single xccrashpoint you would like to symbolicate)
Add that short script to the directory:
#!/bin/sh
echo "cleaning old crashes from directory"
rm -P *.crash
rm -P *.xccrashpoint
rm -r allCrashes
echo "removed!"
echo ""
echo "--- START ---"
echo ""
mkdir allCrashes
mkdir symboledCrashes
find `ls -d *.xccrashpoint` -name "*.crash" -print -exec cp {} allCrashes/ \;
cd allCrashes
for crash in *.crash; do
../symbolicatecrash $crash > ../symboledCrashes/V$crash
done
cd ..
echo ""
echo "--- DONE ---"
echo ""
When you run the script, you'll get 2 directories.
allCrashes
- all the crashes from all the xccrashpoint
will be there.
symboledCrashes
- the same crashes but now with all the symbols.
you DON'T need to clean the directory from old crashes before running the script. it will clean automatically. good luck!