本文介绍了为 iOS 添加 Google_analytics 尝试了很多方法都不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我收到以下错误,目前无法修复.
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-class-ref in AppDelegate.o objc-class-ref in HomeViewController.o "_OBJC_CLASS_$_GAITrackedViewController", referenced from: _OBJC_CLASS_$_HomeViewController in HomeViewController.o "_OBJC_METACLASS_$_GAITrackedViewController", referenced from: _OBJC_METACLASS_$_HomeViewController in HomeViewController.o ld: symbol(s) not found for architecture x86_64
任何帮助将不胜感激.提前致谢 !
Any help would be appreciated. Thanks in advance !
推荐答案
有同样的问题,直到我将 libGoogleAnalyticsServices.a
和 libsqlite3.0.dylib
添加到链接带库的二进制文件"
Had same problem till I added the libGoogleAnalyticsServices.a
and libsqlite3.0.dylib
to "Link Binary with Libraries"
这是我的完整列表:
这篇关于为 iOS 添加 Google_analytics 尝试了很多方法都不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!