Search code examples
iosgoogle-signin

'Your app is missing support for the following URL schemes: com .googleusercontent.apps.xxx'


I found the question and answer in many times but no one from that help me :( . Anyone can you please help me?

<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>

This is my info.plist.

These are some questions that I referred,


Solution

  • Sorry to all, That was my mistake...There is an unwanted space I put there while declaring googleClienId in AppDelegate(GIDSignIn.sharedInstance().clientID = "241222885422-bquei744e1i8q3h0r82k7fm31fbuej7m.apps.googleusercontent.com ").The space after ".com" was my problem.It should be ( GIDSignIn.sharedInstance().clientID = "241222885422-bquei744e1i8q3h0r82k7fm31fbuej7m.apps.googleusercontent.com")like this. Please be sure that you entering the clientId in proper way.