diff --git a/Package.swift b/Package.swift index dc7e3a1..73a0ac6 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.1 +// swift-tools-version:5.2 import PackageDescription @@ -10,7 +10,8 @@ let package = Package( products: [ .library( name: "RxCombine", - targets: ["RxCombine"]), + targets: ["RxCombine"] + ), ], dependencies: [ .package(url: "https://github.com/ReactiveX/RxSwift.git", from: "6.0.0") @@ -18,8 +19,12 @@ let package = Package( targets: [ .target( name: "RxCombine", - dependencies: ["RxSwift", "RxRelay"], - path: "Sources"), + dependencies: [ + "RxSwift", + .product(name: "RxRelay", package: "RxSwift"), + ], + path: "Sources" + ), .testTarget( name: "RxCombineTests", dependencies: ["RxCombine"], diff --git a/RxCombine.podspec b/RxCombine.podspec index 189ce21..9044649 100644 --- a/RxCombine.podspec +++ b/RxCombine.podspec @@ -23,5 +23,5 @@ Pod::Spec.new do |s| s.dependency 'RxSwift', '~> 6' s.dependency 'RxRelay', '~> 6' - s.swift_version = '5.1' + s.swift_version = '5.2' end \ No newline at end of file