CocoaPods could not find compatible versions for pod "Firebase/CoreOnly"

Edit the minimum ios version in the podfile then run pod install.

Changing platform :ios, '9.0' to platform :ios, '10.0' then running pod install fixed it for me.


Just do a pod update and then pod install. This worked for me.


Try calling pod repo update

if the issue is not fixed

delete the Podfile.lock in the root directory, after that run pod install


🌟 For M1 Mac Users 

  1. Go to ios/Pods/Local Podspecs directory in your project
  2. Check every json file to find highest required iOS version. Mine was "ios": "10.0" in some of them
  3. Go back to ios/ directory
  4. Open Podfile file
  5. Uncomment # platform :ios, '9.0' and replace 9.0 with version from step 2. - for example 10.0.

then here comes the M1 specific part

  1. Run sudo arch -x86_64 gem install ffi

  2. Run arch -x86_64 pod repo update

  3. Run arch -x86_64 pod install error should be gone



  1. If using Flutter cd - back to your root directory - open iOS Simulator & run flutter run



  10. ENJOY !🌟 



If not working you might need to run flutter pub add firebase_coreto add firebase_core to your pubspec.yaml file Before Step 1




If still not working try this BONUS STEPS :

  • Trying to Run directly from Xcode ? First Run flutter build iOS in your Flutter project -> then Run in Xcode

  • Still not working cd iOS run rm -rf Pods/ Podfile.lock ; pod install

  • Still not working ? Search Keychain Access in Spotlight -> open -> Right-click on login -> Unlock (you will lock back when build succeeds)

  • Still not working ? Xcode Runner Info Screenshot make sure your Runner Info Configs look like this



Hope this helps ! Comment down bellow if still facing issues !