点击微博分享后是这样报错的
canOpenURL: failed for URL: "weibosdk://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2017-06-13 16:38:04.710728+0800 hongbeibaodian[8117:1995770] -canOpenURL: failed for URL: "sinaweibohd://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2017-06-13 16:38:04.714152+0800 hongbeibaodian[8117:1995770] -canOpenURL: failed for URL: "sinaweibo://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2017-06-13 16:38:04.717243+0800 hongbeibaodian[8117:1995770] -canOpenURL: failed for URL: "weibosdk2.5://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2017-06-13 16:38:04.721210+0800 hongbeibaodian[8117:1995770] -canOpenURL: failed for URL: "weibosdk://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2017-06-13 16:38:04.723380+0800 hongbeibaodian[8117:1995770] -canOpenURL: failed for URL: "sinaweibohd://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2017-06-13 16:38:04.725358+0800 hongbeibaodian[8117:1995770] -canOpenURL: failed for URL: "sinaweibo://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2017-06-13 16:38:04.727403+0800 hongbeibaodian[8117:1995770] -canOpenURL: failed for URL: "weibosdk2.5://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2017-06-13 16:38:04.848559+0800 hongbeibaodian[8117:1995770]
解决
1,看一下plist里面的设置
2,由于微博的问题需要在分析那个的时候判断一个手机有没有安装微博
这样就完美解决了!