couchbase/couchbase-lite-ios
couchbase/couchbase-lite-ios has 1,666 GitHub stars and 304 forks. GitHot measured 0 stars in 24 hours, +1 in 7 days, and +1 in 15 days. Last checked 2026-11-24 10:44 UTC. Last push 2026-11-16.
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
适用于 iOS 和 MacOS 应用的轻量级嵌入式可同步 NoSQL 数据库引擎。
数据README.md
原文Couchbase Lite for iOS and MacOS
Couchbase Lite is an embedded lightweight, document-oriented (NoSQL), syncable database engine.
Couchbase Lite implementation is on top of Couchbase Lite Core, which is also a new cross-platform implementation of database CRUD and query features, as well as document versioning.
Requirements
- Xcode 26.4+
- iOS 15.0+
- macOS 13.0+
Installation
Swift Package
Community Edition
dependencies: [
.package(name: "CouchbaseLiteSwift",
url: "https://github.com/couchbase/couchbase-lite-swift.git",
from: "4.0.0"),
],
Enterprise Edition
dependencies: [
.package(name: "CouchbaseLiteSwift",
url: "https://github.com/couchbase/couchbase-lite-swift-ee.git",
from: "4.0.0"),
],
More detailed information on how to setup is available here: swift package manager
CocoaPods
Swift Package Manager is the recommended installation method for new projects. CocoaPods remains supported; add the pod that matches the API and edition you want to your Podfile:
| API | Community Edition | Enterprise Edition |
|---|---|---|
| Objective-C | CouchbaseLite |
CouchbaseLite-Enterprise |
| Swift | CouchbaseLite-Swift |
CouchbaseLite-Swift-Enterprise |
target '<your target name>' do
use_frameworks!
pod 'CouchbaseLite-Swift'
end
How to build the framework files
- Clone the repo and update submodules
$ git clone https://github.com/couchbase/couchbase-lite-ios.git
$ cd couchbase-lite-ios
$ git submodule update --init --recursive
- Run ./Scripts/build_xcframework.sh to build an XCFramework for either Swift or Objective-C API.
# For building the Swift XCFramework
$ ./Scripts/build_xcframework.sh -s CBL_Swift -o output
# For building the ObjC XCFramework
$ ./Scripts/build_xcframework.sh -s CBL_ObjC -o output
Documentation
License
Like all Couchbase source code, this is released under the Apache 2 license.
探索相关项目
加载中…