Xcode 4.2 模拟器崩溃日志
是否有在模拟器上崩溃的应用程序生成的崩溃日志。我想要一个在调试器中看到的基于文本的版本,相当于设备上崩溃的应用程序生成的崩溃报告(并可通过 Organizer 访问)。
Is there a crash log generated by apps that crash on the simulator. I want a text-based version of what I see in the debugger equivalent to crash reports generated by applications crashing on a device (and accessible through Organiser).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不太实际,但我在
~/Library/Logs/DiagnosticReports
中找到了它们
此外,还可以通过
用户诊断报告
选项卡中的Console
实用程序查看它们。Not quite actual, but I found them in
~/Library/Logs/DiagnosticReports
Also, they can be viewed through
Console
utility inUser Diagnostic Reports
tab.查看
~/Library/Application Support/iPhone Simulator/5.0/Library/Logs/CrashReporter/DiagnosticLogs/
。编辑 请注意,这个问题是专门针对 Xcode 4.2 提出的,其中包含 iOS 5.0 SDK。这不再是最新的 Xcode/iOS SDK,因此您必须调整答案以适应您已安装的 SDK 版本(即将“5.0”更改为任何内容)。
Look in
~/Library/Application Support/iPhone Simulator/5.0/Library/Logs/CrashReporter/DiagnosticLogs/
.EDIT Please note that this question was specifically asked for Xcode 4.2, which contained the iOS 5.0 SDK. This is no longer the latest Xcode/iOS SDK, so you'll have to adjust the answer to suite the SDK version you have installed (i.e. change "5.0" to whatever it is).