I'm trying to run a release build on my iPad device connected to xcode for debugging. I'm not certain but guessing that when I do this the documents directory ends up somewhere on my local machine and not on the iPad (as when I run it without xcode). I get an output like this for the directory:
/var/mobile/Applications/FF0F1AB2-AD1F-4E42-8815-9E399EEF5027/Documents/
but I can't access that directory. Going to /var does not reveal any 'mobile' subdir. This seems different from when I run the iPad unconnected and end up with files viewable on the device through Organizer within xcode (making me conclude that it saves them locally in this mysterious dir when run connected to xcode). Can someone help me access this mystery directory?
10.5k 10 10 gold badges 59 59 silver badges 72 72 bronze badges asked Jan 26, 2012 at 5:50 7,527 12 12 gold badges 54 54 silver badges 106 106 bronze badges cd ~/Library/Application\ Support/iPhone\ Simulator Commented Mar 19, 2013 at 16:41For "xcode 6":
If someone needs to view the files in the app, select the app name you want to reveal and click the 'cog' at the bottom, then select 'Download Container. '. Open the downloaded file and right click to show the package content. Dig the package and you will find the staff you need.
Commented Mar 30, 2015 at 6:28Thanks for the show package content tip, an important step if you need an actual file from the package.