cocoapods Google-Mobile-Ads-SDK version conflict

2,862 views
Skip to first unread message

Nicholas Bergh

unread,
Mar 18, 2022, 8:10:53 PM3/18/22
to Google Mobile Ads SDK Developers
I'm getting the following error when building for iOS:

Error building Player: iOS framework addition failed due to a CocoaPods installation failure. This will will likely result in an non-functional Xcode project.

After the failure, "pod repo update" was executed and succeeded. "pod install" was then attempted again, and still failed. This may be due to a broken CocoaPods installation. See: https://guides.cocoapods.org/using/troubleshooting.html for potential solutions.

pod install output:

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

    GoogleMobileAdsMediationAppLovin (= 11.0.0.0) was resolved to 11.0.0.0, which depends on
      Google-Mobile-Ads-SDK (~> 8.0)

Specs satisfying the `Google-Mobile-Ads-SDK (~> 9.0), Google-Mobile-Ads-SDK (~> 8.0)` dependency were found, but they required a higher minimum deployment target.



I can get past this (I think) by manually changing the GoogleMobileAdsMediationAppLovin version to 11.1.0.0 in the Podfile created after the build since that one requires Google-Mobile-Ads-SDK (~> 9.0). Is there a way to make that happen automatically on every build? I'd like to be able to get through a whole build and run without error or any manual steps.

Nicholas Bergh

unread,
Mar 18, 2022, 8:37:08 PM3/18/22
to Google Mobile Ads SDK Developers
Nevermind, I found the most recent download of AppLovinUnityAdapter-6.1.0 and this solved the issue.

Mobile Ads SDK Forum Advisor

unread,
Mar 21, 2022, 10:27:38 AM3/21/22
to ni...@snakestripe.com, google-adm...@googlegroups.com

Hi Nicholas,

I'm glad to know that you're able to solve your concern. If you have any other concerns related to the Google Mobile Ads SDK, kindly provide us the details of your concern. We'll be happy to assist you.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 

 



ref:_00D1U1174p._5004Q2YpQSh:ref
Reply all
Reply to author
Forward
0 new messages