0
研究的一個星期後,我就無法解決此錯誤:iOS的10 Facebook的graph.facebook.com SSL錯誤 - FBSDK安全的網絡請求失敗
發生了SSL錯誤,無法進行到服務器的安全連接。
_kCFStreamErrorCodeKey=-9802
NSErrorFailingURLStringKey=https://graph.facebook.com/v2.5
_kCFStreamErrorDomainKey=3
段從Info.plist中:
<?xml version="1.0" encoding="UTF-8"?>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)APP_ID</string>
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fbapi20130214</string>
<string>fbapi20130410</string>
<string>fbapi20130702</string>
<string>fbapi20131010</string>
<string>fbapi20131219</string>
<string>fbapi20140410</string>
<string>fbapi20140116</string>
<string>fbapi20150313</string>
<string>fbapi20150629</string>
<string>fbauth</string>
<string>fbauth2</string>
<string>graph</string>
<string>fb-messenger-api20140430</string>
<string>fb-messenger-api</string>
<string>fbshareextension</string>
<string>fb-messenger-platform-20150128</string>
<string>fb-messenger-platform-20150218</string>
<string>fb-messenger-platform-20150305</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true />
<key>NSExceptionDomains</key>
<dict>
<key>facebook.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true />
<key>NSExceptionRequiresForwardSecrecy</key>
<false />
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true />
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.2</string>
</dict>
<key>fbcdn.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true />
<key>NSExceptionRequiresForwardSecrecy</key>
<false />
</dict>
<key>akamaihd.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true />
<key>NSExceptionRequiresForwardSecrecy</key>
<false />
</dict>
</dict>
</dict>
我也啓用鑰匙扣共享。
我想我已經嘗試了在互聯網上找到的所有解決方案,但仍然沒有運氣。
任何幫助將不勝感激。