I've followed the documentation in the Official SQLCipher Site for iOS. I imported sqlite3.h. I added openssl and sqlcipher xode.proj. They are actually all fine.
It's encrypting the databases and I can query off them. The builds are good, except for this little warning about sqlite3_key.
I can see the step by step build process of the custom script and everything is fine.
I can see in the header file that there is that SQLITE_HAS_CODEC
condition for this function not present in the native sqlite3 because we're using the sqlcipher version of sqlite.
I've added the -DSQLITE_HAS_CODEC
to the C Flag and C++ Flag, this is for both Project and Target Build Settings.
Overall SQLCipher works fine except for this warning:
Implicit declaration of function 'sqlite3_key' is invalid in C99
that keeps popping up during Profiling and Archiving the Binary in Xcode.
Building it via Debug doesn't throw this warning.
Is there anything that I still have to do?