Error in installing the 'Firebase/Crashlytics' pod in Swift

This is issue was coming due to diff version of pods because the old firebase pods were not updated and the default new pod are installed with a higher version.

To install new pod and update the old pods

  1. We have to update the cocoa-pods
  2. Update specific pods so that other pods won't be disturbed

enter image description here


change

pod 'Firebase/Core'

to

pod 'Firebase/CoreOnly'

Edited:

For my case, I've specified pod version in Podfile, so I have to change this line in my Podfile.


Just a few steps

Step 1: Firebase/CoreOnly pod update

pod update 'Firebase/CoreOnly'

Step 2: pod install

pod install