Corona Simulator creates two different Document directory

I go to my project folder (where main.lua is) and run the following:

"/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator" -skin iPhone -project $PWD &  

The file sandbox for this project is located at the following folder:

~/Library/Application Support/Corona Simulator/Project- 7ADAA94524796D929D95D69999C6B95C

Then I press Cmd + R within the simulator to do a reload of the project. Now Corona says:

The file sandbox for this project is located at the following folder:

~/Library/Application Support/Corona Simulator/Project- D15ABD372C5D11488F12458561E3CBF7

 

For some reason, Corona has created a new Document directory, which confuses the app.

Please provide an explanation for this quirk, or let me know if it’s a bug.

If I remember correctly, there was a previous thread about Corona starting twice when trying to start it using command line parameters.  So I think this is a known issue and the solution/work around was to not use the command line to start the app like that, instead open Corona and navigate to it.  You can when you start up corona with no-app loaded, hit CTRL-R and it will reload the last app for you.

No way I’m going to click through lots of GUI each time I want to test new code. My solution was to create a symbolic link from 7ADA to D15A, so now I have only one Document Directory.

I always close down the Corona Simulator when I’m not using it because it’s constantly using 5-10% CPU which causes my MacBook to heat up and create annoying fan noise.

@Rob, can you tell me if it’s possible to optimize the Corona Simulator so that it uses close to 0% CPU? Or at least make it use 0% CPU when it’s in Suspend mode? Then I could leave it on while I’m programming.

If I remember correctly, there was a previous thread about Corona starting twice when trying to start it using command line parameters.  So I think this is a known issue and the solution/work around was to not use the command line to start the app like that, instead open Corona and navigate to it.  You can when you start up corona with no-app loaded, hit CTRL-R and it will reload the last app for you.

No way I’m going to click through lots of GUI each time I want to test new code. My solution was to create a symbolic link from 7ADA to D15A, so now I have only one Document Directory.

I always close down the Corona Simulator when I’m not using it because it’s constantly using 5-10% CPU which causes my MacBook to heat up and create annoying fan noise.

@Rob, can you tell me if it’s possible to optimize the Corona Simulator so that it uses close to 0% CPU? Or at least make it use 0% CPU when it’s in Suspend mode? Then I could leave it on while I’m programming.