What happened? How can we make the problem occur?
The project fails to build after updating native iOS SDK from 7.68.0 to 8.0.0:
/Users/buildserver/…/Libraries/Plugins/iOS/GADURewardedAd.m:12:31: error: cannot find protocol declaration for 'GADRewardedAdDelegate'; did you mean 'GADNativeAdDelegate'?
…
/Users/buildserver/…/Libraries/Plugins/iOS/GADURewardedAd.m:27:42: error: no visible @interface for 'GADRewardedAd' declares the selector 'initWithAdUnitID:'
…
When will update for Google Mobile Ads Unity Plugin be available?
The latest published release is 5.4.0 at the moment:
Google Mobile Ads Unity Plugin v5.4.0
@stowy released this on Nov 13, 2020
— https://github.com/googleads/googleads-mobile-unity/releases/
@stowy Are there any updates on this?
@lsnose Do you have any ETA on this critical update?
Google reminded me that new packages must use 7.65.0 or above, but gmu 5.4 only supports up to 7.68.0, I am worried that my released package will lose maintenance immediately.
Unfortunately @stowy no longer works on AdMob and that's part of the reason this support has been delayed. The good news is we are well aware that the plugin is not compatible with 8.0.0 and are actively working to get this updated. Please hang in there!
Using the Unity 5.4.0 release with iOS 7.68.0 is the recommended solution in the short term. There's no requirement from Google specifically that you need to be on 8.0.0 (we have not announced any deprecations of 7.x libraries). But we also realize that there is increasing pressure from other libs who start depending on GMA 8.0.0 (including our mediation adapter libraries), that will make staying on Unity 5.4.0 more of a problem as time goes on.
Any updates on this? :(
+1
@JillSong How are you progressing with this issue? Please let us know if there are any updates.
Has anyone found any answer?
More Ping!!
Bump!
@ericleich ?
please update!
+1
Same problem using Applovin Max Sdk with Google AdMob adapter. Maybe someone knows how to change Google Mobile Ads iOS SDK version in Max Sdk?
https://github.com/googleads/googleads-mobile-unity/compare/test_368723808 seems to support 8.0
Please update a final release version for Unity to be able to use it
What is the status of an updated on the Unity plugin? We are running into this issue for building for Iron Sources Admob unity adapter on iOS.
Found a solution. Maybe helps someone.
When I added the Applovin Max Sdk to the project and connected the Google Admob adapter, the GADU files were also added to the project in the Plugins-> iOS folder (there was an error in one of these GADU files), but I noticed that when I added the latest version of Applovin Max Sdk to the empty project and connected the Google Admob adapter - no files were added to the plugins folder.
Now I just removed the Plugins-> iOS folder from the project and it worked.
Hey folks, we just dropped v6.0.0 that has support for GMA iOS SDK 8.0.0 and GAM Android SDK 20.0.0. Please check it out! https://github.com/googleads/googleads-mobile-unity/releases/tag/v6.0.0
@JillSong What about updating mediation plugins?
Same problem here, using the plugin updated to its latest version, any solution?
Still failing in Admob Unity Plugin v6.0.1
Any solution?
https://github.com/googleads/googleads-mobile-unity/commit/219bc85e7e82bbd04d89c5bfedd235bab43e2324#diff-93c0b8be17b2e63e7ccc8373accf117095fc186112ee2ed2fb54df57bec59b7f, released in 6.0.0 changed GADURewardedAd so that it:
GADRewardedAdDelegateinitWithAdUnitID: on GADRewardedAdIt should be impossible that you still have this issue on 6.x of the plugin. My guess is your project may still have an old copy of GADURewardedAd in your project.
@qbit86 we are working on updating the mediation plugins, ~7-8 of the more commonly used ones are live now with another 3-4 in the next couple of days. You can follow the network-specific guides, e.g. https://developers.google.com/admob/unity/mediation/facebook#facebook-unity-mediation-plugin-changelog, which link to the Android/iOS versions they include, and the release notes for the Android/iOS versions should confirm if the adapter is built against iOS v8.x or Android v20.x.
It should be impossible that you still have this issue on 6.x of the plugin. My guess is your project may still have an old copy of GADURewardedAd in your project.
By old copy do you mean a duplicate file? I have only one instance of GADURewardedAd.h and GADURewardedAd.m file in my Unity project. I'm also using v6.0.0.
Okay this is how I fixed the issues with v6.0.0:
Create Xcode build. Inside the xcode project open the file "_GoogleMobileAds.iOS.cpp_" and comment out this line:
reinterpret_cast<PInvokeFunc>(GADURequestInterstitial)(___interstitial0, ___request1);
Source: https://github.com/googleads/googleads-mobile-unity/issues/1616#issuecomment-846713997
After doing all this, I'm able to make iOS build and ads are showing.
@chandujr I can't delete GoogleMobileAds folder, because I am using mediation(Adcolony, Applovin). I tried it with your steps. But it does not work.
@newbision For mediation, is there any files other than "......Dependencies.xml" inside GoogleMobileAds folder? Did you enable the option "Link frameworks statically" in iOS Resolver settings after reimporting plugin?
GADRewardedAdDelegate.
What about this?
Most helpful comment
please update!