Ld: library not found for -lGoogleAnalytics

I am trying to use the Google Analytics library with my xcode project. Everything worked for several months, but then I moved the files to my computer in different places, and now I get this error. I tried to fix the search paths in the library, but I had no success.

+7
source share
4 answers

If you use Pods to include the GoogleAnalytics iOS SDK in your project, itโ€™s worth noting that since release 3.0 your โ€œother link flagsโ€ should include -lGoogleAnalyticsServices not old -lGoogleAnalytics

+2
source

Put "$ (inherited)" in the library search path for your purpose

+1
source

Removing the "Derived Data" for the project on Organizer helped me.

0
source

If you use containers, check if the value of the library search path matches the Multiple Values

if so, remove the "Any architecture | Any SDK" from the "Debug and Release" by clicking on the minus button next to it.

detailed screenshot

-one
source

All Articles