ld: library not found for -lGoogleAdMobAds

試著忘記壹切 提交于 2019-12-18 07:04:57

问题


Trying to add Google's MobAds to my app.

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.


回答1:


Go to Project Navigator and find libGoogleAdMobAds.a. Just select it and on right side in Target Membership you would get your targets. Just deselect targets which are selected and again select them.

It may help you.




回答2:


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.



来源:https://stackoverflow.com/questions/22800793/ld-library-not-found-for-lgoogleadmobads

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!