Search code examples
iosxcodecouchbase-lite

Couchbase Lite and XCode 7 (Swift)


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


Solution

  • 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.