Where I can find Core Data’s sqlite database of Mac OS X application?
I have found it, but it's *.momd folder with 3 files (VersionInfo.plist, *.mom *.omo). How can I see the contents of it?
On OS X 10.7 Lion when the app is sandboxed, it is stored in:
~/Library/Containers/com.yourcompany.yourAppName/
The persistent store in Core Data is just a file. So it's most likely in your Documents directory if it's a user's document. If it's an internal store, then it may be in the bundle, or may be put somewhere like ~/Library/Application Support.
In High Sierra, SQLite file is saved in ~/Library/Application Support/[YourAppName]
You can find the sqlite file under ~/Library/Application Support/iPhone Simulator/[SDK version]/Applications/[App GUID]/Documents
To inspect the contents of the database file, you could use this firefox extension: Sqlite-manager