Hopefully a simple installation question … I’m a first time couchbaselite developer and I’m trying to create an iOS build. I downloaded the framework and walked through the installation instructions but I’m getting several linker errors.
- Xcode 9.1 (9B55)
- Deployment Target: 10.3
- Xcode displays the required 4 frameworks and 3 libraries in “Linked Frameworks and Libraries”
- I’ve added the -ObjC flag to “Other Linker Flags.”
Undefined symbols for architecture arm64:
"_CBLSequenceCompare", referenced from:
___71-[CBL_Router(Changes) responseBodyForChangesWithConflicts:since:limit:]_block_invoke in CouchbaseLiteListener(CBLRouter+Changes.o)
"_CBL_DatabaseChangesNotification", referenced from:
-[CBL_Router(Changes) doChanges:] in CouchbaseLiteListener(CBLRouter+Changes.o)
"_OBJC_CLASS_$_CBLGeoQueryRow", referenced from:
l_OBJC_$_CATEGORY_CBLGeoQueryRow_$_Router in CouchbaseLiteListener(CBLQueryRow+Router.o)
l_OBJC_CLASSLIST_SUP_REFS_$_.65 in CouchbaseLiteListener(CBLQueryRow+Router.o)
"_OBJC_CLASS_$_CBLFullTextQueryRow", referenced from:
l_OBJC_$_CATEGORY_CBLFullTextQueryRow_$_Router in CouchbaseLiteListener(CBLQueryRow+Router.o)
l_OBJC_CLASSLIST_SUP_REFS_$_ in CouchbaseLiteListener(CBLQueryRow+Router.o)
and it goes on and on for quite a bit.
Thoughts? The build appears to find some CouchbaseLite code … but it seems like some couchbase class dependencies aren’t getting found? Does anything jump out as obviously mis-configured?
For what its worth, I did create a .h file and dropped the bridging import into it … but otherwise not sure if I did that correctly.
Thanks!
-Luther