I came across this and had a very strange reason and a great solution from the above, so I thought it might help someone else who appears here.
I had a working project in my regular directory, and I saved it to the SVN repository. I needed to go back to the previous version, so I extracted a new copy from SVN and updated it to the version I needed.
Then I started getting library not found for -lGGLAnalytics errors library not found for -lGGLAnalytics .
It turns out that SVN doesn't really like it when you register *.a files and it ignores them by default. So in my SVN repository there was all the Google Pod code, but there were no libGGLAnalytics.a files and a couple of other .a files.
How I decided it:
I copied the Pods/Google and Pods/GoogleAnalytics from my real project. Then I installed pod install from the command line, which updated the files of my project so that they refer to those files that were previously missing.
I did Build Clean and everything is fixed.
source share