ridi / RxBus-Swift

Event bus framework supports sticky events and subscribers priority based on RxSwift
MIT License
33 stars 5 forks source link

Versions conflict with RxSwift. #5

Open orojasnypost opened 1 year ago

orojasnypost commented 1 year ago

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.2or 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?

DavinAhn commented 1 year ago

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 commented 1 year ago

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

orojasnypost commented 1 year ago

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

Screenshot 2022-12-16 at 7 39 44