googleads / googleads-mobile-unity

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

Amob 5.4.0 and Firebase conflicts on Unity #1532

Closed vfilho closed 1 year ago

vfilho commented 3 years ago

[REQUIRED] Step 1: Describe your environment

[REQUIRED] Step 2: Describe the problem

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 (= 7.67)

    GoogleMobileAdsMediationIronSource (= 7.0.3.0) was resolved to 7.0.3.0, which depends on
      Google-Mobile-Ads-SDK (>= 7.66.0)

    GoogleMobileAdsMediationUnity (= 3.5.1.1) was resolved to 3.5.1.1, which depends on
      Google-Mobile-Ads-SDK (>= 7.68.0)
novavision commented 3 years ago

You need to Update Firebase to 7.0.x, because AdMob dependent to newer Firebase Core. But... we didn't do it, because Firebase Messaging 7.0.x+ doesn't work well on iOS and Android - there are several issues I have reported already.

TarmoJussila commented 3 years ago

Did you manage to solve this issue? @vfilho

vfilho commented 3 years ago

Yes I solved the problem I really don't remember the solution, but that one about update the firebase wasn't enough, I will keep trying remember the solution and post here if I do.