起初我直接导入了Google Analytics iOS SDK,一切正常.然后我开始使用可可豆荚管理我的所有外部库并得到此错误.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_GAI", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
看起来Cocoa Pods没有导入所需的库?