Well the strange thing is that the log message I get from CBL is: *14:33:09.559| Couchbase Lite using SQLite version 3.8.10.2 (2015-05-20 18:17:19 2ef4f3a5b1d1d0c4338f8243d40a2452cc1f7fe4)*
It seems to stay the same all the time, no matter whether I link in SQLCipher or not. However, I am now able to encrypt again with CBL. Unfortunately my own FMDB based code isn't working. I do get FMDB from cocoa pods, so maybe I'll need to just embed it within and not use the CBL version. One of the differences I see in your copy of FMDB is you reference sqlite via #import <sqlite3.h> rather than the cocoa pod's version of #import "sqlite3.h". Quotes instead of angled brackets. But I'm not entirely sure if that makes a difference. Maybe I can go back to using SQLCipher via cocoapods but still have CBL use the .dylib I built that appears to be working. Thanks, Brendan On Monday, October 5, 2015 at 2:35:11 PM UTC-6, Jens Alfke wrote: > > > On Oct 5, 2015, at 12:58 PM, Brendan Duddridge <[email protected] > <javascript:>> wrote: > > I did notice (and this is probably my main problem), that libsqlite3.dylib > is being loaded up near the top of the log: > > *dyld: loaded: /usr/lib/libsqlite3.dylib* > I'm just trying to track down why it's loading. I use a bunch of third > party frameworks and I suspect one of them is loading it in. > > > Oh, it’s not a problem if some other framework is using it. The two > libraries aren’t going to conflict since they have different names. I just > thought it might be a good way to see if Couchbase Lite were loading it. > > Again, look at the log message from CBL_SQLiteStorage when the first > database opens; that will give the version info from the SQLite API, which > should help you figure out which library it’s using. > > Oh, you had asked how big my libsqlcipher.dylib file was. It's 1285028 > bytes. About 1.3 MB. > > > Smaller than I thought. I’m thinking that for our 1.2 Mac build we may as > well just always build in SQLCipher. That would be simpler than having two > versions of the library (one for encryption, one not.) > > —Jens > -- 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/a248338e-f054-4f41-b410-f85ea25bc1fb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
