Installation - Couchbase Lite on Objective-C
Description — Installing Couchbase Lite on Objective-C
Get Started
Create or open an existing Xcode project and install Couchbase Lite using one of the Install Methods methods shown.
Xcode 12.3 Work Around
If you have downloaded a The recommended solution is to use an
|
Install Methods
-
Frameworks
-
Carthage
-
CocoaPods
-
In your Cartfile, add the following.
Couchbase Lite Community Editionrubybinary "https://packages.couchbase.com/releases/couchbase-lite-ios/carthage/CouchbaseLite-Community.json" ~> 2.8
Couchbase Lite Enterprise Editionrubybinary "https://packages.couchbase.com/releases/couchbase-lite-ios/carthage/CouchbaseLite-Enterprise.json" ~> 2.8
-
Run
carthage update --platform ios
. -
Drag CouchbaseLite.framework from Carthage/Build/ to the Xcode navigator.
-
Click on Project > General > Embedded Binary and add CouchbaseLite.framework to this section.
-
In your Podfile, add the following.
Couchbase Lite Community Editionrubytarget '<your target name>' do use_frameworks! pod 'CouchbaseLite', '~> 2.8' end
Couchbase Lite Enterprise Editionrubytarget '<your target name>' do use_frameworks! pod 'CouchbaseLite-Enterprise', '~> 2.8' end
-
Install the pods and open the .xcworkspace file generated by Cocoapods.
bashpod install