couchbase lite ios
3.2.1
CouchBase Liteは、埋め込まれた軽量、ドキュメント指向(NOSQL)、同期可能なデータベースエンジンです。
CouchBase Liteの実装は、CouchBase Lite Coreの上にあります。これは、データベースCRUDおよびクエリ機能の新しいクロスプラットフォーム実装、およびドキュメントバージョンの実装でもあります。
iOS 12.0+ | macOS 12+
iOS 12.0+ | macOS 12.0+
dependencies: [
.package(name: "CouchbaseLiteSwift",
url: "https://github.com/couchbase/couchbase-lite-ios.git",
from: "3.2.0"),
],
dependencies: [
.package(name: "CouchbaseLiteSwift",
url: "https://github.com/couchbase/couchbase-lite-swift-ee.git",
from: "3.2.0"),
],
セットアップの方法に関する詳細情報はこちらから入手できます:Swiftパッケージマネージャー
Podfileに追加することにより、Cocoapodsを使用して、Objective-C APIにCouchbaseLite CouchbaseLiteSwiftできます。
target '<your target name>' do
use_frameworks!
pod 'CouchbaseLite'
end
target '<your target name>' do
use_frameworks!
pod 'CouchbaseLite-Enterprise'
end
target '<your target name>' do
use_frameworks!
pod 'CouchbaseLite-Swift'
end
target '<your target name>' do
use_frameworks!
pod 'CouchbaseLite-Swift-Enterprise'
end
Carthageを使用してCouchbaseLiteにインストールして、Cartfileに追加できます。
binary "https://packages.couchbase.com/releases/couchbase-lite-ios/carthage/CouchbaseLite-Community.json"
binary "https://packages.couchbase.com/releases/couchbase-lite-ios/carthage/CouchbaseLite-Enterprise.json"
carthage update or buildを実行すると、CarthageはCouchbaseliteとCouchbaseLiteswiftの両方のフレームワークを構築します。
$ git clone https://github.com/couchbase/couchbase-lite-ios.git
$ cd couchbase-lite-ios
$ git submodule update --init --recursive
まだインストールされていない場合は、 doxygenをインストールし、 brew install doxygen
./scripts/build_framework.shを実行して、Objective-CまたはSwiftフレームワークのいずれかである可能性のあるプラットフォームフレームワークを構築します。サポートされているプラットフォームには、iOS、TVO、およびMacOSが含まれます。
$ ./Scripts/build_framework.sh -s "CBL ObjC" -p iOS -o output // For building the ObjC framework for iOS
$ ./Scripts/build_framework.sh -s "CBL Swift" -p iOS -o output // For building the Swift framework for iOS
すべてのCouchBaseソースコードと同様に、これはApache 2ライセンスの下でリリースされます。