Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the compatible version with 'Alamofire', '~> 5.0.0-rc.3' ? #298

Open
Bhargavi-Enrich opened this issue Dec 30, 2019 · 6 comments
Open

Comments

@Bhargavi-Enrich
Copy link

Bhargavi-Enrich commented Dec 30, 2019

In pods file

pod 'Alamofire', '~> 5.0.0-rc.3'
pod 'AlamofireObjectMapper', '~> 6.2.0'

In terminal I am getting below error.

Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Alamofire":
  In snapshot (Podfile.lock):
    Alamofire (= 5.0.0-rc.3, ~> 5.0.0-rc.3)

  In Podfile:
    Alamofire (~> 5.0.0-rc.3)

    AlamofireObjectMapper (~> 6.2.0) was resolved to 6.2.0, which depends on
      Alamofire (= 5.0.0-rc.2)

[!] Automatically assigning platform `iOS` with version `13.0` on target `EnrichPassport` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Can you please let me know what is the compatible version with Alamofire', '~> 5.0.0-rc.3' ?

@RomanPodymov
Copy link
Contributor

Hello @BHZiva
As a temporary workaround, replace pod 'AlamofireObjectMapper', '~> 6.2.0' with pod 'AlamofireObjectMapper', :git => 'https://github.com/tristanhimmelman/AlamofireObjectMapper.git', :tag => '6.3.0' in your Podfile.

@o15a3d4l11s2
Copy link

Are there plans to switch to a non-rc version of Alamofire?

@o15a3d4l11s2
Copy link

@RomanPodymov, I have some pods that require Alamofire > 5.0 and it conflicts with AlamofireObjectMapper having a specific version of 5.0.0-rc.2 or 5.0.0-rc.3. Since Alamofire is out of beta now, would AlamofireObjectMapper be updated to support it?

@Bhargavi-Enrich
Copy link
Author

Bhargavi-Enrich commented Apr 28, 2020

@o15a3d4l11s2 try below once.

pod 'Alamofire', '~> 5.0.0-rc.3'
pod 'AlamofireObjectMapper', '~> 6.2.0'

@o15a3d4l11s2
Copy link

Thanks, @BHZiva, but unfortunately this does not work for me. Alamofire should be s.dependency "Alamofire", "> 5.0" as described in https://github.com/bustoutsolutions/siesta/blob/master/Siesta.podspec and AlamofireObjectMapper has s.dependency 'Alamofire', '5.0.0-rc.3', which results in error when installing the pods.

@RomanPodymov
Copy link
Contributor

RomanPodymov commented Apr 28, 2020

Hello @o15a3d4l11s2
Replace pod 'AlamofireObjectMapper', :git => 'https://github.com/tristanhimmelman/AlamofireObjectMapper.git', :tag => '6.3.0' with pod 'AlamofireObjectMapper', :git => 'https://github.com/RomanPodymov/AlamofireObjectMapper.git' in your Podfile. I already created a pull request with Alamofire 5.1 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants