iOS9 - HTTP Connection Error

前端 未结 2 892
猫巷女王i
猫巷女王i 2020-12-10 13:48

I got 3 error when i update my Xcode

1- App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions ca

相关标签:
2条回答
  • 2020-12-10 14:19

    add to the whitelist

    Connect the wrong domain name was added to the whitelist, even if the domain name has been used for https.

    0 讨论(0)
  • 2020-12-10 14:33

    From Project Navigator click your project's name.

    Now, on the right side you' ll see the General Tab of your project.Select the Info Tab Expand the Customs iOS Target Properties Add a new type, Name it as NSAppTransportSecurity, type as Dictionary.It will be convert in this text App Transport Security Settings Inside that add a new item and name it as NSAllowsArbitraryLoads, type as Boolean, value YES.

    See this thread on the forums for the further details what apple... Add the entry to info.plist

    https://forums.developer.apple.com/message/5857#5857

    And refer to Session 711 at WWDC. https://developer.apple.com/videos/wwdc/2015/?id=711

    0 讨论(0)
提交回复
热议问题