ios - 应用程序在使用带有 AssertionFailure 的 iOS 版 Google 登录时崩溃
<p><p>我尝试根据文档 - <a href="https://developers.google.com/identity/sign-in/ios/sign-in?configured=true" rel="noreferrer noopener nofollow" title="iOS implentation">iOS implentation</a> 为 iOS 实现 Google 登录.但是应用程序在调用时崩溃并出现错误</p>
<p><code>[ configureWithError: &configureError];</code> </p>
<p>在我的 App Delegate 的 <code>application:didFinishLaunchingWithOptions</code> 方法中。</p>
<p>错误:-</p>
<p><code>void validateGoogleSignInWithURLSchemes(NSArray *__strong)() 中的断言失败,googlemac/iPhone/Greenhouse/Source/GGLURLSchemeUtil.m:39</code></p>
<p>我已将 <code>GoogleService-Info.plist</code> 添加到目标资源中,还添加了 <code>REVERSED_CLIENT_ID</code> 和 Bundle Identifier 的 URL 类型,如文档中所述并引用了 <a href="https://stackoverflow.com/questions/30743123/uncaught-nsinvalidargumentexception-when-using-google-sign-in-for-ios" rel="noreferrer noopener nofollow">here</a> .</p>
<p>我有什么遗漏或者我应该做些什么来解决这些问题?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>这是由于一个简单的拼写错误。添加 URL 类型时,我在 URL 方案中的 Bundle Identifier 错误。</p>
<p>请建议是否最好删除此问题。我将删除相同的内容。</p></p>
<p style="font-size: 20px;">关于ios - 应用程序在使用带有 AssertionFailure 的 iOS 版 Google 登录时崩溃,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/30843628/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/30843628/
</a>
</p>
页:
[1]