ios 如何在 iPhone 和 iPad 中找到应用程序崩溃日志?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24400414/
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
How to locate app crash logs in iPhone & iPad?
提问by user249605
If any iOS app crashes some crash logs are generated on behalf of that app. How to find the location of such crash logs. Please help.
如果任何 iOS 应用程序崩溃,则会代表该应用程序生成一些崩溃日志。如何找到此类崩溃日志的位置。请帮忙。
I want crash logs inside the iPhone/iPad, not really using XCode to see the crash logs.
我想要 iPhone/iPad 中的崩溃日志,而不是真正使用 XCode 来查看崩溃日志。
采纳答案by Ricky
I think he/she asked about crash logs inside the iPhone/iPad, not really using XCode to see the crash logs.
我认为他/她询问了 iPhone/iPad 内的崩溃日志,而不是真正使用 XCode 来查看崩溃日志。
To check the crash logs inside iPhone/iPad, you have to go to
要检查 iPhone/iPad 内的崩溃日志,您必须转到
Settings -> General -> About -> Diagnostics & Usage -> Diagnostic & Usage Data
设置 -> 常规 -> 关于 -> 诊断和使用 -> 诊断和使用数据
You will see the crash log with the Title APPName_Date....
您将看到标题为APPName_Date...的崩溃日志。
Attached the screen shot of one of the crash logs below:-
附上以下崩溃日志之一的屏幕截图:-
回答by Jashu
you can find crash report on iPad/iphone below location for iOS:
您可以在 iOS 的以下位置找到 iPad/iphone 上的崩溃报告:
IOS7 & Below = Settings --> General --> About --> Diagnostics & Usage --> Diagnotstic & Usage Data
IOS7 及以下 =设置 --> 常规 --> 关于 --> 诊断和使用 --> 诊断和使用数据
IOS8 & IOS9 = Settings --> Privacy --> Diagnostics & Usage --> Diagnotstic & Usage Data
IOS8 和 IOS9 =设置 --> 隐私 --> 诊断和使用 --> 诊断和使用数据
IOS10 & Above = Settings --> Privacy --> Analytics --> Analytics Data
IOS10 及以上 =设置 --> 隐私 --> 分析 --> 分析数据
回答by MAhipal Singh
https://support.apple.com/en-in/HT202100
https://support.apple.com/en-in/HT202100
IOS 7 & Below= Settings --> General --> About --> Diagnostics & Usage --> Diagnotstic & Usage Data
IOS 7 及以下= 设置 --> 常规 --> 关于 --> 诊断和使用 --> 诊断和使用数据
IOS 8 & Above= Settings --> Privacy --> Diagnostics & Usage --> Diagnotstic & Usage Data
IOS 8 及更高版本 = 设置 --> 隐私 --> 诊断和使用 --> 诊断和使用数据
IOS 10.2= Settings --> Privacy -->Analytics --> Diagnotstic & Usage Data
IOS 10.2= 设置 --> 隐私 --> 分析 --> 诊断和使用数据
IOS 10.3.2 and Above= Settings --> Privacy --> Analytics --> Analytics Data
IOS 10.3.2 及更高版本= 设置 --> 隐私 --> 分析 --> 分析数据
回答by Himanshu A Jadav
From Apple Docs:
来自苹果文档:
Even though you won't be able to run the app in Xcode's debugger, Xcode can still give you all the information you need to debug the problem.
即使您无法在 Xcode 的调试器中运行该应用程序,Xcode 仍然可以为您提供调试问题所需的所有信息。
1) Plug in the device and open Xcode
1)插入设备并打开Xcode
2) Open the Organizer window and select the Devices tab
2) 打开管理器窗口并选择设备选项卡
3) Under the DEVICES section in the left column, expand the listing for the device
3) 在左列的设备部分下,展开设备列表
4) Select Device Logs to see crash logs or select Console to see Console output
4) 选择设备日志查看崩溃日志或选择控制台查看控制台输出
OR
或者