App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure.解决办法

或者在这个对应的Source Code中添加

<key>NSAppTransportSecurity</key>

<dict>

<key>NSExceptionDomains</key>

<dict>

<key>baidu.com</key>

<dict>

<key>NSExceptionAllowInsecureHTTPLoads</key>

<true/>

<key>NSIncludesSubdomains</key>

<true/>

<key>NSExceptionRequiresForwardSecrecy</key>

<false/>

</dict>

</dict>

<key>NSAllowsArbitraryLoads</key>

<true/>

</dict>
原文地址:https://www.cnblogs.com/521it/p/5070739.html