vendredi 1 mai 2015

Xcode and Db Browser for SQLite - DB is write protected

My iOS app is connecting to a SQLite db using FMDB. Upon app initialisation the db is created/copied if required.

I can then open the copied database in DB Browser and manipulate data. If I then run the app (let it finish) whilst leaving DB Browser open upon trying to manipulate data again DB Browser says that the database is write protected. If I close the database within DB Browser and re-open it then I can edit data fine.

It just seems to be a problem when running the app with DB Browser open then prevents DB Browser from accessing the DB.

Does anyone know if there is a way round this?

Aucun commentaire:

Enregistrer un commentaire