couchbase lite ios
3.2.1
Couchbase Lite 는 내장 된 경량, 문서 지향 (NOSQL), 동기화 가능한 데이터베이스 엔진입니다.
Couchbase Lite 구현은 Couchbase Lite Core 위에 있으며 데이터베이스 CRUD 및 쿼리 기능의 새로운 크로스 플랫폼 구현 및 문서 버전화입니다.
iOS 12.0+ | 마코스 12+
iOS 12.0+ | 마코스 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 패키지 관리자
Cocoapods를 사용하여 Podfile에 추가하여 Swift 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를 사용하여 Cartfile에 추가하여 CouchbaseLite 설치할 수 있습니다.
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를 실행하여 객관적인 C 또는 신속한 프레임 워크가 될 수있는 플랫폼 프레임 워크를 구축하십시오. 지원되는 플랫폼에는 iOS, TVOS 및 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 라이센스에 따라 릴리스됩니다.