简体   繁体   English

如何在iPhone和iPad中找到应用程序崩溃日志?

[英]How to locate app crash logs in iPhone & iPad?

If any iOS app crashes some crash logs are generated on behalf of that app. 如果任何iOS应用程序崩溃,则代表该应用程序生成一些崩溃日志。 How to find the location of such crash logs. 如何查找此类崩溃日志的位置。 Please help. 请帮忙。

I want crash logs inside the iPhone/iPad, not really using XCode to see the crash logs. 我想在iPhone / iPad内部使用崩溃日志,而不是真正使用XCode来查看崩溃日志。

you can find crash report on iPad/iphone below location for iOS: 你可以在iPad / iphone下面的iOS位置找到崩溃报告:

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及以上= 设置 - >隐私 - >分析 - >分析数据

👉 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及以上 =设置 - >隐私 - >分析 - >分析数据

在此输入图像描述

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:- 附上以下其中一个崩溃日志的屏幕截图: -

在此输入图像描述

From Apple Docs : 来自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)在左列的DEVICES部分下,展开设备的列表

4) Select Device Logs to see crash logs or select Console to see Console output 4)选择设备日志以查看崩溃日志,或选择控制台以查看控制台输出

OR 要么 在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM