gpt4 book ai didi

ios - ios 9.0 无法添加谷歌登录

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:39:52 25 4
gpt4 key购买 nike

我已按照 developers.google.com 中给出的所有步骤进行操作。

当我尝试做的时候

#import <GoogleSignIn/GoogleSignIn.h>
[GIDSignIn sharedInstance].clientID = kClientID;

从我的 plist 文件中获取 clientID。

但它显示链接器错误,如

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 中可用。

enter image description here

关于ios - ios 9.0 无法添加谷歌登录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32949700/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com