错误"未发现库"错误、发现、QUOT

2023-09-09 21:59:50 作者:我的好过期不候

我有一个错误后,我把我的应用程序中的AdMob的。昨日应用程序工作得很好,但今天没有了工作。该错误如下:

I'm having a error after I put in my app a admob. yesterday the app worked fine but today it did not worked anymore .. the error is as follows:

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

如何解决呢?谢谢!

how to fix it ? thanks !!

推荐答案

有时候,你只是删除库的引用,然后再添加引用。

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

除了从头加入谷歌移动广告SDK和其他图书馆,我建议你检查的库搜索路径的。存在这样的情况,当你拷贝或复制目标,X code决定了它需要逃避任何双引号用'\'请确保您删除所有\的 - 它应该是这样的 -

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 -

我是能够复制错误,通过做prefixing我和多路径\。

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