user3396301
user3396301

Reputation: 101

ld: library not found for -lGoogleAdMobAds

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.

Upvotes: 2

Views: 4230

Answers (2)

Rahul Patel
Rahul Patel

Reputation: 5886

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.

Upvotes: 12

Rashad
Rashad

Reputation: 11197

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.

Upvotes: 1

Related Questions