I'm new to iPhone, bear it with me.
My app crashes and creates a .crash file in DiagonosticReports but it hardly has any info. It doesn't tell me what is the last line of code that it executed. On digging I found this blog which talks about symbolification tool:
/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/Resources/symbolicatecrash
This tool doesn't exist in the specified directory. Have things changed since iOS 3?
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/.
Connect your iOS to your computer with a USB or Lightning cable. Go to Window > Devices and select your device from the list. Click the "up" triangle at the bottom left of the right hand panel. All logs from all apps on the device will be displayed here.
Open Settings. app.Tap Privacy, then scroll down and tap Analytics. Tap Analytics Data. Tap the crash log to open it.
Dragging the crash report to the Xcode Organizer (Cmd-Shift-2) should do.
(Xcode 3 keyboard shortcut was Ctrl-Cmd-O.)
Hi You can also view your crash report by selecting the Organizer option in the window tab of XCode.Select your device and navigate to the Device Logs tab.There you can find the crash reports of all the apps from the selected device.
Cheers
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