I am trying to update, Firebase version to 8.4.0 and running into following error. To update, I specified the Firebase/Core, Firebase/Crashlytics, Firebase/Performance's version to 8.4.0 in my pod file. Now, when running pod install, I got following error.
Firebase/Crashlytics (~> 8.4.0) was resolved to 8.4.0, which depends on
FirebaseCrashlytics (~> 8.4.0) was resolved to 8.4.0, which depends on
nanopb (~> 2.30908.0)
I tried the solution that is provided online - rm -rf Podfile.lock
, but no luck.
Any idea, how to update nanopb too. Or what could be some other probable solutions.
So, The reason for Firebase not taking update in my existing project is another framework that has dependency on a lower of version of nanopb(1.30905.0).
I got the hint from paulb777's comment - "Examine Podfile.lock to see the dependency requirements. Not all pods allow their dependencies to update to latest." from https://github.com/firebase/firebase-ios-sdk/issues/4994
That is the issue in my case.