简体   繁体   English

ld:找不到-lGoogleAdMobAds的库

[英]ld: library not found for -lGoogleAdMobAds

Trying to add Google's MobAds to my app. 尝试将Google的MobAd添加到我的应用中。

I've followed every step but at the end I have a single fatal error. 我跟着每一步,但最后我有一个致命的错误。

Here is a picture . 这是一张照片

Any suggestions on how to fix it? 有关如何解决它的任何建议?

Thank you. 谢谢。

Go to Project Navigator and find libGoogleAdMobAds.a . 转到Project Navigator并找到libGoogleAdMobAds.a Just select it and on right side in Target Membership you would get your targets. 只需选择它,在Target Membership右侧即可获得目标。 Just deselect targets which are selected and again select them. 只需取消选择已选择的目标,然后再选择它们。

在此输入图像描述

It may help you. 它可能会帮助你。

Check your library search path. 检查您的图书馆搜索路径。 Most of the time this error occurs because of this reason. 大多数情况下,由于这个原因发生此错误。 You can find library search path under build setting. 您可以在构建设置下找到库搜索路径。

EDIT: Thats a real good idea. 编辑: 这是一个真正的好主意。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM