Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read iOS 4 crash logs?

Tags:

ios

iphone

ios4

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?

like image 300
Taranfx Avatar asked Jan 18 '11 10:01

Taranfx


People also ask

How do I read an Apple crash report?

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/.

How do I view iOS device 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.

Where are the crash logs on iOS?

Open Settings. app.Tap Privacy, then scroll down and tap Analytics. Tap Analytics Data. Tap the crash log to open it.


2 Answers

Dragging the crash report to the Xcode Organizer (Cmd-Shift-2) should do.

(Xcode 3 keyboard shortcut was Ctrl-Cmd-O.)

like image 168
zoul Avatar answered Oct 03 '22 16:10

zoul


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

like image 37
Aditya Avatar answered Oct 03 '22 15:10

Aditya