nslog

NSLog not printing to console


I have an Xcode project I've been working on for months. I've never had a problem with NSLog, but after upgrading to Xcode 4.2 nothing will log to the console. I even tried throwing this in viewDidLoad:

    - (void)viewDidLoad
{
    [super viewDidLoad];

    NSLog(@"Can anyone hear me?");

And nothing. Is anyone else having this problem or know a solution?


Solution

  • Well, this is embarrassing. The console got deactivated somehow and I was actually watching the variables window. Pressing Shift + + C did the trick.

    Many thanks to Robert King on this thread:

    https://devforums.apple.com/message/565880#565880