Using Couchbase-Lite and CocoaLumberjack

61 views
Skip to first unread message

Matija Alanović

unread,
Apr 2, 2014, 5:02:19 AM4/2/14
to mobile-c...@googlegroups.com
Hi!

I'm having problems when trying to use the Couchbase-Lite library alongside with CocoaLumberjack. It seems that CBL already includes CocoaLumberjack so the linker throws a bunch of errors like this:

duplicate symbol _OBJC_IVAR_$_DDLogMessage.logFlag in:
    /(...)/Pods/couchbase-lite-ios/CouchbaseLiteListener.framework/CouchbaseLiteListener(DDLog.o)

Did anyone manage to use both libraries in a project?

Thanks in advance!

Jens Alfke

unread,
Apr 2, 2014, 10:09:40 AM4/2/14
to mobile-c...@googlegroups.com

On Apr 2, 2014, at 2:02 AM, Matija Alanović <mat...@infinum.hr> wrote:

I'm having problems when trying to use the Couchbase-Lite library alongside with CocoaLumberjack. It seems that CBL already includes CocoaLumberjack so the linker throws a bunch of errors like this:

You can remove the CocoaLumberjack source files from your own app’s target.

Or, you can build Couchbase Lite yourself, and modify the project by removing the CocoaLumberjack sources from the “CBL Listener iOS” target.

—Jens
Reply all
Reply to author
Forward
0 new messages