So I have several pods in my xcode project, which were all working fine. Then I added this 'SideMenu' pod, which told me I need to change the versions of one of my pods, so I did, and now my pods are all messed up. I'm trying to revert to what I had, which is:
platform :ios, '9.0'
target 'Jumper' do
use_frameworks!
# Pods for Jumper
pod 'Firebase/Firestore'
pod 'Firebase/Storage'
pod 'FirebaseUI/Storage', '~> 5.0'
end
When I changed my Podfile back to this, and did 'pod install', I am getting this error in my terminal:
[!] CocoaPods could not find compatible versions for pod
"Firebase/Storage":
In snapshot (Podfile.lock):
Firebase/Storage (= 6.27.0, ~> 6.0)
In Podfile:
Firebase/Storage
FirebaseUI/Storage (~> 5.0) was resolved to 5.2.2, which depends on
Firebase/Storage (~> 5.0)
I am not sure what the problem is or how to fix it. Any help would be much appreciated
You can try removing the '~> 5.0' part from the pod 'FirebaseUI/Storage', '~> 5.0'. Just keep the pod 'FirebaseUI/Storage'. I hope that should work.
If you really want the old FirebaseUI version, remove Podfile.lock
before pod install
. Or run pod update
instead of pod install
.
pod install
checks the Podfile.lock to prevent accidental version downgrades.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.