I am running code from this tutorial sqlite database iOS app tutorial on XCode 5.1.1 using iOS version 7.1.0. Program is giving sql error on inserting record
DB Error: database disk image is malformed...
Could not execute the query.
On removing the DB file, and creating a new one gives same error.How I can get rid of this db error ?I have visited following links but error remain the same .. SQLiteException "database disk image is malformed" ....SQLite “database disk image is malformed”