“此应用不允许查询方案googlechrome”

时间:2016-05-31 11:17:42

标签: ios swift uiapplication

我收到此错误

  

-canOpenURL:网址失败:“googlechrome:” - 错误:“此应用不允许查询方案googlechrome”

我尝试添加到.plist但是没有区别:

 <key>LSApplicationQueriesSchemes</key>
    <array>
        <string>com-google-gidconsent-google</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>
        <string>hasgplus4</string>
        <string>com.google.gppconsent.2.3.0</string>
        <string>com.google.gppconsent</string>
        <string>com.appcoda.gsignin</string>
    </array>

为什么我的应用不允许为此方案致电canOpenURL:,我该如何解决?

0 个答案:

没有答案