- Home /
Admob on IOS not working
I downloaded the admob plugin for unity. It works perfectly on android, but when I build it for IOS in Xcode it gives me a bunch of errors. The errors occurs in the Linking process of the build. Here are some of them:
_GADUSetNativeExpressAdCallbacks
_GADUShowRewardBasedVideoAd
_GADURemoveNativeExpressAdView
And the list keeps on going... I am probably missing a file or something, but I have tried to import files manually and that did not work. I have updated unity, Xcode and downloaded the newest plugin again and it still did not work.
I am a noob in Xcode, so please explain in detail if solution involves Xcode :)
Answer by HansEngstad · Oct 18, 2016 at 09:43 PM
Solved!
I used the old GoogleMobileAds Api, and had to change to the new admob.
In the top of your AdManager script in unity (Or wherever you call the ads from) don't say using GoogleMobileAds.Api, ONLY say using Admob. You might need to download the latest unity plugin, but that is all that you will need. There is also a new way of implementing the admob ads.
https://firebase.google.com/docs/admob/unity/start This website is NOT UPDATED!!
https://www.youtube.com/watch?v=khlROw-PfNE This youtube video explains everything.
So build your app for iOS again after you have done this in unity, and you should not have to do anything special in xCode.