Hey everyone,
I'm encountering some persistent errors when trying to update my CocoaPods. I ran pod update
in my project directory, and it failed with the following output:
Analyzing dependencies
Fetching external sources
Resolving dependencies with boring dependencies
Removing unneeded Pods
[!] CocoaPods could not find compatible versions for pod "Alamofire":
In snapshot-lockfile:
Alamofire (= 5.4.4)
In spec repo 'trunk':
Alamofire (from `https://github.com/CocoaPods/Specs.git`, branch `master`)
It seems the version of the pod you've requested differs from the version of the pod that you have installed.
This is usually because you have a 'podname' entry in your Podfile that is pinned to a specific version.
To fix this, run:
pod update [PODNAME]
I've tried running pod update Alamofire
, but it still gives me a similar error, sometimes mentioning other pods as well.
My Podfile looks like this:
platform :ios, '13.0'
target 'MyApp' do
use_frameworks!
pod 'Alamofire', '~> 5.0'
pod 'Kingfisher', '~> 5.10.0'
pod 'Firebase/Core'
pod 'Firebase/Auth'
end
Has anyone else faced this and found a reliable solution? I'm stuck!