OCUnit, NSLog, and XCode 3.1 OCUnit, NSLog, and XCode 3.1 xcode xcode

OCUnit, NSLog, and XCode 3.1


Just learning this stuff myself and had to poke around to answer that very question (XCode 3.1.2).

Go to the Build Results window after running. It may not open automatically, depending on configuration. Build / Build Results menu option will open it if needed.

In the middle area between the two panes, you'll see 4 buttons on the left. The 3rd icon is just 3-4 horizontal lines. Click that to toggle the build transcript. That shows all build steps and NSLog() output from the run.


While it's inconvenient, I found NSLog() messages going to the OSX Console.app.

Applications > Utilities > Console.app I filtered by otest to see output.

I couldn't get any of the above methods to work.


(on the menu-bar) Run -> Console (Shift-Apple-R)