我添加到我的 pod 文件中
pod 'google-plus-ios-sdk', '1.4.1'
我做了一个
pod update
我进口的
#import <GooglePlus/GooglePlus.h>
但如果我尝试
[GPPSignIn sharedInstance].clientID = kClientID;
我从链接器收到此错误:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_GPPSignIn", referenced from:
objc-class-ref in SDSocialManager.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)