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.
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
Put "$ (inherited)" in the library search path for your purpose
Removing the "Derived Data" for the project on Organizer helped me.
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.