0

I always get this error when I run the 'pod install' command;

enter image description here

Here's the list of ways I've tried to fix it;

  • I deleted all pod files and reinstalled
  • pod install --repo-update
  • pod update
  • pod clean
  • sudo gem update cocoapods --pre
  • pod deintegrate
  • flutter clean

I would appreciate it if you could help me fix this error. Thanks

MuhammedYesilmen
  • 129
  • 1
  • 12
  • Did you delete podfile.lock too? If you didn't delete it and after that use commands in order: flutter clean, flutter pub get, pod install – Hazar Belge Aug 28 '21 at 11:16
  • Yes, I did that, it doesn't work. I always get the same error – MuhammedYesilmen Aug 28 '21 at 11:19
  • Can you check [this link](https://stackoverflow.com/questions/56055142/cocoapods-could-not-find-compatible-versions-for-pod-firebase-coreonly) – Hazar Belge Aug 28 '21 at 11:48
  • Thank you for your attention but I have done all the solutions in this link. Unfortunately it doesn't work – MuhammedYesilmen Aug 28 '21 at 11:57
  • What is your deployment target in Podfile? I had some similar issues when it was commented out or it was too low. I use Firebase with 12.1 as iOS deployment target. – Peter Koltai Aug 28 '21 at 12:06
  • It was 11, I changed it to 12 and reinstalled the pods but still getting this error – MuhammedYesilmen Aug 28 '21 at 12:15
  • @MuhammedYesilmen I also have a loop in `Podfile` that sets `IPHONEOS_DEPLOYMENT_TARGET` to 12.1 in every build configuration, have you tried something like that? – Peter Koltai Aug 28 '21 at 12:30

0 Answers0