AppLovin / AppLovin-MAX-Unity-Plugin

127 stars 35 forks source link

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

Closed tracer8 closed 8 months ago

tracer8 commented 8 months ago

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

Additional Info

No response

Lorenzo45 commented 8 months ago

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 commented 8 months ago

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!

classified-1 commented 8 months ago

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 commented 8 months ago

You can find dependency xml file of Google Ads, then edit its version.

On Tue, Mar 19, 2024 at 1:20 PM Muhammad Hasan Sajjad < @.***> wrote:

Hi @tracer8 https://github.com/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?

— Reply to this email directly, view it on GitHub https://github.com/AppLovin/AppLovin-MAX-Unity-Plugin/issues/344#issuecomment-2005885207, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADX7J7MNDDTUQVRP5KR2V3DYY7KLDAVCNFSM6AAAAABEUHEOMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVHA4DKMRQG4 . You are receiving this because you were mentioned.Message ID: @.***>

classified-1 commented 8 months ago

Thank you @tracer8