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

ld: library not found for -lGoogleAdMobAds
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solutions:
The first:
I have a similar “not found library” problem. However, this is because I accidentally used the . Xcodeproj file instead of the .xcworkspace file. (The blogger USES the first solution)
The second:
Select your target, please "Build Phases" upon "Link Binary With Libraries" delete ". A " this library file
The third:
Set Build Active architecture Only to Yes
The fourth type:
Sometimes you just need to remove the reference to the library and add the reference again.
In addition to adding the Google Mobile AD SDK and other libraries from scratch again, I recommend that you look at the “Library Search Path.” In some cases where you copy or copy a destination, Xcode decides it needs to escape any double quotes “with” \ “. Make sure you delete all of them — it should look like this


Read More: