Xcode 4: How do you view the console?

2020-01-29 04:29发布

I can't seem to find a way to have the console run (to show NSLog comments) in XCode 4. The normal method for the previous version of XCode does not work. Does anyone have an idea of how to accomplish this?

8条回答
小情绪 Triste *
2楼-- · 2020-01-29 04:53

You can always see the console in a different window by opening the Organiser, clicking on the Devices tab, choosing your device and selecting it's console.

Of course, this doesn't work for the simulator :(

查看更多
家丑人穷心不美
3楼-- · 2020-01-29 04:58

You need to click Log Navigator icon (far right in left sidebar). Then choose your Debug/Run session in left sidebar, and you will have console in editor area.

enter image description here

查看更多
登录 后发表回答