Skip to content

Commit

Permalink
Fix product dependency for RxRelay
Browse files Browse the repository at this point in the history
  • Loading branch information
via-guy committed Feb 27, 2024
1 parent 010ef6f commit ce79a31
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.1
// swift-tools-version:5.2

import PackageDescription

Expand All @@ -10,16 +10,21 @@ let package = Package(
products: [
.library(
name: "RxCombine",
targets: ["RxCombine"]),
targets: ["RxCombine"]
),
],
dependencies: [
.package(url: "https://github.com/ReactiveX/RxSwift.git", from: "6.0.0")
],
targets: [
.target(
name: "RxCombine",
dependencies: ["RxSwift", "RxRelay"],
path: "Sources"),
dependencies: [
"RxSwift",
.product(name: "RxRelay", package: "RxSwift"),
],
path: "Sources"
),
.testTarget(
name: "RxCombineTests",
dependencies: ["RxCombine"],
Expand Down
2 changes: 1 addition & 1 deletion RxCombine.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ce79a31

Please sign in to comment.