{"id":15037734,"url":"https://github.com/couchbase/couchbase-lite-ios","last_synced_at":"2025-05-14T04:07:46.273Z","repository":{"id":6703110,"uuid":"7948548","full_name":"couchbase/couchbase-lite-ios","owner":"couchbase","description":"Lightweight, embedded, syncable NoSQL database engine for iOS and MacOS apps.","archived":false,"fork":false,"pushed_at":"2025-05-07T16:29:26.000Z","size":67920,"stargazers_count":1636,"open_issues_count":8,"forks_count":297,"subscribers_count":82,"default_branch":"master","last_synced_at":"2025-05-07T17:29:34.419Z","etag":null,"topics":["database","ios","macos","mobile","nosql","objective-c","swift","sync"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/couchbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-02-01T00:09:26.000Z","updated_at":"2025-04-29T22:20:52.000Z","dependencies_parsed_at":"2023-10-20T19:02:31.629Z","dependency_job_id":"c3319851-1121-4e79-8559-bdd01cb6a549","html_url":"https://github.com/couchbase/couchbase-lite-ios","commit_stats":{"total_commits":4344,"total_committers":70,"mean_commits":62.05714285714286,"dds":0.4953959484346224,"last_synced_commit":"df3a7d9ef1abe36bdd142ad52e53e3a242586785"},"previous_names":[],"tags_count":102,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fcouchbase-lite-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fcouchbase-lite-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fcouchbase-lite-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fcouchbase-lite-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/couchbase","download_url":"https://codeload.github.com/couchbase/couchbase-lite-ios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254069407,"owners_count":22009540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","ios","macos","mobile","nosql","objective-c","swift","sync"],"created_at":"2024-09-24T20:35:29.324Z","updated_at":"2025-05-14T04:07:46.235Z","avatar_url":"https://github.com/couchbase.png","language":"Objective-C","funding_links":[],"categories":["sync"],"sub_categories":[],"readme":"\n# Couchbase Lite for iOS and MacOS\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Build Status](https://travis-ci.org/couchbase/couchbase-lite-ios.svg?branch=master)](https://travis-ci.org/couchbase/couchbase-lite-ios) [![Coverage Status](https://coveralls.io/repos/github/couchbase/couchbase-lite-ios/badge.svg?branch=master)](https://coveralls.io/github/couchbase/couchbase-lite-ios?branch=master)\n\n**Couchbase Lite** is an embedded lightweight, document-oriented (NoSQL), syncable database engine.\n\nCouchbase Lite implementation is on top of [Couchbase Lite Core](https://github.com/couchbase/couchbase-lite-core), which is also a new cross-platform implementation of database CRUD and query features, as well as document versioning.\n\n\n## Requirements\n- iOS 12.0+ | macOS 12+\n\n- iOS 12.0+ | macOS 12.0+\n\n## Installation\n\n### Swift Package \n\n#### Requirements:\n- XCode 12+\n\n##### Community Edition\n```\ndependencies: [\n        .package(name: \"CouchbaseLiteSwift\",\n                 url: \"https://github.com/couchbase/couchbase-lite-ios.git\", \n                 from: \"3.2.0\"),\n    ],\n```\n\n##### Enterprise Edition\n\n```\ndependencies: [\n        .package(name: \"CouchbaseLiteSwift\",\n                 url: \"https://github.com/couchbase/couchbase-lite-swift-ee.git\", \n                 from: \"3.2.0\"),\n    ],\n```\n\nMore detailed information on how to setup is available here: [swift package manager](https://docs.couchbase.com/couchbase-lite/current/swift/start/swift-gs-install.html)\n\n### CocoaPods\n\nYou can use [CocoaPods](https://cocoapods.org/) to install `CouchbaseLite` for Objective-C API or `CouchbaseLiteSwift` for Swift API by adding it in your [Podfile](https://guides.cocoapods.org/using/the-podfile.html):\n\n#### Objective-C\n\n##### Community Edition\n```\ntarget '\u003cyour target name\u003e' do\n  use_frameworks!\n  pod 'CouchbaseLite'\nend\n```\n\n##### Enterprise Edition\n```\ntarget '\u003cyour target name\u003e' do\n  use_frameworks!\n  pod 'CouchbaseLite-Enterprise'\nend\n```\n\n#### Swift\n\n##### Community Edition\n```\ntarget '\u003cyour target name\u003e' do\n  use_frameworks!\n  pod 'CouchbaseLite-Swift'\nend\n```\n\n##### Enterprise Edition\n```\ntarget '\u003cyour target name\u003e' do\n  use_frameworks!\n  pod 'CouchbaseLite-Swift-Enterprise'\nend\n```\n\n### Carthage\n\nYou can use [Carthage](https://github.com/Carthage/Carthage) to install `CouchbaseLite` by adding it in your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile):\n\n##### Community Edition\n```\nbinary \"https://packages.couchbase.com/releases/couchbase-lite-ios/carthage/CouchbaseLite-Community.json\"\n```\n\n##### Enterprise Edition\n```\nbinary \"https://packages.couchbase.com/releases/couchbase-lite-ios/carthage/CouchbaseLite-Enterprise.json\"\n```\n\n\u003e When running `carthage update or build`, Carthage will build both CouchbaseLite and CouchbaseLiteSwift framework.\n\n## How to build the framework files.\n\n1. Clone the repo and update submodules\n\n```\n$ git clone https://github.com/couchbase/couchbase-lite-ios.git\n$ cd couchbase-lite-ios\n$ git submodule update --init --recursive\n```\n\n2. If not already installed, install _doxygen_, `brew install doxygen`\n\n3. Run ./Scripts/build_framework.sh to build a platform framework which could be either an Objective-C or a Swift framework. The supported platforms include iOS, tvOS, and macOS.\n\n```\n$ ./Scripts/build_framework.sh -s \"CBL ObjC\" -p iOS -o output    // For building the ObjC framework for iOS\n$ ./Scripts/build_framework.sh -s \"CBL Swift\" -p iOS -o output   // For building the Swift framework for iOS\n```\n\n## Documentation\n\n- [Swift](https://docs.couchbase.com/couchbase-lite/current/swift/quickstart.html)\n- [Objective-C](https://docs.couchbase.com/couchbase-lite/current/objc/quickstart.html)\n\n## Sample Apps\n\n- [Todo](https://github.com/couchbaselabs/mobile-training-todo) : Objective-C and Swift\n\n\n## License\n\nLike all Couchbase source code, this is released under the Apache 2 [license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouchbase%2Fcouchbase-lite-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcouchbase%2Fcouchbase-lite-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouchbase%2Fcouchbase-lite-ios/lists"}