Access the encrypted database successfully.
"file is encrypted or is not a database"
Steps to Reproduce
My iOS project included SQLCipher cloned SQLCipher directly into the same folder, as indicated in https://www.zetetic.net/sqlcipher/ios-tutorial/ . This works fine, but when I migrated to ios11, my project not works.
It appears error “sqlite3_key is invalid in C99”. I reported this problem here: #225
I’ve change SQLCipher included by Pods, and the error “sqlite3_key is invalid in C99” disappear. But now, when I run my app, it show me the error “file is encrypted or is not a database”.