Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Analytics linker error. library not found for -lGGLAnalytics

I have just added Google Analytics to my pods like this:

pod 'Google/Analytics'

just like GA documentation suggests. Now my project won't link. It says:

 library not found for -lGGLAnalytics

Did anyone ever encounter this? Thanks

like image 846
Andrey Chernukha Avatar asked Oct 19 '22 18:10

Andrey Chernukha


1 Answers

I got the same error. Solved by reseting LIBRARY_SEARCH_PATHS to default value.

Select your target and navigate to Build Settings. Under Search Paths select Library Search Paths and reset it to default by pressing backspace.

In result, the value for Library Search Paths should change from blank:

enter image description here

to default:

enter image description here

Diff in .pbxproj just removes the empty value:

enter image description here


I'm using pods version0.39.0, Xcode 7.2.

like image 162
ncreated Avatar answered Oct 31 '22 12:10

ncreated