2

Possible Duplicate:
Is there a good Core Data browsing tool out there?

Is there a way to browse an sqlite database on iOS?

I use CoreData to store entities in one of my applications, and I would like to browse the tables to be sure that the database saves what I want. I'm thinking about a kind of database viewer.

Community
  • 1
  • 1
ragu89
  • 335
  • 7
  • 22
  • maybe this is what you are looking for: http://stackoverflow.com/questions/1609683/is-there-a-good-core-data-browsing-tool-out-there – tkanzakic Jan 16 '13 at 10:05
  • You can also have a look on the tools posted here http://stackoverflow.com/questions/2624573/viewer-query-analyzer-for-sqlite-databases – gazzola Jan 16 '13 at 10:24
  • Core Data Editor seems to be good to browse device database, thank you. – ragu89 Jan 16 '13 at 10:39

2 Answers2

4

If you run your application inside the simulator on your Mac, you can get to your files inside

/Users/username/Library/Application Support/iPhone Simulator/version/appid/Documents

Just open your database there with any tool like Base or SQLiteManager.

UPDATE:

Since IOS 8 they put it in a different folder:

Library/Developer/CoreSimulator/Devices/(numbers and letters)/data/Containers/Data/Application/(numbers and letters)/Documents/

dmaulikr
  • 458
  • 5
  • 20
Trausti Thor
  • 3,722
  • 31
  • 41
0

I've used SQLite Manager addon for Firefox and it worked well for SQLite databases.

Brian Liang
  • 7,734
  • 10
  • 57
  • 72