NSLog messages no longer appear when upgrading to Xcode 9.1 + iOS 11.1. The originally accepted answer gave me a way around this using the Console app and turning on Simulator ( see Lucas answer ).
In the “Console” application, in the “ Action ” section, I tried to select “ Include Debug Messages and uncheck the“ Include Info Messages (so the console does not load system messages). NSLog messages appeared in the console window in Xcode, but not in the console application.
I realized that there should have been a more direct way to disable or enable (i.e. by default ) NSLogs thanks to Coeur's comment in response to this answer. In my opinion, this is the best answer, because setting OS_ACTIVITY_MODE to disable or default will make more sense for beginners.
Greg Nov 05 '17 at 4:00 2017-11-05 04:00
source share