0
votes

guys. I set my info.plist as the picture

however,there is still the problem there:" 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. " . I update my Xcode yestoday. the vision is 7.1 . and simulator`s vision is 9.1
Is there similer question here?

1
There is a typo in your setting. You should use NSAllowsArbitraryLoads - deadbeef
Ahhhhh. Thanks a lot. - LianGu

1 Answers

0
votes

Open Info.plist and change that text with NSAllowsArbitraryLoads and your issue will be resolved.

Or open Info.plist file in Source Code mode and replace the following lines:

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