RxBus-Swift icon indicating copy to clipboard operation
RxBus-Swift copied to clipboard

Versions conflict with RxSwift.

Open orojasnypost opened this issue 2 years ago • 3 comments

I have a problem, I want to upgrade to RxSwift 6.5 but when I do it installs RxBus version 1.0.0, whereas RxSwift 5.5 installs RxBus version 1.3.1.

I have tried pointing in my podfile directly to the repository and try with different tags, if I try to use tag 1.3.2 or 1.3.1 it gives me the error: [!] Unable to find a specification for 'RxBus'. if I try to use tag 1.3.0 it installs version 1.2.1 but again it forces RxSwift to 5.5.

I've tried specifying directly the version of RxBus and RxSwift in the podfile but then I get these errors.

 RxBus was resolved to 1.3.1, which depends on
          RxSwift (~> 5.0)

So it seems that RxBus 1.3.1 depends on RxSwift ~> 5.0 and RxBus 1.0.0 depends on RxSwift ~> 6.5 which makes no sense. Or is there any reason for this?

orojasnypost avatar Dec 16 '22 12:12 orojasnypost

RxBus no longer supports CocoaPods.

The last version of CocoaPods is stuck at RxSwift 5.0.

To solve your problem you need to replace RxBus with Swift Package Manager.

DavinAhn avatar Dec 16 '22 12:12 DavinAhn

In no other way. There is a way to use the RxBus.swift file by adding it directly to your project.

DavinAhn avatar Dec 16 '22 12:12 DavinAhn

I replaced RxBus with Swift Package Manager and now I'm getting these errors at build.

Screenshot 2022-12-16 at 7 39 44

orojasnypost avatar Dec 16 '22 13:12 orojasnypost