<p>I ran into this error while trying to run pod install. Pls what can I do to fix this???</p>
<p>Kindly note that I have tried deleting podfile.lock, flutter clean, pod update, pod repo update, delete ios/pods file and .symlinks folder. None of this fix my issue. Pls help</p>
<pre><code>Analyzing dependencies
firebase_analytics: Using Firebase SDK version '9.5.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '9.5.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '9.5.0' defined in 'firebase_core'
firebase_database: Using Firebase SDK version '9.5.0' defined in 'firebase_core'
firebase_dynamic_links: Using Firebase SDK version '9.5.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '9.5.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod &quot;GoogleAppMeasurement&quot;:
  In snapshot (Podfile.lock):
    GoogleAppMeasurement (= 9.5.0)

  In Podfile:
    google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 2.1.0, which depends on
      Google-Mobile-Ads-SDK (= 8.13.0) was resolved to 8.13.0, which depends on
        GoogleAppMeasurement (&lt; 9.0, &gt;= 7.0)


You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * changed the constraints of dependency `GoogleAppMeasurement` inside your development pod `google_mobile_ads`.
   You should run `pod update GoogleAppMeasurement` to apply changes you've made.
</code></pre>

Ola
<p>The solution that works for me is;</p>
<ol>
<li>I change google_mobile_ads: 1.1.0 from pubspec.yaml to google_mobile_ads: ^2.1.0</li>
<li>Run flutter pub get</li>
<li>delete podfile.lock and .symlinks folder inside ios folder.</li>
<li>Run pod install, flutter clean and then flutter run.</li>
<li>It didn't run at first, I tried pod install --repo-update and flutter run again. Boom my build is successful</li>
</ol>
