I included MTAdMob in my xamarin.forms app. Both Android and iOS versions ran without any issue on Mac. But when I ran iOS on my Windows machine, it failed with a number of errors. The errors are listed below:
linker command failed with exit code 1 (use -v to see invocation)
warning: directory not found for option '-F/Users/myapp/Library/Caches/Xamarin/mtbs/builds/Mobile.iOS/358fefeedaa418a54b8b65337eedd9ba32d7deb63551b1a1d6caaa5a45ad0f43/C:/Users/UserAcct/AppData/Local/XamarinBuildDownloadCache/GAppM-6.9.0/Frameworks'
framework not found GoogleAppMeasurement
Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lc++ -lsqlite3 -lz -ObjC -lz -lsqlite3
error MT1008: Failed to launch the simulator: Could not find file "/Users/myapp/Library/Caches/Xamarin/mtbs/builds/Mobile.iOS/358fefeedaa418a54b8b65337eedd9ba32d7deb63551b1a1d6caaa5a45ad0f43/bin/iPhoneSimulator/Debug/Mobile.iOS.app/Mobile.iOS"
I followed a number of instructions that were used for similar issues, but none worked. I did a clean, removed iOS folder's obj and bin, and then rebuilt. I also included Xamarin.Google.iOS.MobileAds as suggested by the author of MTAdMob, and it didn't work either.
Any suggestions on how to solve this issue is greatly appreciated.