Reputation: 1168
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?
Upvotes: 7
Views: 1733
Reputation: 190
.xccrashpoint
file in Finder and select "Show Package Contents"DistributionInfos/all/Logs/<date-and-uuid>.crash
subfolder within the .xccrashpoint
file.crash
file in Console.appUpvotes: 9
Reputation: 1028
On OSX developers can provide an annotation before an app (possibly) crashes using the global __crashreporter_info__
declared like this to be accessible.
const char *__crashreporter_info__ = NULL;
asm(".desc ___crashreporter_info__, 0x10");
Unfortunately this seems not to be supported on iOS. @bbum: Is there any way on iOS to annotate crash reports?
Upvotes: 0