• Register
1 vote

Problem :

I am troubled by below mentioned strange looking app transport security error
app transport security has blocked a cleartext http (http://) resource load since it is insecure.
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

1 vote
Best answer

Solution :

This was tested on iOS 9 GM seed. This is the configuration to allow a specific domain to use HTTP instead of HTTPS:

            <key>example.com</key> <!--Include your domain at this line -->

Note : NSAllowsArbitraryLoads must be false.

As it disallows all insecure connection but the exceptions list allows connection to some domains without HTTPS.

9 7 4
38,600 points

Related questions

0 votes
1 answer 907 views
Problem: Installation failed: Can&rsquo;t Install the Software I am getting following message like: A software update is required to connect to your iPhone. Would you like to download and install this updatenow? Use of this software is subject to the original Software ... the software because it si not currently available from the softwre update server. Can any one help to sort this issue out?
asked Jul 16, 2020 quizzBabes 160 points
0 votes
1 answer 5 views
Problem: itunes was unable to load dataclass information from sync services.
asked Feb 13 Shovo210 14k points
0 votes
1 answer 2 views
Problem: how can solve it problem ... how to change app name on iphone
asked Apr 4 Ifra 24.4k points
0 votes
1 answer 14 views
Problem : xcode couldn't find any ios app development provisioning profiles matching
asked Feb 28 Shovo210 14k points
0 votes
1 answer 116 views
Problem : All of a sudden I am unable to build my project. I started to get the following compiler error: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255 I got this error for a lot of my xib files. Any clues what is happening and what will be the Solution for it? Please Note : I am using Xcode 4.6 and iOS 6.1.
asked Nov 20, 2019 peterlaw 6.9k points
0 votes
1 answer 1 view
1 view
Problem,: please help to solve this wquestion... creating an image format with an unknown type is an error swift 3
asked Apr 1 Ifra 24.4k points
1 vote
1 answer 2 views
Problem: Any remedy to this? Action cannot be completed because the file is open in system.
asked Mar 27 PkGuy 13.1k points
0 votes
1 answer 10 views
Problem: development cannot be enabled while your device is locked.
asked Feb 18 charles mathews 5.5k points
0 votes
1 answer 31 views
Problem: the file &ldquo;info.plist&rdquo; couldn&rsquo;t be opened because there is no such file.
asked Feb 12 Dan phillip 4.8k points
0 votes
1 answer 55 views
Problem : I want to run the NVCC to compile my CUDA program on my Mac. But when I try to run the NVCC, I am facing below error message: "nvcc fatal : The version ('70300') of the host compiler ('Apple clang') is not supported". I tried updating the XCode version to 7.3, and the Mac version to 10.11.4. But I am facing the same error. How can I revert my Apple Clang Version?
asked Nov 30, 2019 alecxe 7.5k points