Upgraded iPhone version from iOS 8 to iOS 9, got this issue in iOS 9

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.





NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:04.058 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:04.323 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:04.646 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:04.978 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:05.390 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:05.724 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:06.086 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)

Disabling the iOS 9 transport security.

Fixed by adding these to info.plist


 <key>NSAppTransportSecurity</key>    <dict>
        <key>NSAllowsArbitraryLoads</key>        <true/>
    </dict>



Comments

Popular posts from this blog

What is Android ?