目标c iphone:我们可以在设备上查看控制台登录吗 [英] objective c iphone : can we view console log on device

查看:24
本文介绍了目标c iphone:我们可以在设备上查看控制台登录吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们在设备上运行 iphone 应用程序时,有没有办法查看控制台输出?如果不直接,App store 上是否有可以让您在 App 运行完成后查看日志的应用?

is there a way to view the console output as we are running an iphone App on the device? If not directly, is there an app on the App store which lets you view the log after the App has finished running?

推荐答案

更新为使用 Xcode 12.5.1 和 Console 1.1:

Update to use Xcode 12.5.1 and Console 1.1:

在 Xcode 中转到 Window->Devices and Simulators,选择您的设备并按打开控制台";按钮.

In Xcode go to Window->Devices and Simulators, select your device and press on "Open Console" button.

或者直接按cmd+空格->打开Console输入控制台";然后按回车.

Or directly open Console by pressing cmd+space -> type "Console" and press enter.

在控制台应用程序中,从左侧窗格中选择您的设备,然后按开始流式传输".

In the Console app select your device from left pane and press on "Start streaming".

您还可以在设备"窗口中查看.

You can also see in Devices window.

进入 xcode ->窗口->设备.

Go in xcode -> Window -> Devices.

选择您的设备并打开控制台.

Select your device and open the console.

这篇关于目标c iphone:我们可以在设备上查看控制台登录吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆