Apple Mach-O Linker Error CouchbaseLite Phonegap Plugin

42 views
Skip to first unread message

RJ

unread,
Aug 21, 2014, 1:26:10 PM8/21/14
to mobile-c...@googlegroups.com
Hi we are trying to run the todo-lite phonegap app with cordova v3.5.0-0.2.7 and com.couchbase.lite.phonegap plugin 1.0.2 from the cordova plugin repository. We are getting errors when we run the xcode project in 64bit simulator.

Undefined symbols for architecture x86_64:

  "_CBLRegisterJSViewCompiler", referenced from:

      -[CBLite launchCouchbaseLite] in CBLite.o

  "_OBJC_CLASS_$_CBLManager", referenced from:

      objc-class-ref in CBLite.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Jens Alfke

unread,
Aug 21, 2014, 8:48:13 PM8/21/14
to mobile-c...@googlegroups.com
It kind of looks as though the Couchbase Lite library used to build the plugin was 32-bit only. But I don't know anything about the Cordova plugin's build process. Paging JChris!

—Jens
Reply all
Reply to author
Forward
0 new messages