You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took Apple's earthquake sample app and created both a macOS and iOS version of it. The Core Data components stayed the same between the two (other than DB path). I've tried the following scenarios:
Use iOS and macOS app with NSSQLStoreType - No issues.
Use macOS app with EncryptedStoreType and sqlcipher - No issues.
Use iOS app with EncryptedStoreType with sqlcipher - (see below)
Use iOS app with EncryptedStoreType with iOS's libsql3 static lib and set/change database passphrase stuff commented out and return YES - (see below)
In the iOS cases using encrypted store, I'm frequently getting error messages indicating that the database is locked. It appears to be set in the unixLock function (sqlite3.c:30873 on my side). The project itself does use two different persistent store coordinators for the same database file, though this doesn't appear to be an issue on macOS. I've attached both the iOS and macOS project that demonstrate this difference. EarthquakesIOS.zip EarthquakesMACOS.zip
The text was updated successfully, but these errors were encountered:
You can use SQLite Pragmas ["journal_mode": "WAL", "busy_timeout": "60000"] to get rid of this error. But current version of ECD not supports NSSQLitePragmasOption in parameters, so u need to fork it and use one of the variants of code update from #212 and all will be ok.
I took Apple's earthquake sample app and created both a macOS and iOS version of it. The Core Data components stayed the same between the two (other than DB path). I've tried the following scenarios:
In the iOS cases using encrypted store, I'm frequently getting error messages indicating that the database is locked. It appears to be set in the unixLock function (sqlite3.c:30873 on my side). The project itself does use two different persistent store coordinators for the same database file, though this doesn't appear to be an issue on macOS. I've attached both the iOS and macOS project that demonstrate this difference.
EarthquakesIOS.zip
EarthquakesMACOS.zip
The text was updated successfully, but these errors were encountered: