Skip to content

Commit ce79a31

Browse files
committed
Fix product dependency for RxRelay
1 parent 010ef6f commit ce79a31

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

Package.swift

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.2
22

33
import PackageDescription
44

@@ -10,16 +10,21 @@ let package = Package(
1010
products: [
1111
.library(
1212
name: "RxCombine",
13-
targets: ["RxCombine"]),
13+
targets: ["RxCombine"]
14+
),
1415
],
1516
dependencies: [
1617
.package(url: "https://github.com/ReactiveX/RxSwift.git", from: "6.0.0")
1718
],
1819
targets: [
1920
.target(
2021
name: "RxCombine",
21-
dependencies: ["RxSwift", "RxRelay"],
22-
path: "Sources"),
22+
dependencies: [
23+
"RxSwift",
24+
.product(name: "RxRelay", package: "RxSwift"),
25+
],
26+
path: "Sources"
27+
),
2328
.testTarget(
2429
name: "RxCombineTests",
2530
dependencies: ["RxCombine"],

RxCombine.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ Pod::Spec.new do |s|
2323
s.dependency 'RxSwift', '~> 6'
2424
s.dependency 'RxRelay', '~> 6'
2525

26-
s.swift_version = '5.1'
26+
s.swift_version = '5.2'
2727
end

0 commit comments

Comments
 (0)