We are currently developing an iPhone app with Xamarin's monotouch and use SQLite to store data. We use the latest version of the SQLite-component (https://github.com/praeclarum/sqlite-net).
Unfortunately, we had some strange problems in the last few weeks. Everything works as designed, but after a while (between maybe 15-30min tracking, which generates GPS inserts into the database), the SQLite returns every database access with an I/O error:
SQLite.SQLiteException: IOError
Disk space was available, also R/W-rights for the file were not the problem, because the first 30min everything worked...
So after a long Google research, I think the reason might be the same as here:
CoreData: error: (14) I/O error for database
Maybe also this issue here is related: Sqlite disk I/O error on iphone 5
As a workaround, we now deactivate the WAL (http://www.sqlite.org/wal.html) with setting the journal_mode = OFF (http://www.stevemcarthur.co.uk/blog/post/some-kind-of-disk-io-error-occurred-sqlite/), but it's not the proper solution.
Which leads to my question: Is somebody out there who's got the same problem and found a real solution? And is my assumption correct that WAL with iOS 7.0 causes this problem? Or might there be another reason?