Got this yesterday. I associated it with having to force quit Corona because the build process hung. But I don’t remember if logging got affected right away, since I was building for device and debugging in the XCode device console at the time. So consider it no data.
I’ve taken the following steps:
-
Set permissions for all groups to r/w for /var/log/system.log
-
restart syslogd
-
Delete system.log
-
restart syslogd
- Didn’t work. Got the simulator blah blah sh ; exit message above, though
- Re-download and reinstall Corona SDK 2014.2511.
- Didn’t work. Got the below output from the setting “auto-open last project”, delayed by 14 seconds or so. Strange. After that, adding a print(“hello”) and Ctrl+r does not show those messages, or the hello.
- Remembered that I’d changed some settings in Corona preferences yesterday and changed them back to the default.
- Didn’t work. Same delayed console init-messages and no print output.
It seems it gets in some “mode”. Damaged plist files have caused trouble for another app, does the Corona Simulator have any that should be deleted and re-generated?
Corona Simulator Console
Diagnostics and Lua print output will appear here
Feb 27 15:26:36.491:
Copyright © 2009-2014 C o r o n a L a b s I n c .
Feb 27 15:26:36.491: Version: 3.0.0
Feb 27 15:26:36.491: Build: 2014.2511
Feb 27 15:26:46.516:
Copyright © 2009-2014 C o r o n a L a b s I n c .
Feb 27 15:26:46.516: Version: 3.0.0
Feb 27 15:26:46.517: Build: 2014.2511
Feb 27 15:26:46.538: Platform: iPhone / x86_64 / 10.10 / ATI Radeon HD 4670 OpenGL Engine / 2.1 ATI-10.0.19 / 2014.2511
Feb 27 15:26:46.595: The file sandbox for this project is located at the following folder:
(/Users/henrikerlandsson/Library/Application Support/Corona Simulator/Moon Phase-CB79D3982EB1768DE263E298C3A43597)
Feb 27 15:26:47.747: background and statusbar set. height vs 320 width: 480
Starting the debugger instead (There is no such thing as Corona Terminal in my Applications Directory Rob - there used to be in previous versions) gives two console windows:
One titled "<my user> - Corona Simulator Console - syslog (not syslogd, if that matters). Before opening any app, prints (printing delayed by 4 seconds or so):
Corona Simulator Console
Diagnostics and Lua print output will appear here
Feb 27 15:55:12.879:
Copyright © 2009-2014 C o r o n a L a b s I n c .
Feb 27 15:55:12.879: Version: 3.0.0
Feb 27 15:55:12.879: Build: 2014.2511
Terminal window #2 is entitled “<my user> - debugger - debugger” and contains:
Last login: Fri Feb 27 15:54:34 on ttys000
________________________________________[~]________________________________________
> /Applications/CoronaSDK/debugger ; exit;
DEBUGGER: Corona Remote Debugger
DEBUGGER: Go to the Simulator and run the program you wish to debug
2015-02-27 15:55:12.879 Corona Simulator[38309:227798]
Copyright © 2009-2014 C o r o n a L a b s I n c .
2015-02-27 15:55:12.879 Corona Simulator[38309:227798] Version: 3.0.0
2015-02-27 15:55:12.879 Corona Simulator[38309:227798] Build: 2014.2511
Starting the app adds the usual sandbox info (so the first terminal quote should be how it should look, no problem) and typing run produces the expected print statements I added for testing - in the debugger window, but NOT in the Corona Simulator Console. Ctrl+r terminates the app and it seems it’s made so you have to quit and restart the debugger to run it again?
So now I want to restart syslogd AND syslog. Is that safe? I’ll also try a clean reinstall of Corona, if all that’s required is to delete the files in Applications and installing it again.