无法在iOS 9.0中添加Google登录 [英] Unable to add google sign in in ios 9.0
本文介绍了无法在iOS 9.0中添加Google登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经按照developers.google.com中给出的所有步骤进行操作.
I had followed all the steps given in developers.google.com.
当我尝试做
#import <GoogleSignIn/GoogleSignIn.h>
[GIDSignIn sharedInstance].clientID = kClientID;
从我的plist文件中获得了clientID.
Got clientID from my plist file.
但是它显示链接器错误,例如
But it shows linker errors like
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_SFSafariViewController", referenced from:
objc-class-ref in GoogleSignIn(GIDSignIn.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
提前谢谢.
推荐答案
我遇到了上述问题.
只需向您的项目中添加" SafariServices.framework ",即可在iOS 9中使用.
Just needs to add "SafariServices.framework" to your project which is available in iOS 9.
这篇关于无法在iOS 9.0中添加Google登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文