I was having this same problem when making a build in windows for unity IOS and then porting over to my Mac to build with Xcode. Unity provides a Podfile in it's IOS build to get the Google Ad SDK.
Solution that worked for me:
Open terminal on your Mac
In terminal: sudo gem install cococapods
After it finishes navagate, in terminal, to your project ...