Missing frameworks in Xcode


I started development on Windows with ios added as a platform. When I then copy the project over to a Mac and open it with Xcode, I’m getting some missing Frameworks; libCordovaGenericAd.h and GoogleMobileAds.framework which I’m guessing the admob pro plugin has installed/depends on?

What is the proper ionic/cordova way to reinstall these frameworks so I can get them to work in Xcode (but not break things on Windows/android)? Can I just follow the manual instructions e.g. here: https://developers.google.com/mobile-ads-sdk/docs/admob/ios/quick-start#manually_using_the_sdk_download

try building project on mac machine then open project file in xcode

Thanks, indeed, building for ios first on Mac solved it.