我面对google plus的以下问题可以在Xcode 8.1中使用iOS 10打开网址方案
-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"
答案 0 :(得分:0)
错误 10814 适用于,
Launch Services数据库中的任何应用程序都不匹配输入 标准
Apple从ios 10改变了一些api调用方法。
要解决此问题,您可以参考此链接
希望这会对你有所帮助。