How to view console output from Xcode Sim like Corona terminal when using print()?

I’m playing with the facebook API for Corona, but as it won’t run from the Corona Sim I’m instead building for Xcode Sim. In the example code it uses print statements, but where can I see the console output of these print statements from Xcode Sim? I just want to look at what’s coming back from facebook but don’t yet feel comfortable creating a load of UI to display it.

I fired up the OS-X Console app from Applications > Utilities, but no print output there that I can see?

Thanx. [import]uid: 8496 topic_id: 11035 reply_id: 311035[/import]

Add this to the top of your main.lua file:

io.output():setvbuf('no')  

You should then be able to see the print statements in the XCode console. It doesn’t seem to always work though, I seem to have to restart XCode or reconnect my device every now and then. [import]uid: 5833 topic_id: 11035 reply_id: 40157[/import]

Actually, I should learn to read. That may or may not work from the XCode Sim, I thought you were running from the device while connected to XCode. [import]uid: 5833 topic_id: 11035 reply_id: 40159[/import]

Will try that, thanx GrahamRanson [import]uid: 8496 topic_id: 11035 reply_id: 40160[/import]

Saw some output using the iPhone Configuration Utility console window [import]uid: 8496 topic_id: 11035 reply_id: 40187[/import]

Some is sort of better than none. Kinda. [import]uid: 5833 topic_id: 11035 reply_id: 40188[/import]