How do I read an Xcode crash report? How do I read an Xcode crash report? xcode xcode

How do I read an Xcode crash report?


This kind of question have been asked many more times. Look at the below question.

understanding crash report

in the console report you have

Exception Type:  EXC_CRASH (SIGABRT)

This means you are using some thing which is deallocated.

Here are some tutorials how to debug the code when any crash occur, by raywenderlich.

My App Crashed – Now What? 1/2

My App Crashed – Now What? 2/2


You say you symbolicated it in Xcode, but I see unresolved addresses in frames 1, 2, 15, and 16 of the stack trace, in code loaded from something called “Chapter3 Framework”, which must be part of your app since it's not an Apple framework. You need to get the .dSYM file for the version of “Chapter3 Framework” in your app.

Frame 3 of the stack trace is in -[UIApplication _handleApplicationSuspend:eventInfo:] and frame 2 is in some function in “Chapter3 Framework”. The tester at Apple probably switched away from your app, which puts it in the background. When an app enters the background, it sends the message applicationDidEnterBackground: to the app delegate. So I guess frame 2 is in your app delegate's applicationDidEnterBackground: method. Did you test switching away from your app? Did you test switching away from it lots of times, with your app in different states?

The crash report says it crashed on iOS 5.0.1. Did you test switching away from your app on iOS 5.0.1?

The crash report says it crashed on an “iPhone4,1”, which is an iPhone 4S. Did you test switching away from your app on an iPhone 4S?

Did you test switching away from your app on iOS 5.0.1 on an iPhone 4S?

Did you test switching away from your app on a clean install of your app on iOS 5.0.1 on an iPhone 4S?


15  Chapter3 Framework             0x000024d6 0x1000 + 533416  Chapter3 Framework             0x0000246c 0x1000 + 5228

You don't seem to have the symbols in a place where Xcode (Spotlight) can find it. You need the .app and .dsym files for the binary this crashlog is from.

Identifier:      Chapter3 FrameworkVersion:         ??? (???)

This looks like there's no version number available.