How do I access my applications "sandbox" folders? (PC and Mac)

Hi guys,

This maybe a stupid question but I am having hard figuring out where the “sandbox” for all the apps are? I need both under windows and Mac. I assumed they will be in the Ansca folder (where Corona SDK is) or under each of my app folders but nothing so far?

Thanks guys for any pointers.

Mo

[import]uid: 49236 topic_id: 19656 reply_id: 319656[/import]

There’s no such thing as a stupid question. We all learn by asking.

For the Mac the sandbox folder is located in your user Library folder:

/Users/myname/Library/Application Support/Corona Simulator

Also, every time you run your app in the simulator it will tell you the location of the sandbox folder in the terminal window:

Copyright (C) 2009-2011 A n s c a , I n c .
 Version: 2.0.0
 Build: 2011.715
The file sandbox for this project is located at the following folder:
 (/Users/myname/Library/Application Support/Corona Simulator/4-6EE770181B49332F6B9A7BF3845D9BF8)

[import]uid: 70847 topic_id: 19656 reply_id: 75964[/import]

Even that could make it tricky to find the folder: under Lion, the library folder is marked as ‘hidden’

On a Mac, click the finder icon on your dock.

Click the menu item ‘Go’
Select ‘Go to folder’

Then paste the folder into that:
/Users/myname/Library/Application Support/Corona Simulator/4-6EE770181B49332F6B9A7BF3845D9BF8

and click Go
If you are using CPM, note that the folder you get is likely different from the one you get from opening the published project in the Corona Simulator prior to building.

[import]uid: 108660 topic_id: 19656 reply_id: 75967[/import]

A tip if you’re using OSX Lion:

In the Finder select Go from the menu.
Hold down the Option key and the Library folder will appear as a selection. [import]uid: 70847 topic_id: 19656 reply_id: 75972[/import]

Just Wonderful! :slight_smile:
Thanks for Sharing @ingemar and all.
Cheers, [import]uid: 89165 topic_id: 19656 reply_id: 76015[/import]

Or just access it from the command line:

cd ~/Library/Application\ Support/Corona\ Simulator
ls -l
cd yourappfolder

Then you can ls, cat, cd, rm, mv, less and vi to you’re heart’s content!
:slight_smile:
Rob = Old Skool!
[import]uid: 19626 topic_id: 19656 reply_id: 76020[/import]

@robmiracle
Oh yeah, THAT’s the way to do it.
Command line rulez! [import]uid: 70847 topic_id: 19656 reply_id: 76024[/import]

Super simple on a Mac;

Go to File -> Show Project Sandbox while your app is running in the Corona Simulator… from there a finder window will pop up, and if you right click on the windows title it will show you the path. [import]uid: 10379 topic_id: 19656 reply_id: 76052[/import]

you can further this, by creating an alias on your desktop/whatever so you can access the files at will… just be careful because at times there will be many folders which will have similar names.

* sorry was gonna add this in my previous response. [import]uid: 10379 topic_id: 19656 reply_id: 76053[/import]

THANK YOU so much guys. You are all the best!

I was losing my hair (do not need too believe me!) trying to figure out this being a Mac newbie (Love my Mac)

Cheers.

Mo [import]uid: 49236 topic_id: 19656 reply_id: 76054[/import]

Here is another tip: Enable the user Library folder

Lion hides the Library by default, but there’s an easy way to get it back. Open the Terminal and type “chflags nohidden ~/Library” (without quotes). Press Enter. The Library has been assigned a “not hidden” flag, meaning it’s now visible under your Home folder.

This is from http://www.macstories.net/tutorials/miscellaneous-lion-tips-and-tricks/ [import]uid: 23636 topic_id: 19656 reply_id: 76084[/import]