CombineCommunity / RxCombine

Bi-directional type bridging between RxSwift and Apple's Combine framework
MIT License
1.03k stars 86 forks source link

Fix product dependency for RxRelay #39

Open via-guy opened 6 months ago

via-guy commented 6 months ago

In my project I have the following in my Package.swift

    dependencies: [
        .package(url: "https://github.com/ReactiveX/RxSwift.git", "6.0.0"..<"7.0.0"),
        .package(url: "https://github.com/CombineCommunity/RxCombine.git", "2.0.0"..<"3.0.0")
    ],
    targets: [
        .target(
            name: "MyProject",
            dependencies: [
                "RxSwift",
                .product(name: "RxCocoa", package: "RxSwift"),
                "RxCombine",
            ]
        ),

This throws the error

product 'RxRelay' required by package 'rxcombine' target 'RxCombine' not found.

My change fixes that.