开发者

How to read iOS 4 crash logs?

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.xco开发者_如何学Cdeplugin/Contents/Resources/symbolicatecrash

This tool doesn't exist in the specified directory. Have things changed since iOS 3?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜