Where is my NSLog output?

John Topley picture John Topley · Mar 6, 2011 · Viewed 24.1k times · Source

I've just started out learning iOS development. I'm using some NSLog statements in my code but they don't appear to be output anywhere. My application is using the debug configuration and I'm running my application in the iPhone simulator from within Xcode. I've checked both the Xcode console (under the Run menu) and also Console.app on my Mac, but there's nothing.

What could be the problem?

Answer

Sheharyar picture Sheharyar · May 17, 2014

Make sure you have your Console activated. To do that, you can:

  • Go to View > Debug Area > Activate Console (From your Menu Bar)
  • Or press C on your keyboard