too*_*oom 8 crash-reports stack-trace plcrashreporter
我刚刚下载了编译并添加了PLCrashReporter到我的应用程序.我测试了它,它工作正常.项目文档中的示例代码工作正常.
现在,我想生成一个堆栈跟踪,以便我可以看到应用程序崩溃的确切位置.当你将iphone连接到xcode时,如果你查看iphone设备日志,你会得到的东西:

我需要做些什么来获得使用PLCrashReporter生成的这么好的堆栈跟踪?
aug*_*jas 16
该框架包括一个文本格式器PLCrashReportTextFormatter.h:
NSString *humanReadable = [PLCrashReportTextFormatter stringValueForCrashReport:report withTextFormat:PLCrashReportTextFormatiOS];
NSLog(@"Report: %@", humanReadable);
Run Code Online (Sandbox Code Playgroud)