Hi I\'m getting following error and so far not able to fix it.
Undefined symbols for architecture x86_64: \"_OBJC_CLASS_$_GAI\", referenced from:
objc-clas
I have tried reproducing the issue that you've been facing and ended up with the same error you got. But, I was able to fix it. What I have done is, I have added the file libGoogleAnalyticsServices.a
from the SDK folder to my project. Then, I added libsqlite3.0.dylib
to the Link Binary With Libraries in the Build Phases
tab. It worked!!!!
PS: Make sure you've added all the headers and mentioned frameworks in your project. The key is to include libGoogleAnalyticsServices.a
and libsqlite3.0.dylib
.