When working with Core Data or SQLite, you never know if what your saving to your database is actually saving. Well if you’re testing with iPhone Simulator you can. Run your test that is supposed to be saving data then do the following:

In Terminal go to the following location.

/Users/<your name>/Library/Application Support/iPhone Simulator/<version>/Applications/<app name>/Documents

 

Type sqlite3 followed by the name of the sqlite file.

sqlite3 myfile.sqlite

 

Now type .help to see a list of commands or type out straight sql

select * from entityname

 

To exit sqlite3 type

.exit