Location of an Application's Sandbox

Discussion in 'iOS Programming' started by francis21, Jul 26, 2011.

  1. macrumors member

    Joined:
    May 2, 2011
    Location:
    Mississauga, ON, Canada
    #1
    Hey people! Well, I'm trying to create a database for my program (using sqlite3). And I just need to confirm that a database file has been created. Since I'm using Xcode 4.1 for Mac OS X Lion, the default location of the application sandbox has been changed. So I was wondering where I can find my application's sandbox. Thanks. :apple:
     
  2. Sykte, Jul 29, 2011
    Last edited: Jul 30, 2011

    macrumors regular

    Joined:
    Aug 26, 2010
    #2

    Open Xcode, go into Preferences, click on Locations, take a look at the derived data path.



    Edit: Jiminaus is correct on the path. I guess I jumped to conclusions before reading your entire post. ooops.
     
  3. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #3
    ~/Library/Application Support/iPhone Simulator/<iOS version>/Applications/<guid>

    In there you'll find the application's app, Documents, Library and tmp directories.
     
  4. Sykte, Jul 30, 2011
    Last edited: Jul 30, 2011

    macrumors regular

    Joined:
    Aug 26, 2010
    #4

    Jiminaus is correct. Sorry for jumping to conclusions. I noticed my mistake this morning when I woke up.
     

Share This Page