Hello,
I am trying to test my apps on the Xcode simulator and on the real device, but I am facing the annoying problem of not being able to show print output on the Console for debugging purposes.
Following some posts on this forum, I put this line at the top of my main.lua file:
[lua]-- Output to console
io.output():setvbuf(“no”)[/lua]
but, when I launch the app on the Xcode simulator, or even when I install it on a device and let it connect to Xcode, I cannot see a single print statement output on the Console. So I tried to look at the configurations on Xcode, launching the same old terminal command:
[text]
xcode-select -print-path
[/text]
Since I have two different versions of Xcode on my development MBP, I tried changing this path to /Developer for Xcode 4.2 and to Applications/Xcode.app/Contents/Developer for Xcode 4.3. After each change I restart Corona, do a new build and test the app, but nothing changes. I am using both Corona 704 and 767 (the very last available build), with no success.
Am I doing something wrong here?
Thank you! [import]uid: 121401 topic_id: 23392 reply_id: 323392[/import]