My project written in Swift has been using SQLCipher from the App’s first version, It really did a good job until I recently upgrade it to XCode 9 to support iOS 11. It shows errors " Use of unresolved identifier ‘sqlite3_key’".
I had repeated the install instruction for more than 3 times, and also a totally new installation, SQLCipher still refuses to work.
Other C Flag checked, ‘#define SQLITE_HAS_CODEC 1’ and ‘#import <sqlite3.h>’ are both in bridge file.
Did I miss any step that need to change for XCode 9?
By the way, I have another new project written in Objective-C. After cloning SQLCipher project code using Git, it shows error Implicit declaration of function ‘sqlite3_key’ is invalid in C99, I found some files are in red which means not found in the project.
- Security.framesorks (All)
- SQLCipher.framesorks (All)
I had to copy the old files from old project to make it works.