如何表示用户通过电子邮件发送给我的Mac OS X应用程序的崩溃报告? [英] How do I symbolicate a crash report of a Mac OS X app that a user emailed to me?

查看:139
本文介绍了如何表示用户通过电子邮件发送给我的Mac OS X应用程序的崩溃报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程式,我已送给几个beta测试人员。在启动应用程序的短短几分钟内,用户遇到了崩溃。当窗口弹出说应用程序崩溃,他复制了所有的细节部分的文本,并通过电子邮件发送给我。我已经将文本保存到一个纯文本文件,并给它的.crash扩展,它导致它像控制台打开常规崩溃报告,所以我想我有扩展权(但可能不是)。
我发送的版本是由Xcode与存档选项建立的,所以Xcode知道应用程序和.dSYM的位置。
我知道,使用iPhone应用程序,你可以拖拽崩溃报告到组织者,Xcode会为你标志。我找不到任何地方,将采取Mac崩溃报告。
我看过 atos ,但它谈到内存位置,包括应用程序运行的位置,我没有看到报告中列出的信息。看看原始崩溃报告它看起来像一个视图控制器早发布,但我不能真正地告诉是否是原因或症状。
我真正的问题是;有没有办法让Xcode符号化报告或工具,我可以移交.dSYM文件,应用程序和报告,并得到一个象征性报告?
我查看了谷歌,但我发现的所有(除了前面提到的 atos 手册页)是关于象征iPhone报告,而不是Mac OS X的。

I am working on an app that I have sent to a few beta testers. Within just a few minutes of launching the app a user got a crash. When the window poped up saying the app had crashed he copied all of the text in the details section and emailed it to me. I have saved the text into a plain text file and given it the .crash extension which causes it to be opened by console like a regular crash report so I think I have the extension right (but maybe not). The version I sent out was built by Xcode with the Archive option so Xcode knows where the app and .dSYM are. I know that with iPhone apps you can drag a crash report to the organizer and Xcode will symbolicate it for you. I can not find anywhere that will take a Mac crash report. I have looked at atos but it talks about memory locations including the location the app was running at and I don't see that information listed in the report I have. Looking at the raw crash report it looks like a view controller was released early but I can't really tell if that was the cause or a symptom. My real question is; is there a way to have Xcode symbolicate the report or a tool that I can just hand over the .dSYM file, app, and report and get back a symbolicated report? I've looked all over Google but everything I find (other than the previously mentioned man pages for atos) is about symbolicating iPhone reports, not Mac OS X ones.

推荐答案

或如回答 http://stackoverflow.com/a/18354072/317461

将您的发行版本和.dSYM文件放在同一目录中,然后打开终端

Put your release build and your .dSYM file in the same directory and open terminal

$cd directory
$lldb MyApp.app
(lldb) image lookup -v --address 0x00085f3c

这篇关于如何表示用户通过电子邮件发送给我的Mac OS X应用程序的崩溃报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆