我遵循了developers.google.com中提供的所有步驟。無法在ios 9.0中添加谷歌登錄
當我嘗試從我的plist文件做
#import <GoogleSignIn/GoogleSignIn.h>
[GIDSignIn sharedInstance].clientID = kClientID;
了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)
感謝。
您使用的莢? –
不,我不使用豆莢。手動配置。 – Prakash
嘗試將SafariServices.framework鏈接到您的應用程序? –