错误“找不到库”。将应用程序放入AdMob之后 [英] Error "library not found for" after putting application in AdMob

查看:117
本文介绍了错误“找不到库”。将应用程序放入AdMob之后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将应用程序放入AdMob后出现错误。该应用程序一直运行到今天。错误如下:

I am getting an error after I put my application in an AdMob. The app was working until today. The error is the following:

ld: library not found for -lGoogleAdMobAds
clang: error: linker command failed with exit code 1 (use -v to see invocation)

如何解决此问题?谢谢。

How can I fix this? Thank you.

推荐答案

有时,您只需删除库的引用,然后再次添加引用即可。

Sometimes you just remove the reference of the library and add reference again.

除了重新从头开始添加Google Mobile Ads SDK和其他库外,我建议您检查库搜索路径。在某些情况下,当您复制或复制目标时,Xcode决定它需要转义带有 escape的双引号。请确保删除所有的--它应该看起来像这样-

Apart from adding the Google Mobile Ads SDK and other libraries again from scratch, I would recommend you checking the Library Search Paths. There are instances when you copy or duplicate a target, Xcode decides that it needs to escape any double quotes " with a '\'. Make sure you remove all the \’s - it should look like this -

通过使用多个'path'为路径添加前缀,我能够复制该错误。

I was able to duplicate the error, by doing prefixing my path with multiple '\'.

这篇关于错误“找不到库”。将应用程序放入AdMob之后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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