Testing with console output for multiple devices (iPhone/iPad) at the same time with Xcode

和自甴很熟 提交于 2019-12-03 06:27:40

There doesn't seem to be a nice way of doing it. One hack that I've found is that if you have two instances of Xcode running, you can have two Organizer windows open, each viewing a different log

Launch the 2nd instance using Terminal:

open <path to Xcode.app>/Contents/MacOS/Xcode

Joshua Goossen

I know this is an old question, and the above method of using the console works, but I just discovered a method I like better (I don't really like working with two windows all the time, especially with full screen Lion).

Run the debugger on both devices, then you can switch between the two just above the logging console.

Select your device and it will show the corresponding logs below

Another option is: Connect your two devices. In XCode navigate to Window -> Organizer. You'll see a list of all connected devices. And here you can click on your second device and select Console. Good thing is, you see the two Console windows at the same time!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!