iOS 11 / Xcode issue - Implicit declaration of function 'sqlite3_key' is invalid in C99

@Jeff_Lu are you including the sqlite3.h file that you got with SQLCipher? If not, you will have that problem. XCode needs to resolve the SQLCipher sqlite3.h file prior to the one from the SDK.