The question in the topic: Why no print output in Console using Simulator? Is it disabled or this is a bug?
In Swift with Xcode you can use either print() or NSLog() . print() just outputs your text.
Press ⇧⌘Y or choose View > Debug Area > Show Debug Area to show the console output (or ⇧⌘C / Activate Console). Usually, this window will open automatically when your program produces output (this is controlled by the Behaviors section of Xcode's Preferences).
NSLog() output on the simulator does indeed show up in the Console Mac OS X application. Go to All Messages and then filter based on your app name to get rid of the fluff, and run again. You'll see it in your output if the NSLog code is actually being hit during the execution of your program.
same answer as @Nazmul Hasan, but with an image to help others.
Try with this way
View --> Debug Area --> Activate Console
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With