I'm not able to get AdMob for Unity to compile when building an iOS program in XCode. This does work in Android builds, so this problem appears to be specific to iOS.
Software used (Windows):
Windows 10 Pro version 1709, build 16299.125
Unity Pro 2017.3.0f3
Google Mobile Ads Unity Plugin v3.10.0
Software used (Mac):
macOS 10.13.2
XCode 9.2
CocoaPods (latest version)
Hardware used:
Windows PC
MacBook Pro
Steps:
Start on the Windows PC.
Create a new Unity 2D project.
Import the Google Mobile Ads Unity Plugin package.
Set the build platform to iOS.
In the Unity Build Settings for iOS, add a valid Bundle Identifier and Automatic Signing Team ID.
Build the project.
Share the project folder over the local network.
Switch to using the Mac.
Connect to the shared folder.
Load the generated XCode workspace/project (XCode doesn't appear to give you a choice here) into XCode.
Try to build it.
You will get the following error in GADUNativeCustomTemplateAd.h:
"'GoogleMobileAds/GoogleMobileAds.h' file not found"
Please let me know if you need any more information and/or if you have a workaround.
Thanks,
Chris