anil
anil

Reputation: 73

Unable to see records in sqlite file which is generated using coredata

I'm using coredata in my iOS app. I'm able to save and retrieve data through the app even after terminating and relaunching it. I could see .sqlite file in document directory as well. But when I open that .sqlite file using Firefox's SQLite Manager I'm not able to see any records in the tables.

Upvotes: 0

Views: 140

Answers (2)

Bhumesh Purohit
Bhumesh Purohit

Reputation: 499

one copy of .sqlite file store in your local device database that contain your User data and your project sqlite file only providing structure of your database.

i.e

/Users/"Yourusername"/Library/Developer/CoreSimulator/Devices/50923155-3C1A-4071-B2A9-94D11CDD7678/data/Containers/Data/Application/856BA865-0EA8-486A-A9B1-5A5E51005966/Documents/"sqlitefile name"

Upvotes: 0

Related Questions