Skip to content

Instantly share code, notes, and snippets.

@matteocollina
Created March 29, 2018 21:38
Show Gist options
  • Save matteocollina/85bed0c7a46b2d3915bd36721e3ed945 to your computer and use it in GitHub Desktop.
Save matteocollina/85bed0c7a46b2d3915bd36721e3ed945 to your computer and use it in GitHub Desktop.
To enable Transport Security on Xcode project (HTTP requests)
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment