點擊微博分享后是這樣報錯的
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里面的設(shè)置
2,由于微博的問題需要在分析那個的時候判斷一個手機有沒有安裝微博
這樣就完美解決了!