question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 0.0.1, which depends on Google-Mobile-Ads-SDK (= 8.13.0) was resolved to 8.13.0, which depends on GoogleAppMeasurement (< 9.0, >= 7.0)

See original GitHub issue

Plugin Version

google_mobile_ads: ^1.3.0

Steps to Reproduce

pubspec.yaml

  firebase_core: ^1.19.1
  firebase_analytics: ^9.1.10
  cloud_firestore: ^3.2.1
  firebase_auth: ^3.4.1
  firebase_storage: ^10.3.1
  cloud_functions: ^3.3.1
  firebase_messaging: ^11.4.4
  firebase_crashlytics: ^2.8.4
  firebase_dynamic_links: ^4.3.1

  google_mobile_ads: ^1.3.0
  1. Run pod install.

Expected results: Non error.

Actual results: Error occurred.

[!] CocoaPods could not find compatible versions for pod "GoogleAppMeasurement":
  In Podfile:
    firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`) was resolved to 9.1.12, which depends on
      Firebase/Analytics (= 9.2.0) was resolved to 9.2.0, which depends on
        Firebase/Core (= 9.2.0) was resolved to 9.2.0, which depends on
          FirebaseAnalytics (~> 9.2.0) was resolved to 9.2.0, which depends on
            FirebaseAnalytics/AdIdSupport (= 9.2.0) was resolved to 9.2.0, which depends on
              GoogleAppMeasurement (= 9.2.0)

    google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 0.0.1, which depends on
      Google-Mobile-Ads-SDK (= 8.13.0) was resolved to 8.13.0, which depends on
        GoogleAppMeasurement (< 9.0, >= 7.0)

Logs

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:56
  • Comments:40 (1 by maintainers)

github_iconTop GitHub Comments

29reactions
jjliu15commented, Jul 27, 2022

This issue should be resolved in version 2.0.0 of the plugin, which updates the iOS GMA dependency to 9+

23reactions
mono0926commented, Jul 11, 2022

https://github.com/googleads/googleads-mobile-flutter/issues/594#issuecomment-1172875150

#590 was merged and update_version branch of https://github.com/jjliu15/googleads-mobile-flutter-1 has been deleted. So, current workaround is here:

  google_mobile_ads:
    git:
      url: https://github.com/googleads/googleads-mobile-flutter
      ref: 356875362ddb2ac2e0056385d2729c093722fb8d
      path: packages/google_mobile_ads
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unity Firebase + AdMob conflict (GoogleAppMeasurement)
Google-Mobile-Ads-SDK version 7.68 is only compatible with Firebase 7.x. If you want to use Firebase 6.x, you need to use 7.67 or earlier....
Read more >
Pod won't update to Google-Mobile_ads-SDK >=7.9.0
to Google Mobile Ads SDK Developers. In following the example for integrating AdMob/MobileAds, I have the following line of code:.
Read more >
Google-Mobile-Ads-SDK on CocoaPods.org
The SDK enables mobile app developers to maximize their monetization on Android, iOS, and Windows Phone 8. The Google Mobile Ads SDK is...
Read more >
Release Notes | iOS - Google Developers
Version Release Date Notes 9.14.0 2022‑12‑08 9.11.0 2022‑09‑20 Bug fixes and performance improvements. 9.9.0 2022‑08‑11 Bug fixes and performance improvements.
Read more >
google_mobile_ads | Flutter Package - Pub.dev
Flutter plugin for Google Mobile Ads, supporting banner, interstitial (full-screen), rewarded and native ads.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found