Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Document folder iOS Simulator

How is possible to find quickly the document folder (in the mac) of an App when I'm using the simulator? When I need to explore the document folder during the simulation of the App now I use a variable of the App to find the document folder path and I read the path during the debug (using a variable) but I think is not the best solution.

like image 629
Lorenzo Avatar asked Mar 12 '16 22:03

Lorenzo


People also ask

Where are the IOS simulator files?

~/Library/Developer/CoreSimulator/Devices Once in a folder, go to Applications, choose the Finder option that shows date for files, and sort by date.


1 Answers

Set and hit a breakpoint in the app, and write the following in the Xcode Console (next to the Variables View):

po NSHomeDirectory() 

Then in Finder hit Shift+CMD+G, paste the path returned above without the quotation marks and hit enter.

like image 168
Johan Avatar answered Oct 07 '22 16:10

Johan