Google 加上在 iOS 10 中不工作

Google Plus not working in iOS 10

我遇到了 google 的以下问题 plus 可以在 Xcode 8.1 和 iOS 10

中打开 url 方案
-canOpenURL: failed for URL: "com.google.gppconsent.2.4.1://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2016-11-21 16:05:58.229 googlePlus[16034:206474] -canOpenURL: failed for URL: "com.google.gppconsent.2.4.0://" - error: "This app is not allowed to query for scheme com.google.gppconsent.2.4.0"
2016-11-21 16:05:58.238 googlePlus[16034:206474] -canOpenURL: failed for URL: "com.google.gppconsent.2.3.0://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2016-11-21 16:05:58.240 googlePlus[16034:206474] -canOpenURL: failed for URL: "com.google.gppconsent.2.2.0://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2016-11-21 16:05:58.242 googlePlus[16034:206474] -canOpenURL: failed for URL: "com.google.gppconsent://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2016-11-21 16:05:58.243 googlePlus[16034:206474] -canOpenURL: failed for URL: "hasgplus4://" - error: "This app is not allowed to query for scheme hasgplus4"

错误 10814 是为了,

No application in the Launch Services database matches the input criteria

Apple 从 ios 10.

更改了一些 api 调用方法

要解决此问题,您可以参考此 link、

error 10814

希望对您有所帮助。