I am trying to view the contents of the persistent store ( persistent store ) of my application through the terminal ( terminal ).
In the terminal I enter:
find ~ -name 'LeagueManager.sqlite' where LeagueManager is the name of my application
further I enter:
sqlite3 LeagueManager.sqlite then I get the path to the persistent storage:
/Users/Aleksandr/Library/Developer/CoreSimulator/Devices/ABF32E90-AED7-4240-8458-75725577D185/data/Containers/Data/Application/467ADE4A-3E7B-4B36-BA75-221E18426CE3/Documents/LeeeEE42B4B36-BA75-221E184263DDect/
Further, the terminal outputs the line:
find: / Users / Aleksandr / Library / Saved Application State / com.adobe.flashplayer.installmanager.savedState: Permission denied
where it says at the end: Permission denied - Access denied.
further gives:
SQLite version 3.7.13 2012-07-17 17:46:21 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> Then I enter the command to show the database schema
sqlite> .schema and nothing happens.
How to allow access to the database?