开发者

iphone - device logging

开发者 https://www.devze.com 2023-02-15 03:01 出处:网络
While fiddling around with the settings on t开发者_JAVA技巧he device I\'m testing my app on (iPod Touch) I saw a development setting where I can turn logging on.

While fiddling around with the settings on t开发者_JAVA技巧he device I'm testing my app on (iPod Touch) I saw a development setting where I can turn logging on.

Does anyone know where this logs to? I know I can see log statements via the console but I'm hoping to get some log statement when the device isn't connect to my computer.


Your device will continue logging even when it's not connected to your mac. To see the logs, you need to open Xcode, click the 'Window' menu item, and then 'Organizer'. Then select your device and then select the 'Device Logs' tab. For some reason (for me at least) viewing the logs seems flaky, so if nothing shows up, you may need to completely quit Xcode and restart it.


You have to go into the Xcode organizer, and click on your device. The logs will then show up in that window.

0

精彩评论

暂无评论...
验证码 换一张
取 消