Páginas

martes, 24 de mayo de 2016

Error "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."

Error de compilacion en Xcode

"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."

Abrir info.plist como código fuente (click con el boton derecho del raton) y usar uno de los siguientes métodos:

Desactivacion de App Transport Security solo para el servidor al que deseas conectarte
<key>NSAppTransportSecurity</key><dict>
<key>NSExceptionDomains</key>
<dict>
<key>myserver.com</key><dict>
<key>NSIncludesSubdomains</key><false/>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/></dict> </dict></dict>
view raw gistfile1.txt hosted with ❤ by GitHub


Desactivacion total de App Transport Security
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key><true/>
</dict>
view raw gistfile1.txt hosted with ❤ by GitHub