I think this Stack Overflow post will help me figure it out: http://stackoverflow.com/questions/7562793/how-do-i-create-a-working-framework-with-dylib-files-in-xcode-4
On Saturday, October 3, 2015 at 11:38:27 PM UTC-6, Brendan Duddridge wrote: > > 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/08bbb9da-af8e-44a9-8db8-e6f6e165b870%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
