Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CocoaPods could not find compatible versions for pod "AppLovinMediationGoogleAdManagerAdapter" - Lastest version #344

Closed
tracer8 opened this issue Mar 13, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@tracer8
Copy link

tracer8 commented Mar 13, 2024

MAX Plugin Version

12.3.0

Unity Version

2020.3.42f1
Minium Target IOS: 11.0

Device/Platform Info

No

Current Behavior

I got this error when build with lastest version of MAX SDK. I already upgrade all adapters to lastest version:


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 "AppLovinMediationGoogleAdapter":
  In Podfile:
    AppLovinMediationGoogleAdapter (= 11.1.0.0)

Specs satisfying the `AppLovinMediationGoogleAdapter (= 11.1.0.0)` dependency were found, but they required a higher minimum deployment target.



[!] Found multiple specifications for `AppLovinMediationByteDanceAdapter (5.8.0.7.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/8/1/8/AppLovinMediationByteDanceAdapter/5.8.0.7.0/AppLovinMediationByteDanceAdapter.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/8/1/8/AppLovinMediationByteDanceAdapter/5.8.0.7.0/AppLovinMediationByteDanceAdapter.podspec.json

[!] Found multiple specifications for `AppLovinMediationFacebookAdapter (6.14.0.1)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/5/3/b/AppLovinMediationFacebookAdapter/6.14.0.1/AppLovinMediationFacebookAdapter.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/5/3/b/AppLovinMediationFacebookAdapter/6.14.0.1/AppLovinMediationFacebookAdapter.podspec.json

[!] Found multiple specifications for `AppLovinMediationGoogleAdapter (11.1.0.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/0/1/d/AppLovinMediationGoogleAdapter/11.1.0.0/AppLovinMediationGoogleAdapter.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/0/1/d/AppLovinMediationGoogleAdapter/11.1.0.0/AppLovinMediationGoogleAdapter.podspec.json

[!] Found multiple specifications for `AppLovinMediationGoogleAdManagerAdapter (11.1.0.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/d/7/6/AppLovinMediationGoogleAdManagerAdapter/11.1.0.0/AppLovinMediationGoogleAdManagerAdapter.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/d/7/6/AppLovinMediationGoogleAdManagerAdapter/11.1.0.0/AppLovinMediationGoogleAdManagerAdapter.podspec.json

[!] Found multiple specifications for `AppLovinMediationInMobiAdapter (10.6.4.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/c/4/1/AppLovinMediationInMobiAdapter/10.6.4.0/AppLovinMediationInMobiAdapter.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/c/4/1/AppLovinMediationInMobiAdapter/10.6.4.0/AppLovinMediationInMobiAdapter.podspec.json

[!] Found multiple specifications for `AppLovinMediationIronSourceAdapter (7.9.0.0.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/9/7/e/AppLovinMediationIronSourceAdapter/7.9.0.0.0/AppLovinMediationIronSourceAdapter.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/9/7/e/AppLovinMediationIronSourceAdapter/7.9.0.0.0/AppLovinMediationIronSourceAdapter.podspec.json

[!] Found multiple specifications for `AppLovinMediationMintegralAdapter (7.5.9.0.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/4/b/f/AppLovinMediationMintegralAdapter/7.5.9.0.0/AppLovinMediationMintegralAdapter.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/4/b/f/AppLovinMediationMintegralAdapter/7.5.9.0.0/AppLovinMediationMintegralAdapter.podspec.json

[!] Found multiple specifications for `AppLovinMediationUnityAdsAdapter (4.9.3.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/4/d/f/AppLovinMediationUnityAdsAdapter/4.9.3.0/AppLovinMediationUnityAdsAdapter.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/4/d/f/AppLovinMediationUnityAdsAdapter/4.9.3.0/AppLovinMediationUnityAdsAdapter.podspec.json

[!] Found multiple specifications for `AppLovinMediationVungleAdapter (7.2.2.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/4/e/9/AppLovinMediationVungleAdapter/7.2.2.0/AppLovinMediationVungleAdapter.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/4/e/9/AppLovinMediationVungleAdapter/7.2.2.0/AppLovinMediationVungleAdapter.podspec.json

[!] Found multiple specifications for `AppLovinSDK (12.3.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/9/c/c/AppLovinSDK/12.3.0/AppLovinSDK.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/9/c/c/AppLovinSDK/12.3.0/AppLovinSDK.podspec.json

[!] Found multiple specifications for `AppsFlyer-AdRevenue (6.9.1)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/0/c/7/AppsFlyer-AdRevenue/6.9.1/AppsFlyer-AdRevenue.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/0/c/7/AppsFlyer-AdRevenue/6.9.1/AppsFlyer-AdRevenue.podspec.json

[!] Found multiple specifications for `AppsFlyerFramework (6.8.1)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/7/a/c/AppsFlyerFramework/6.8.1/AppsFlyerFramework.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/7/a/c/AppsFlyerFramework/6.8.1/AppsFlyerFramework.podspec.json

[!] Found multiple specifications for `Firebase (10.7.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/0/3/5/Firebase/10.7.0/Firebase.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/0/3/5/Firebase/10.7.0/Firebase.podspec.json

[!] Found multiple specifications for `Firebase (10.7.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/0/3/5/Firebase/10.7.0/Firebase.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/0/3/5/Firebase/10.7.0/Firebase.podspec.json

[!] Found multiple specifications for `Firebase (10.7.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/0/3/5/Firebase/10.7.0/Firebase.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/0/3/5/Firebase/10.7.0/Firebase.podspec.json

[!] Found multiple specifications for `Firebase (10.7.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/0/3/5/Firebase/10.7.0/Firebase.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/0/3/5/Firebase/10.7.0/Firebase.podspec.json

[!] Found multiple specifications for `Google-Mobile-Ads-SDK (10.14.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/5/9/a/Google-Mobile-Ads-SDK/10.14.0/Google-Mobile-Ads-SDK.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/5/9/a/Google-Mobile-Ads-SDK/10.14.0/Google-Mobile-Ads-SDK.podspec.json

[!] Found multiple specifications for `Google-Mobile-Ads-SDK (10.13.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/5/9/a/Google-Mobile-Ads-SDK/10.13.0/Google-Mobile-Ads-SDK.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/5/9/a/Google-Mobile-Ads-SDK/10.13.0/Google-Mobile-Ads-SDK.podspec.json

[!] Found multiple specifications for `Google-Mobile-Ads-SDK (10.12.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/5/9/a/Google-Mobile-Ads-SDK/10.12.0/Google-Mobile-Ads-SDK.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/5/9/a/Google-Mobile-Ads-SDK/10.12.0/Google-Mobile-Ads-SDK.podspec.json

[!] Found multiple specifications for `Google-Mobile-Ads-SDK (10.11.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/5/9/a/Google-Mobile-Ads-SDK/10.11.0/Google-Mobile-Ads-SDK.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/5/9/a/Google-Mobile-Ads-SDK/10.11.0/Google-Mobile-Ads-SDK.podspec.json

[!] Found multiple specifications for `Google-Mobile-Ads-SDK (10.10.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/5/9/a/Google-Mobile-Ads-SDK/10.10.0/Google-Mobile-Ads-SDK.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/5/9/a/Google-Mobile-Ads-SDK/10.10.0/Google-Mobile-Ads-SDK.podspec.json

[!] Found multiple specifications for `Google-Mobile-Ads-SDK (10.9.0)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/5/9/a/Google-Mobile-Ads-SDK/10.9.0/Google-Mobile-Ads-SDK.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/5/9/a/Google-Mobile-Ads-SDK/10.9.0/Google-Mobile-Ads-SDK.podspec.json

[!] Found multiple specifications for `OneSignalXCFramework (3.12.3)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/d/f/3/OneSignalXCFramework/3.12.3/OneSignalXCFramework.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/d/f/3/OneSignalXCFramework/3.12.3/OneSignalXCFramework.podspec.json

[!] Found multiple specifications for `OneSignalXCFramework (3.12.3)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/d/f/3/OneSignalXCFramework/3.12.3/OneSignalXCFramework.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/d/f/3/OneSignalXCFramework/3.12.3/OneSignalXCFramework.podspec.json

[!] Found multiple specifications for `OneSignalXCFramework (3.12.3)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/d/f/3/OneSignalXCFramework/3.12.3/OneSignalXCFramework.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/d/f/3/OneSignalXCFramework/3.12.3/OneSignalXCFramework.podspec.json

[!] Found multiple specifications for `OneSignalXCFramework (3.12.3)`:
- /Users/dohaiha/.cocoapods/repos/trunk/Specs/d/f/3/OneSignalXCFramework/3.12.3/OneSignalXCFramework.podspec.json
- /Users/dohaiha/.cocoapods/repos/cocoapods/Specs/d/f/3/OneSignalXCFramework/3.12.3/OneSignalXCFramework.podspec.json

After increase minium version IOS to 12.0, this error happen:


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

    Google-Mobile-Ads-SDK (~> 10.9)

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

Expected Behavior

No response

How to Reproduce

  • Unity build: target minium ios 11.0
  • Just import lastest sdk
  • Upgrade adapters to last version
  • Build
  • Eror happen

Additional Info

No response

@tracer8 tracer8 added the bug Something isn't working label Mar 13, 2024
@Lorenzo45
Copy link
Contributor

Hi @tracer8,

Two things here:

  1. Google SDK 11.0+ requires minimum iOS version 12.0, as noted in our changelog here
  2. Your Podfile includes Google-Mobile-Ads-SDK (= 11.1.0) and Google-Mobile-Ads-SDK (~> 10.9) which are in conflict. ~> 10.9 means it cannot use version 11.0 or higher. You can fix this conflict by downgrading your Google adapter version or upgrading/removing the ~> 10.9 GMA SDK dependency

@tracer8
Copy link
Author

tracer8 commented Mar 14, 2024

Hi @tracer8,

Two things here:

  1. Google SDK 11.0+ requires minimum iOS version 12.0, as noted in our changelog here
  2. Your Podfile includes Google-Mobile-Ads-SDK (= 11.1.0) and Google-Mobile-Ads-SDK (~> 10.9) which are in conflict. ~> 10.9 means it cannot use version 11.0 or higher. You can fix this conflict by downgrading your Google adapter version or upgrading/removing the ~> 10.9 GMA SDK dependency

Thank you, i have resolved this issue!

@tracer8 tracer8 closed this as completed Mar 14, 2024
@classified-1
Copy link

Hi @tracer8 , could you please tell me how you fixed this issue? My minimum iOS version is 12.0. If you downgraded your Google adapter version, how did you do that?

@tracer8
Copy link
Author

tracer8 commented Mar 19, 2024 via email

@classified-1
Copy link

Thank you @tracer8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants