googleads / googleads-mobile-unity

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

Error while building for IOS #797

Closed OniTheC4t closed 5 years ago

OniTheC4t commented 6 years ago

I get this error:

GADUMUnityAdsInterface.m:19:8: initializing 'BOOL' (aka 'signed char') with an expression of incompatible type 'void'

Referred to this:

schermata 2018-11-01 alle 15 08 52
joshuajplagonera commented 5 years ago

I'm not able to replicate this issue on my end.

Can you show how you are using the UnityAds.SetGDPRConsentMetaData() method? It's possible that you're providing a non-boolean value which causes this error.

lazarevich-carx commented 5 years ago

I get this error too. I've updated admob with GoogleMobileAdsUnityAdsMediation 2.0.0 to show unity ads.

guanshichao commented 5 years ago
image

@joshuajplagonera

joshuajplagonera commented 5 years ago

Updated the Unity Ads Unity Mediation plugin which should fix this issue: 0a2af6a9bac5cf0830a13f140c3bf3b9f893e363