iPhone App Development

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Problem:

I got the below error when I was trying to run an iOS APP:

ld: warning: directory not found for option ‘-L/Users/nnnn/Desktop/Main file/NearBy Location/NearBy’

ld: warning: directory not found for option ‘-LLocation/Ads’

ld: library not found for -lGoogleAdMobAds

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution:

TARGETS -> Build Phases -> Link Binary With Libraries

remove the libraries and add them again

 

Share Button

Leave a Reply

Your email address will not be published. Required fields are marked *

ALl Rights Reserved @Nawras Tech2017
All Rights Reserved 2017 NawrasTech