如何在 xcode 4.2 上查看崩溃报告 [英] How to view crash report on xcode 4.2

查看:39
本文介绍了如何在 xcode 4.2 上查看崩溃报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我从 Xcode 4.01 升级到 Xcode 4.2 后,它不会在调试所有输出"窗口中生成任何崩溃报告.如何查看崩溃报告?

After I upgraded to Xcode 4.2 from Xcode 4.01, it does not generate any crash report in the debug "All Output" window. How can I see the crash report?

谢谢

推荐答案

要从设备获取崩溃日志,请执行以下操作:

to get crash logs from the device do this:

  1. 将您的 iPhone 与 iTunes 同步

  1. Sync your iPhone with iTunes

查看 ~/Library/Logs/CrashReporter/MobileDevice/

Look into ~/Library/Logs/CrashReporter/MobileDevice/

确保您可以看到隐藏文件,否则您将看不到库目录

make sure you can see hidden files otherwise you won't see the Library directory

只需将崩溃日志拖到您的管理器中即可对其进行符号化.

Just drag the crash logs into your organizer to symbolicate them.

然而,Xcode 4.2 有一个错误,导致它不能正确地表示崩溃日志.最好升级到 4.2.1 并按照给定的步骤操作.

However, Xcode 4.2 has a bug which causes it to not symbolicate the crash logs correctly. Better upgrade to 4.2.1 and follow the given steps.

这篇关于如何在 xcode 4.2 上查看崩溃报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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