1

我通过他们的错误报告向 Apple 提交了一个错误。现在他们要求我发送日志。

如何收集xcode日志?我已经准备好系统日志和控制台日志。

4

3 回答 3

1

我不相信 Xcode 会编写专用的日志文件。但是,控制台应用程序应该拥有您需要的一切(您需要按 PROCESS|Xcode 过滤才能仅查看 Xcode 条目)。

或者,从终端窗口(通过/Applications/Xcode-beta.app/Contents/MacOS/Xcode)启动 Xcode 应该只生成 Xcode 日志。

请参阅我的其他答案以获取更多详细信息。

于 2017-10-10T19:50:22.077 回答
0

您可以在终端中使用以下命令收集 Xcode sysdiagnose 日志:

sudo sysdiagnose Xcode

这提供了以下信息:

此工具生成的文件允许 Apple 调查您的计算机问题并帮助改进 Apple 产品。这些文件可能包含在您的设备上找到或与您的 iCloud 帐户相关联的个人信息,包括但不限于您的姓名、您的设备序列号、您的设备名称、您连接的外围设备、您的用户名、您的电子邮件地址和电子邮件设置、文件路径、文件名、Siri 建议、您电脑的 IP 地址和网络连接信息。

Apple 根据其隐私政策 (www.apple.com/privacy) 使用此信息,不与任何其他公司共享。使用此工具并将结果发送给 Apple,即表示您同意 Apple 使用这些文件的内容来改进 Apple 产品。

该过程最多可能需要 10 分钟才能完成。

生成的tar.gz文件将在/private/var/tmp完成后找到,大小可以是 100 兆字节。

于 2019-11-02T15:59:33.797 回答
-1
  • Connect the iPad or iPhone to the Mac and sync it as usual
  • Hit Command+Shift+G and navigate to ~/Library/Logs/CrashReporter/MobileDevice/
  • For those with multiple iOS devices, select the proper device that you want to retrieve the crash log from
  • Look for files with the app name you want the crash reports from, copy that out of the folder, or copy multiple logs and zip them up
    for the developer
于 2014-12-17T22:50:33.940 回答