在 Xamarin.iOS 中添加 Google 移动广告支持包导致链接错误

Adding Packages for Google Mobile Ads support in Xamarin.iOS Causes Linking Errors

我正在向 Xamarin.iOS 应用添加 Google 移动广告支持。我添加了以下包(Essentials 已经存在并且构建良好)。 MobileAds 需要 Firebase Core 和 Xamarin.Build.Download 包。

当我构建我的项目时,我遇到了一些链接错误,例如

...Error MT5210: Native linking failed, undefined symbol: _GULIsLoggableLevel. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. (MT5210) (iPhoneSkeleton)

关于从哪里获取 package/library/reference 来解决此特定错误的任何具体想法?

正如@BillNeedels 所提到的,他能够通过简单地执行“全部清理”然后删除所有 bin 和 obj 文件夹来解决此问题,正如所提到的 并且它在后续构建中开始工作!