'您的应用程序缺少对以下网址方案的支持:com .googleusercontent.apps.241222885422-bquei744e1i8q3h0r82k7fm31fbuej7m'

Ang*_*rus 5 ios google-signin

我在很多时候找到了问题和答案,但没有人帮助我:(.任何人都可以帮助我吗?

<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>http://com.googleusercontent.apps.241222885422-bquei744e1i8q3h0r82k7fm31fbuej7m</string>
        </array>
    </dict>
    <dict>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>sixsquarepc08.GoogleIntegration</string>
        </array>
    </dict>
</array>
Run Code Online (Sandbox Code Playgroud)

这是我的info.plist.

Ang*_*rus 7

对不起,这是我的错误......我在声明googleClienId时有一个不需要的空间AppDelegate(GIDSignIn.sharedInstance().clientID = "241222885422-bquei744e1i8q3h0r82k7fm31fbuej7m.apps.googleusercontent.com ").".com"之后的空间是我的问题.它应该是( GIDSignIn.sharedInstance().clientID = "241222885422-bquei744e1i8q3h0r82k7fm31fbuej7m.apps.googleusercontent.com")这样的.请确保以正确的方式输入clientId.


Chi*_*iya 6

您可以在“URL 类型”中添加您的“URL 方案”

在此处输入图片说明