RxASDataSources icon indicating copy to clipboard operation
RxASDataSources copied to clipboard

Pod specs seems to be pointing to old version of Texture (2.0)

Open MussaCharles opened this issue 4 years ago • 3 comments
trafficstars

Hello, thanks for a great tool. I have Texture 3.0.0 installed on my machine. But installing RxASDataSources failed with the following error

[!] CocoaPods could not find compatible versions for pod "Texture":
  In snapshot (Podfile.lock):
    Texture (= 3.0.0)

  In Podfile:
    RxASDataSources was resolved to 0.2, which depends on
      Texture (~> 2.0)

    Texture

Is this a known issue or should I point to a specific branch for update version of RxASDataSources which depends on Texture 3+, as described on the repo version history?

Here is how my Podfile looks like

 pod 'Texture' # Texture 3.0.0 (Latest version)
 pod 'RxASDataSources' # Attempting to add RxASDataSources (This gives the error above on 'pod install command'

MussaCharles avatar Dec 09 '20 04:12 MussaCharles

Updates: I was able to resolve the issue by explicitly pointing to master branch in the pod file like so: -

pod 'RxASDataSources',:git => 'https://github.com/RxSwiftCommunity/RxASDataSources.git',:branch => 'master'

I think cocoa pods release needs some updates so that we don't have to specify a branch. @foxware00

MussaCharles avatar Dec 09 '20 04:12 MussaCharles

Hi @MussaCharles I'm not actually running this repo, I've just contributed the fix for Texture 3.0. I've had to do the same thing as you. @dangthaison91 should be able to help

foxware00 avatar Jan 08 '21 15:01 foxware00

Hi @foxware00 thanks for clarification :)

MussaCharles avatar Jan 09 '21 09:01 MussaCharles