I am working on a Flutter project and recently encountered an issue related to CocoaPods while integrating the firebase_crashlytics
plugin. When I try to run the project, I get the following error:
What I have tried: Running pod update Firebase/Crashlytics:
I tried running pod update Firebase/Crashlytics in the ios directory, but the issue persists.
Ensuring Latest Plugin Versions:
I updated the firebase_crashlytics plugin to the latest version in my pubspec.yaml file and ran flutter pub get.
Cleaning the Flutter Project:
I ran flutter clean and then reinstalled the CocoaPods by running pod install in the ios directory.
Removing Podfile.lock:
I also tried deleting the Podfile.lock and the Pods directory and reinstalled the pods with pod install.
However, the issue persists, and I can't find a resolution. The error suggests that there's a conflict between the Firebase/Crashlytics version specified in my Podfile.lock (10.12.0) and the one required by firebase_crashlytics (11.8.0).