Search code examples
iphoneobjective-cxcodenslog

Where is my NSLog output?


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?


Solution

  • Moved from comment

    Are you sure that line with NSLog is executed? Try to insert NSLog right after autorelease pool allocation in main.m