AdMob plugin in iOS: 'The type or namespace name 'Google' could not be found.'
Hello, I'm trying to put ads in my app (targeting Android an iPhones) using the Google AdMob plugin, everything works fine in Android, but when I try to compile it for iOS, it throws me a bunch of errors like that:
[Unity] Assets/PlayServicesResolver/Editor/AdMobDependencies.cs(1,7): error CS0246: The type or namespace name `Google' could not be found. Are you missing a using directive or an assembly reference?
I work in a PC with windows 10, with "Unity 5.3.2f1 Personal", I imported to my project the Google Mobile Ads Unity Plugin v3.0.3, downloaded Google Play Services via SDK, and tried to compile for iOS using a Mac mini, downloading my code from my repository, and I tried via Unity Cloud Build aswell, it throws that same error.
I have been doing my research on the internet and as I understand, it lacks some reference or library regarding the Plugins/iOS folder, but I could not find what it is nor how to link it.
I made a sample project, and uploaded it to bitbucket, here's the link. https://bitbucket.org/Castellvi/testadmob/src
It is just a screen with some text, a testing ad banner at the bottom and a button at the top that shows an interstitial ad.
Thanks!
Your answer
![](https://koobas.hobune.stream/wayback/20220612075609im_/https://answers.unity.com/themes/thub/images/avi.jpg)