Details
-
Improvement
-
Resolution: Won't Fix
-
Minor
-
None
-
Mobile 3.0
-
None
-
1
Description
https://docs.couchbase.com/couchbase-lite/current/swift/gs-install.html#lbl-install-tabs
The method for installing dependencies has changed:
dependencies: [
|
.package(name: "CouchbaseLiteSwift", |
url: "insert Couchbase Lite URL", |
from: "3.0.1"), |
],
|
The name parameter for .package has been deprecated. To install the Couchbase Lite framework, change the declaration to this:
dependencies: [
|
.package(url: "insert Couchbase Lite URL", from: "3.0.1"), |
],
|
And then add the package name in the target identifier, like this:
targets: [ .target(name: "ParentPackage", |
.target(
|
name: "ParentPackage", |
dependencies: [.product(name: "CouchbaseLiteSwift", package: "couchbase-lite-swift-ee")]), |
]
|