What's minimum version on ios platform of google_mobile_ads 5.0.0 flutter plugin?

982 views
Skip to first unread message

Albert Huang

unread,
Mar 20, 2024, 5:54:02 PM3/20/24
to Google Mobile Ads SDK Developers
Hi all,

As title, I can't build ios package successfully after I upgrade google_mobile_ads to 5.0.0 verison. 

It's show error message just like below.

"
CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
      In snapshot (Podfile.lock):
        Google-Mobile-Ads-SDK (= 10.11.0, ~> 10.11.0)

      In Podfile:
        google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 1.0.0, which
        depends on
          Google-Mobile-Ads-SDK (~> 11.2.0)
"

"Error: The pod "Google-Mobile-Ads-SDK" required by the plugin "google_mobile_ads" requires a higher minimum
iOS deployment version than the plugin's reported minimum version.
To build, remove the plugin "google_mobile_ads", or contact the plugin's developers for assistance.
Error running pod install"

What's version I should target to?  I already try 17.0 but still can't build.
Appreciate for any suggestion. Thanks in advance.


Albert Huang

unread,
Mar 21, 2024, 12:20:06 AM3/21/24
to Google Mobile Ads SDK Developers
Already fixed by myself.

Just record here to help any who run into the same issue.

Run `pod update` and then `pop install` can install correct  Google-Mobile-Ads-SDK version.

I use ios 15 build target version on my app.

James Kirkham

unread,
Nov 5, 2024, 1:25:39 PM11/5/24
to Google Mobile Ads SDK Developers
I can confirm this also fixed my issue
Reply all
Reply to author
Forward
0 new messages