Hi, I have an iOS app that has used SQLCipher for many years, written in Objective-C. I am rewriting the app in Swift and plan to remove encryption, switching instead to unencrypted SwiftData.
I’m considering options for data migration. In simple terms I’d want to open the sqlcipher database and iterate through the data, creating model objects and saving them to SwiftData. But … under the hood SwiftData uses sqlite and I know that SQLCipher isn’t supposed to link to multiple versions of sqlite.
I wondered if anyone has done this before or could offer suggestions/best approach on having two versions of sqlite linked? Is this even possible, or could it break the SwiftData backing store?
Any thoughts on this would be most appreciated.