[BUG] AppLovinMediationGoogleAdapter (= 12.12.0.0) was resolved to 12.12.0.0, which depends on Google-Mobile-Ads-SDK (= 12.12.0)
[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?
[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?
Google-Mobile-Ads-SDK (~> 12.11.0)**
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.