相关疑难解决方法(0)

单击GoogleSignIn按钮时应用程序崩溃

我使用的是Google Sign-In SDK 4.0.1.当我按googleSignInButton然后应用程序将崩溃.并给出了以下错误,如何解决这个问题:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Your app is missing support for the following URL schemes: com.googleusercontent.apps.107731993306-6s44u18onibp6gi0ddj94si1aifshhg6'
*** First throw call stack:
(
    0   CoreFoundation                      0x0000000101ac0d4b __exceptionPreprocess + 171
    1   libobjc.A.dylib                     0x000000010110121e objc_exception_throw + 48
    2   CoreFoundation                      0x0000000101b2a2b5 +[NSException raise:format:] + 197
    3   xxxxx                           0x000000010084b3cb -[GIDSignIn signInWithOptions:] + 246
    4   xxxxx                           0x000000010084efc2 -[GIDSignInButton pressed] + 242
    5   UIKit                               0x00000001028f78bc -[UIApplication sendAction:to:from:forEvent:] + 83
    6   UIKit                               0x0000000102a7dc38 -[UIControl sendAction:to:forEvent:] + 67
    7   UIKit                               0x0000000102a7df51 -[UIControl …
Run Code Online (Sandbox Code Playgroud)

ios swift google-signin

26
推荐指数
6
解决办法
2万
查看次数

标签 统计

google-signin ×1

ios ×1

swift ×1