1
votes

Am trying to use Couchbase Lite, I do everything from here http://developer.couchbase.com/documentation/mobile/1.1.0/develop/training/build-first-ios-app/create-new-project/index.html but I get error:

ld: building for iOS simulator, but linking against dylib built for OSX, file '/Documents/xcode/Couchbase Lite/Couchbase Lite/CouchbaseLite.framework/CouchbaseLite' for architecture x86_64

Thanks

1
Make sure you're downloading the Couchbase Mobile SDK, and not the Couchbase Server SDK from the downloads page. - JAL
I suggest you to use library via Cocoapods instead of manually installation.You can check Couchbase at github. - ridvankucuk
check cblite data using this approach : stackoverflow.com/a/52491560/3400991 - Shobhakar Tiwari

1 Answers

1
votes

It appears like you've integrated Couchbase Lite framework for OS X. You can't use OS X binaries in iOS Simulator apps; they aren't compatible.

Download iOS framework by clicking here. That should solve your problem.