Last active
September 8, 2015 22:15
-
-
Save dombarnes/35dfb3ed91af124e3b7d to your computer and use it in GitHub Desktop.
Xcode ATS Security for non-HTTPS domains
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<key>NSAppTransportSecurity</key> | |
<dict> | |
<key>NSExceptionDomains</key> | |
<dict> | |
<key>yourserver.com</key> | |
<dict> | |
<!--Include to allow subdomains--> | |
<key>NSIncludesSubdomains</key> | |
<true/> | |
<!--Include to allow HTTP requests--> | |
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key> | |
<true/> | |
<!--Include to specify minimum TLS version--> | |
<key>NSTemporaryExceptionMinimumTLSVersion</key> | |
<string>TLSv1.1</string> | |
</dict> | |
</dict> | |
</dict> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment