【发布时间】:2013-12-20 01:49:17
【问题描述】:
当我在我的应用程序中实施 Google Analytics 时,使用以下演练: http://code.google.com/mobile/articles/analytics_end_to_end.html
添加 libGoogleAnalytics.a CFNetwork 和 libsqlite3.0.dylib 框架后,并将 GANTracker.h 添加到我的 AppDelegate.m 中
我收到此错误:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_GANTracker", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
应用程序甚至无法编译。我的应用针对 iOS 5.0
我很困惑。非常感谢任何建议或解决方法。
【问题讨论】:
-
确保所有需要的类都添加到你的目标中
-
你有什么解决办法吗?我也在解决这个问题。
标签: ios ios5 google-analytics