Swift println command does not output in console

OscarWyck picture OscarWyck · Jun 25, 2014 · Viewed 15.4k times · Source

Using a playground file in Xcode 6 beta, I am trying to get an output in the console for the println command. I have written println("test"), opened the Assistant Editor (View\Assistant Editor\Show Assistant Editor) and see that little window named "Console output", but still I get nothing. I have also tried to close and restart Xcode.

What am I doing wrong?

Answer

Blackvenom picture Blackvenom · Aug 19, 2014

In recent Versions of Xcode, like Beta 6, the println() result will be displayed in the sidebar on the right.

No need for Assistant Editor anymore.

But you need to install new Beta Versions manually.