RxSwiftCommunity / RxFirebase

RxSwift extensions for Firebase
MIT License
224 stars 66 forks source link

How do I solve this dependency issue? #46

Open WestFlow127 opened 3 years ago

WestFlow127 commented 3 years ago

I am trying to update my RxSwift and RxFirebase pods to be above version 6... I am getting the following cocoa pod error:

CocoaPods could not find compatible versions for pod "RxFirebase/Firestore":
  In Podfile:
    RxFirebase/Firestore (= 0.3.11)

None of your spec sources contain a spec satisfying the dependency: `RxFirebase/Firestore (= 0.3.11)`.

then when I try to install to a commit where version 0.3.11 is implemented, like so:

pod 'RxFirebase/Auth', :git => 'https://github.com/RxSwiftCommunity/RxFirebase', :commit => '3d3b1e37e3cfb10e35b2a3439af29e0681c49266'

I get this error:

    Action was resolved to 4.2.0, which depends on
      RxSwift (< 7.0, >= 5.0)

    Moya/RxSwift (= 15.0.0) was resolved to 15.0.0, which depends on
      RxSwift (~> 6.0)

    RxAppState (~> 1.7.1) was resolved to 1.7.1, which depends on
      RxSwift (~> 6.2)

    RxCocoa (~> 6.2.0) was resolved to 6.2.0, which depends on
      RxSwift (= 6.2.0)

    RxFirebase/Firestore (from `https://github.com/RxSwiftCommunity/RxFirebase`, commit `3d3b1e37e3cfb10e35b2a3439af29e0681c49266`) was resolved to 0.3.11, which depends on
      RxFirebaseFirestore (~> 0.3) was resolved to 0.3.6, which depends on
        RxSwift (~> 4)

    RxSwift (~> 6.2.0)

It seems that the RxFirebase/Firestore v0.3.11 depends on RxFirebaseFirestore (~> 0.3) and uses RxSwift 4....

I am confused and need help resolving this issue.. Any suggestions?