Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

doanelinde

macrumors member
Original poster
Jul 24, 2009
35
0
Is there a way to view to view your coredata database by locating the file and opening it?

I need to check what data is actually in my database, as my code isn't pulling anything from it but I think it might simply be an error in the code..
 
I take it you mean your SQLite database.

The simulator holds your work in "~/Library/Application Support/iPhone Simulator/User" in oddly named folders. Looking in each one, you'll see names of your created applications. Right click on the application name and choose "Show Package Contents". You should see your database file name in there which you should be able to open in SQLite.

I don't know if there is a way to do that for an application on a device, or it's backup, which is what I'm interested in.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.