I should have the symbolicate from my device. I followed the instruction from http://jmillerdev.net/symbolicating-ios-crash-files-xamarin-ios.
I created the alias
for Xcode 8
alias symbolicate="/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash -v"
I updated the developer directory
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
and then the symbolicate
symbolicate -o "symbolicatedCrash.txt" "MyAppName 2-12-14, 9-44 PM.crash" "MyAppName.app"
but I have an error
Symbolicating myInventories170313.crash ... while reading myInventories170313.crash, No such file or directory : at /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash line 899.
You can also see the crash log on an iPhone/iPad by going to Settings -> Privacy -> Analytics -> Analytics Data. You can also see the crash log on a simulator if the app crashes during building through a simulator.
You can access the crash log in macOS in two ways: Launch Finder, press Command + Shift + G, and type ~/Library/Logs/DiagnosticReports/ in the Go to Folder dialog box. Launch Console, and look for Diagnostic Reports located under ~/Library/Logs/.
Symbolication is the process of transforming active memory address into a human readable format like method or function names.
Try using these steps:
1) create a new folder ,lets say "Universe" , to hold the stuff.
2) use the Go to Folder utility from Finder . Use the path /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/
Find "symbolicatecrash" file and you can manually copy and paste this file to your Universe folder
3) Place your crash and Archive of your app in your folder ( Archive will hold all the dysm files. Alternatively you can place all your dYsm files )
4) CD to your "Universe" folder directory . Now run this command
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
5)run the symbolicate command on your crash
./symbolicatecrash myCrash.crash > SymbolicatedM.crash
Voila!! you have your symbolicated crash log.
PS : The added advantage of this is that the above setup is a one time setup and is reusable .All that is required is just replace your crash file and dysm file , then just repeat step 5 each time you want a new crash symbolicated. Bye bye complicated commands!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With