dyld: loaded: /Users/brendan/Projects/xcode-build/Tap_Forms_Mac-gmfcnfvjlruxgkapuehplefkxifo/Build/Products/Debug/Tap Forms.app/Contents/MacOS/../Frameworks/libsqlcipher.dylib
On Oct 5, 2015, at 11:31 AM, Brendan Duddridge <bren...@gmail.com> wrote:
So I have no idea how to properly integrate SQLCipher with Couchbase Lite such that I don't have to have my libsqlcipher.dylib in a fixed location on my drive. I've tried all the suggestions in the SOF post, but have yet to find a proper solution.
I did eventually get libsqlcipher to load from a relative location (I think), but then it doesn't actually work. That is, the call to set the encryption key on the database returns NO. So I'm still at a loss of how to proceed.
Or should I not bother with SQLCipher since I don't know when or if Couchbase will stop supporting SQLite and go with ForestDB support only.
dyld: loaded: /usr/lib/libsqlite3.dylib
On Oct 5, 2015, at 12:58 PM, Brendan Duddridge <bren...@gmail.com> 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, you had asked how big my libsqlcipher.dylib file was. It's 1285028 bytes. About 1.3 MB.
14:33:09.559| Couchbase Lite using SQLite version 3.8.10.2 (2015-05-20 18:17:19 2ef4f3a5b1d1d0c4338f8243d40a2452cc1f7fe4)
On Oct 5, 2015, at 1:44 PM, Brendan Duddridge <bren...@gmail.com> wrote:
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.
post_install do |installer_representation|
installer_representation.pods_project.targets.each do |target|
if target.name == 'FMDB'
target.build_configurations.each do |config|
config.build_settings['OTHER_CFLAGS'] ||= ['$(inherited)']
config.build_settings['OTHER_CFLAGS'] << '-DSQLITE_HAS_CODEC -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4_UNICODE61'
end
end
end
end