LianGu
LianGu

Reputation: 3

App Transport Security has blocked a cleartext HTTP Xcode7.1

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?

Upvotes: 0

Views: 1099

Answers (1)

Muhammad Junaid Butt
Muhammad Junaid Butt

Reputation: 464

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>

Upvotes: 0

Related Questions