在Xamarin.iOS中为Google Mobile Ads支持添加软件包会导致链接错误 [英] Adding Packages for Google Mobile Ads support in Xamarin.iOS Causes Linking Errors

查看:149
本文介绍了在Xamarin.iOS中为Google Mobile Ads支持添加软件包会导致链接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Google移动广告支持添加到Xamarin.iOS应用中。我添加了以下程序包(基本功能已经存在并且可以正常运行)。 MobileAds需要Firebase Core和Xamarin.Build.Download软件包。

I am adding Google Mobile Ads support to a Xamarin.iOS app. I added the following packages (Essentials was already present and building fine). MobileAds requires the Firebase Core and Xamarin.Build.Download packages.

构建项目时,我遇到许多链接错误,例如

When I build my project I get a number of linking errors such as

...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)

关于从何处获取软件包/库/引用来解决此特定错误的任何具体想法?

Any specific ideas on where to get the package/library/reference to resolve this specific error?

推荐答案

作为@BillNeedels提到,他能够通过简单地全部清理然后删除所有bin和obj文件夹来解决此问题,如在此并开始在后续版本中使用!

As @BillNeedels mentioned, he was able to fix this by simply doing a Clean All and then deleting all the bin and obj folders, as was mentioned here and it started working in the subsequent build!

这篇关于在Xamarin.iOS中为Google Mobile Ads支持添加软件包会导致链接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆