When making a network call, Apple demands that all networking calls are
secure. Now what does that mean? Secure connections means at minimum that you are using
HTTPS and not
HTTP. One simple fix is just to add the 's', however if you can only use
HTTP then you can modify your
Info.plist to bypass this error.
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.
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSExceptionDomains</key> <dict> <key>example.com</key> <dict> <key>NSExceptionAllowsInsecureHTTPLoads</key> <true/> <key>NSIncludesSubdomains</key> <true/> </dict> </dict> </dict>