Hi, So I've successfully managed to use SQLCipher from within Couchbase Lite for Mac and encrypt one of my databases. I compiled SQLCipher as a .dylib dynamic library and linked it in to CBL Mac in the Link Libraries and Frameworks area and added -DSQLITE_HAS_CODEC to Other C Flags.
Now, this isn't necessarily directly a CBL issue, other than the fact that I can't compile it as a static library into CBL due to some symbol naming conflicts, so I have to use a dynamic library. How do I get the dynamic library linked into my application so that the library doesn't need to be installed at any specific location on a user's drive? It seems that the .dylib needs to be sitting in the location where it's first installed when built otherwise the application can't find it. It's not finding it from within the Xcode project itself. Maybe I'm going about it all wrong and it needs to be a framework instead of a single .dylib file? Thanks, Brendan -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/d8049673-0569-44f7-a07e-0704da1e7b30%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
