如何在 iPhone 设备等管理器上显示 iPhone 模拟器的控制台?

发布于 2024-12-11 02:13:28 字数 168 浏览 3 评论 0原文

iPhone 设备控制台显示在管理器窗口 (shift+command+2) 中,但不显示 iPhone 模拟器。我想在 Organizer 窗口中看到控制台(不是 Xcode 控制台 [shift+command+y])。

如何在管理器上显示 iPhone 模拟器的控制台,就像 iPhone 设备一样?

The iPhone device console is shown in the Organizer window (shift+command+2), but not the iPhone Simulator. I want to see the console on the Organizer window, (not Xcode console [shift+command+y]).

How can I show the iPhone simulator's console on organizer like for iPhone device?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

请别遗忘我 2024-12-18 02:13:28

您可以使用以下命令从 iPhone 模拟器中查找消息

tail -f /var/log/system.log

在你的 OS X 机器上

You can find messages from the iPhone Simulator with

tail -f /var/log/system.log

on your OS X machine

流年已逝 2024-12-18 02:13:28

模拟器中的控制台日志将保存到文件中,并且不会显示在管理器窗口中。您通常可以在这里找到它们:

/Users/ME/Library/Logs/DiagnosticReports/SOMELOGFILE.crash

如果没有,请运行此命令(从终端)来查找它们:

find / -type f -iname "\*.crash"

或者,运行这 2 个命令(如果您有 locate):

updatedb
locate "*.crash"

The console logs from the Simulator are saved to file and will not show in the organizer window. You can usually find them here:

/Users/ME/Library/Logs/DiagnosticReports/SOMELOGFILE.crash

If not there, run this command (from a terminal) to find them:

find / -type f -iname "\*.crash"

Or, run these 2 (if you have locate):

updatedb
locate "*.crash"
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文