# 报告 iOS 的崩溃问题

> Report crash bugs for iOS with Unity Bug Reporting.

您可以使用 Unity [Bug Reporting](https://unity.com/releases/editor/qa/bug-reporting) 报告 iOS 的崩溃错误。如果应用程序在 Xcode 调试器中崩溃，建议将 Xcode 控制台输出添加到错误报告中。如果应用程序崩溃，请使用以下步骤访问控制台输出：

**注意**：在提交[错误报告](https://unity.com/releases/editor/qa/bug-reporting)之前，请参考 [iOS 设备故障排除指南](/engine/6000.0/manual/platform-specific/iphone/ios-developing/ios-testing-and-debugging/trouble-shooting.md)，其中提供了常见崩溃和其他问题的解决方案。

1. 从**调试 (Debug)** 菜单中，选择**继续 (Continue)** 两次。
2. 从**查看 (View)** > \*\* 调试区 (Debug Area)\*\* > **激活控制台 (Activate Console)** 打开调试器控制台。
3. 在控制台中，输入 `thread backtrace all` 并按 **Enter**。
4. 复制控制台输出并将其附加到您的错误报告中。

如果应用程序出现冻结，可以点击**暂停 (Pause)** 并重复上述步骤。

如果应用程序在 iOS 设备上崩溃，建议获取崩溃报告。为此，请参考[获取崩溃和低内存报告](https://developer.apple.com/library/archive/technotes/tn2151/_index.html#//apple_ref/doc/uid/DTS40008184-CH1-ACQUIRING_CRASH_AND_LOW_MEMORY_REPORTS) (Apple Developer)。请将崩溃报告、构建的应用程序和控制台日志附加到错误报告中。

## 其他资源##additional-resources

* [在 iOS 设备上进行故障排除](/engine/6000.0/manual/platform-specific/iphone/ios-developing/ios-testing-and-debugging/trouble-shooting.md)
* [错误报告](https://unity.com/releases/editor/qa/bug-reporting)
