Xcode 4: How do you view the console?

前端 未结 8 928
别跟我提以往
别跟我提以往 2020-12-02 16:14

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

8条回答
  •  攒了一身酷
    2020-12-02 17:01

    If you just want to have the log output display when you run your app then you can go into XCode4 preferences -> Alerts and click on 'Run starts' on the left hand column.

    Then select 'Show Debugger' and when you run the app the NSLog output will be displayed below the editor pane.

    This way you don't have to select on the 'up arrow' button at the bottom bar.

提交回复
热议问题