Re: NSLogs going nowhere

Carl Hoefs


I have no idea what OS_ACTIVITY_MODE is or why it was disabled. 


On Jul 29, 2020, at 2:32 PM, Gary L. Wade <garywade@...> wrote:

Verify you’ve not enabled OS_ACTIVITY_MODE.

On Jul 29, 2020, at 1:55 PM, Carl Hoefs <newslists@...> wrote:

FWIW, I just upgraded to Xcode 11.3.1. Same issue.


On Jul 29, 2020, at 12:55 PM, Carl Hoefs <newslists@...> wrote:


Thanks for the suggestion.

My "macOS Deployment Target" is set to "macOS 10.14" for both Debug and Release. Trying other versions gives the same result.


On Jul 29, 2020, at 12:48 PM, Sandor Szatmari <> wrote:


I found that the new logging system does not like it when you target something like 10.9 or prior… i was loosing NSLog statements on some apps until I moved the deployment target to 10.11 or 10.12… Might this be affecting you?


On Jul 29, 2020, at 15:43, Carl Hoefs <newslists@...> wrote:

Xcode 11.2.1, macOS Mojave 10.14.6, ObjC

This morning Xcode decided to stifle all NSLogs in _one_ of my macOS development apps. printfs and fprintf(stderr,*) still get written to the Xcode debug window. NSLogs do not. They don't even go to the system console.

I set a symbolic breakpoint at NSLog, and it does break there, in assembler.

Other projects work normally! I've restarted Xcode, and even rebooted the machine. No joy. Is there perhaps some hidden Xcode build setting to ignore NSLogs?

How can I get Xcode to once again write NSLogs to the debug window?


Join to automatically receive all group messages.