BOOL hasRealEncryption = sqlite3_compileoption_used("SQLITE_HAS_CODEC") != 0;
I assumed that the CouchbaseLite project would take care of having all of the build settings setup correctly for SQLCipher. And that is in fact the case if I archive the framework from the CouchbaseLite Xcode project. But it just doesn't see it with my embedded version.
I put -DSQLITE_HAS_CODEC in my own "Other C Flags" build setting in my target and that didn't make a difference.
Have you tried using the CouchbaseLite project from another workspace?
Thanks,
Brendan
Error Domain=CBLHTTP Code=501 "unimplemented" UserInfo={NSLocalizedFailureReason=unimplemented, NSLocalizedDescription=unimplemented}
WARNING: CBL_SQLiteStorage: encryption not available (app not built with SQLCipher) {at -[CBL_SQLiteStorage decryptWithKey:error:]:248}
On Aug 10, 2016, at 1:01 AM, Brendan Duddridge <bren...@gmail.com> wrote:I discovered that if you just have a development build of the frameworks you can put breakpoints into the source which created the development builds. So that was new to me. I guess I had not tried that before.