RxSwiftCommunity / RxRealm

RxSwift extension for RealmSwift's types
MIT License
1.15k stars 263 forks source link

RXRealm 5.0.6 is not pushed to main cocapod repo trunk #208

Closed fpedro23 closed 4 months ago

fpedro23 commented 7 months ago

Trying to update RXRealm to 5.0.6 is not successful because the spec hasn't been pushed to the main repo: https://github.com/search?q=repo%3ACocoaPods%2FSpecs+RxRealm&type=commits

https://cocoapods.org/pods/RxRealm

[!] CocoaPods could not find compatible versions for pod "RxRealm":
  In Podfile:
    RxRealm (~> 5.0.6)

None of your spec sources contain a spec satisfying the dependency: `RxRealm (~> 5.0.6)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
mensly commented 4 months ago

One workaround for this is to target the tag on Github. Replace

pod 'RxRealm', "~> 5.0.6"

with:

# FIXME https://github.com/RxSwiftCommunity/RxRealm/issues/201
pod 'RxRealm', :git => 'https://github.com/RxSwiftCommunity/RxRealm.git', :tag => 'v5.0.6'
pod 'RealmSwift', "~> 10.40.1"

I don't like linking a dependency to Github like this, but Apple are requiring builds to be compiled in Xcode 15 in April.