iOS 9 has introduced new changes to canOpenURL
requiring the application to whitelist all the schemes it needs to query.
This post on Quick Take on iOS 9 URL Scheme Changes explains why.
At a minimum you need to whitelist you own application’s identifier and your Google OAuth apps id in Info.plist
under LSApplicationQueriesSchemes
. You can also whitelist the other schemes Google Sign-In queries to silence the other warnings.
<key>LSApplicationQueriesSchemes</key>
<array>
<string>com.example.foo</string>
<string>com.googleusercontent.apps.1234567890-abcdefghijklmnopqrstuvwxyz</string>
<string>com-google-gidconsent-google</string>
<string>com-google-gidconsent-youtube</string>
<string>com-google-gidconsent</string>
<string>com.google.gppconsent.2.4.1</string>
<string>com.google.gppconsent.2.4.0</string>
<string>googlechrome</string>
<string>googlechrome-x-callback</string>
</array>