I am using SQLCipher and SQLite.swift via cocoapods. I am currently not using the library you referred to.
I gave that library a go a while back, but ended up with compilation errors. I could give it another try.
You can not use both SQLite.swift together with SQLCipher. You might consider only using SQLiteCipher.swift which utilizing SQLite.swift packaged with SQLCipher, or SQLCipher via cocoapods directly along with a bridging header that includes the following for Swift integration:
Your second alternative to use SQLCipher via Cocoapods and adding the bridging header. That would require us to refactor the existing code, since we use SQLite.swift
Is there any way to make this work with my initial approach (SQLCipher and SQLite.swift installed via Cocoapods) above? Where I add an extension to the Connection object?
If you do not wish to use SQLCipher via cocoapods directly with the bridging header, you might consider taking a look at an existing pull request that resolves the issues around including SQLCipher with SQLiteCipher.swift.
thank you for your answer. Yeah, using SQLCipher via cocoapods directly would mean refactor all the code, since it is using SQLite.swift. Looked at the PR you linked to, but didn’t see any solution that could help me. Anyway, thanks for your time.