ld: library not found for -lGoogleAdMobAds

2019-01-26 22:34发布

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.

3条回答
Root(大扎)
2楼-- · 2019-01-26 23:15

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.

enter image description here

It may help you.

查看更多
Juvenile、少年°
3楼-- · 2019-01-26 23:29

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.

查看更多
走好不送
4楼-- · 2019-01-26 23:30

Depends on version you using. I once stucked for using V2 of API for ARM7 Architecture.

查看更多
登录 后发表回答