Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xCode - Exception reason of crash report from Apples Crash Report Service

I tried to fix some bugs of my already distributed App, which I noticed through Apples crash report service, using the xCode Organizer (xCode -> Organizer -> Crashes). It's working fine and I'm able to open the crash report in my project, so xCode is showing me every detail of the crash like the line in my code, where the exception occurs, call stack, etc.

My problem is, that I can't find the exception reason like for example:

-[__NSArray0 addObject:]: unrecognized selector sent to instance 0x7fa99b801c40

which I need, to 100% identify the reason, why my App crashed on some devices at this line. I already studied Apple's article about Analyzing Crash Reports but without success.

Does anybody know, where I can see the reason of a crash in a crash report provided by Apple's Crash Report Service?

like image 798
user3191334 Avatar asked Apr 24 '16 18:04

user3191334


1 Answers

  1. Right click on the crash report entry in Xcode's Organizer window and select "Show in Finder"
  2. Right click on the revealed .xccrashpoint file in Finder and select "Show Package Contents"
  3. Navigate to the DistributionInfos/all/Logs/<date-and-uuid>.crash subfolder within the .xccrashpoint file
  4. Open the .crash file in Console.app
  5. This will have the exception type and reason printed alongside the symbolicated stack trace
like image 154
Eric Horacek Avatar answered Oct 14 '22 09:10

Eric Horacek