Xcode 6 - iPhone 崩溃日志文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26006719/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode 6 - iPhone crash log file
提问by John
In previous versions of Xcode, I could import a .crash crash log file that was obtained by copying the crash report from the Diagnostics and Usage section on the iPhone.
在以前版本的 Xcode 中,我可以导入一个 .crash 崩溃日志文件,该文件是通过从 iPhone 上的“诊断和使用”部分复制崩溃报告获得的。
In Xcode 6, I can't seem to find a way to do it in the Organizer. I have the .crash file, but can't find anywhere to import it to symbolicate it.
在 Xcode 6 中,我似乎找不到在 Organizer 中执行此操作的方法。我有 .crash 文件,但找不到任何地方可以导入它来表示它。
Is it possible to do it without having the physical device connected in Xcode 6?
是否可以在 Xcode 6 中没有连接物理设备的情况下执行此操作?
回答by Pavel Dev
- Open in Xcode - Window -> Devices.
- Attach device if you don't have any attached - !important!
- Click "View device logs" for your attached device.
- Drag&Drop crash logs into device (or you can select All Logs and drop crash logs there).
- 在 Xcode 中打开 - 窗口 -> 设备。
- 如果您没有连接任何设备,请连接设备 - !重要!
- 单击您连接的设备的“查看设备日志”。
- 将崩溃日志拖放到设备中(或者您可以选择所有日志并将崩溃日志放在那里)。
You can see additional actions in context menu for each crash log like Re-symbolicate, Delete etc
您可以在上下文菜单中看到每个崩溃日志的附加操作,例如重新符号化、删除等