We provide complete mobile and web apps development solutions

Thursday, September 17, 2015

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>



0 coment�rios:

Post a Comment

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts