A newer version of this documentation is available.

View Latest

Installation - Couchbase Lite on Objective-C

    March 23, 2025
    + 12

    Description — Installing Couchbase Lite on Objective-C

    Get Started

    Create or open an existing Xcode project and install Couchbase Lite 3.0.15 using one of the Install Methods methods shown.

    Couchbase Lite is distributed as an xcframework, to support this:

    • The minimum required Cocoapods version is 1.9

    • The minimum required Carthage version is 38.0

    Install Methods

    • Get the binary download here — Extend with Mobile.

    • Unpack the download

    • Within Finder, Drag CouchbaseLite.xcframework to the Xcode navigator.

    • Click on Project  General  Embedded Binary and add CouchbaseLite.xcframework to this section.

    • Import the xcframework and start using it in your project.

      objc
      #include <CouchbaseLite/CouchbaseLite.h> ...