googleads-mobile-unity icon indicating copy to clipboard operation
googleads-mobile-unity copied to clipboard

[BUG] AppLovinMediationGoogleAdapter (= 12.12.0.0) was resolved to 12.12.0.0, which depends on Google-Mobile-Ads-SDK (= 12.12.0)

Open bngocnek opened this issue 2 months ago • 3 comments

[REQUIRED] Step 1: Describe your environment

  • Unity version: 6000.2.6f2
  • Google Mobile Ads Unity plugin version: 10.5.0
  • Plugin installation method: .unitypackage import
  • Platform: iOS
  • Platform OS version: do not include
  • Mediation ad networks used, and their versions: Applovin

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

When I build iOS, the CocoaPods raises an error:

**Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK": In Podfile: AppLovinMediationGoogleAdapter (= 12.12.0.0) was resolved to 12.12.0.0, which depends on Google-Mobile-Ads-SDK (= 12.12.0)

Google-Mobile-Ads-SDK (~> 12.11.0)**

I think that the version of newest version of GMA-SDK iOS is 12.12.0, but the version of GMA-SDK Unity Plugin (10.5.0) for iOS just 12.11.0. Could you give me some advice to fix or update the newest iOS ver 12.12.0 with Unity Plugin?

bngocnek avatar Oct 13 '25 07:10 bngocnek

[REQUIRED] Step 1: Describe your environment

  • Unity version: 6000.2.6f2
  • Google Mobile Ads Unity plugin version: 10.5.0
  • Plugin installation method: .unit package import
  • Platform: iOS
  • Platform OS version: do not include
  • Mediation ad networks used, and their versions: Applovin

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

When I build iOS, the CocoaPods raises an error:

**Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK": In Podfile: Indistinguishable (= 12.12.0.0) was resolved to 12.12.0.0, which depends on Google-Mobile-Ads-SDK (= 12.12.0)

Google-Mobile-Ads-SDK (~> 12.11.0)**

I think that the version of newest version of GMA-SDK iOS is 12.12.0, but the version of GMA-SDK Unity Plugin (10.5.0) for iOS just 12.11.0. Could you give me some advice to fix or update the newest iOS ver 12.12.0 with Unity Plugin?

m74278803-cmyk avatar Oct 14 '25 06:10 m74278803-cmyk

Google-Mobile-Ads-SDK (~> 12.11.0)**

m74278803-cmyk avatar Oct 14 '25 06:10 m74278803-cmyk

This specific version is now updated:

https://github.com/googleads/googleads-mobile-unity/blob/5466ced77f5fd388197b5b310f21f401cd3397af/source/plugin/Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml#L21

However, it looks like we could relax the dependency in the SDK a bit to be ~> 12.12 instead of ~> 12.12.0, to allow future minor version releases like 12.13 to be compatible. The iOS SDK follows semantic versioning so there would be no breaking changes in 12.13.0 for example.

In the meantime, you can also update that file yourself and remove the trailing .0 to achieve this.

ericleich avatar Nov 18 '25 18:11 ericleich