Skip to content

Commit 15f25dc

Browse files
authored
1 parent 65bec4c commit 15f25dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,12 @@ Create a `Package.swift` file.
209209
import PackageDescription
210210

211211
let package = Package(
212-
name: "RxTestProject",
212+
name: "RxProject",
213213
dependencies: [
214-
.package(url: "https://github.com/ReactiveX/RxSwift.git", .exact("6.6.0"))
214+
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0"))
215215
],
216216
targets: [
217-
.target(name: "RxTestProject", dependencies: ["RxSwift", "RxCocoa"])
217+
.target(name: "RxProject", dependencies: ["RxSwift", .product(name: "RxCocoa", package: "RxSwift")]),
218218
]
219219
)
220220
```

0 commit comments

Comments
 (0)