I'm using Xcode 12.4 and I upgraded cocoapods to 1.10.1
and updated my all of my Firebase pods. Afterwards when I ran the project I kept getting an InstanceID()
error. I then googled it and it turns out FirebaseInstanceID is deprecated and I had to use Firebase/Installations
:
// add this to the podfile
pod 'Firebase/Installations'
$ pod install
After the Firebase/Installations update I kept getting the error:
FirebaseInstallations will not work correctly with current version of Firebase Instance ID. Please update your Firebase Instance ID version.
It didn't make any sense because FirebaseInstanceID is deprecated so how could I update it. I followed this GitHub thread which was of no help.