googleads / googleads-mobile-unity

Official Unity Plugin for the Google Mobile Ads SDK
https://developers.google.com/admob/unity
Apache License 2.0
1.37k stars 1.08k forks source link

CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK" GoogleMobileAdsMediationFacebook #3115

Closed danganhhao closed 6 months ago

danganhhao commented 8 months ago

Unity version: 2021.3.33f1 Google Mobile Ads Unity plugin version: 8.6.0 Platform: iOS UnityAdsMediationAdapter: 3.9.0 MetaAudienceNetworkUnityAdapter: 3.11.0

Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
  In Podfile:
    Google-Mobile-Ads-SDK (~> 10.13)

    GoogleMobileAdsMediationFacebook (= 6.10.0.0) was resolved to 6.10.0.0, which depends on
      Google-Mobile-Ads-SDK (~> 9.0)

Specs satisfying the `Google-Mobile-Ads-SDK (~> 10.13), Google-Mobile-Ads-SDK (~> 9.0)` dependency were found, but they required a higher minimum deployment target.
NVentimiglia commented 8 months ago

Hi @danganhhao

When I imported the meta adapter my pod file looked like this

source 'https://cdn.cocoapods.org/'
source 'https://github.com/CocoaPods/Specs'

platform :ios, '13.0'

target 'UnityFramework' do
  pod 'Firebase/Analytics', '10.15.0'
  pod 'Firebase/Core', '10.15.0'
  pod 'GoogleMobileAdsMediationFacebook', '6.14.0.0'
  pod 'Google-Mobile-Ads-SDK', '~> 10.14'
end
target 'Unity-iPhone' do
end
use_frameworks! :linkage => :static

Try updating to the latest version and trying again.

uchar commented 5 months ago

@NVentimiglia applovin still have error with latest version