mardi 21 juillet 2015

sqlite crashes in iOS 9.0 device

Need help urgently,

I had developed an application which uses the sqlite database. It was working perfectly fine until iOS 8.4 on both iOS simulators and devices but on iOS 9.0 it is crashing by giving error "database is locked" on physical device while working perfectly on iOS 9.0 simulator.

It is giving error in SQLiteManager.m

Please note that

1- I am using XCode 7.0 Beta 3 2- My physical device has iOS 9.0 Beta 3 which is the same version of my iOS simulator 3- I have set the build target to 9.0 which was initially showing many warnings but I have updated all the deprecated things in the code according to iOS 9.0 like UIAlertControllerView etc. 4- There is no warning in code now. 5- I have tried by deleting and adding again both libsqlite3.0 and libsqlite framework. But the error is still there. 6- I have read many blogs and even on Stackoverflow related to this and found solution of writing sqlite3_close(database) and sqlite3_finalize(command) after execution of command and I have done that too, but still failed to achieve any output.

Please help me regarding this issue.

Aucun commentaire:

Enregistrer un commentaire