Application Transport Security ?

Apple Recommended

Replies

NSRequiresCertificateTransparency
NSTemporaryExceptionRequiresForwardSecrecy
NSTemporaryThirdPartyExceptionAllowsInsecureHTTPLoads
NSTemporaryThirdPartyExceptionMinimumTLSVersion
NSTemporaryThirdPartyExceptionRequiresForwardSecrecy

kituaz.com
  • Added a comment accidentally. Please ignore.

Add a Comment

I'm using wkwebview to refer to a direct local http IP address (e.g. http://192.168.1.80) instead of a domain name.
This is done for development purposes only and not for official or public release.
I'm seeing an error:

domain = NSURLErrorDomain, code = -1202

Adding the following code to my Info.list file does not solve the problem.

<key>NSAppTransportSecurity</key>
<dict>
     <key>NSAllowsArbitraryLoads</key><true/>
</dict>

I read here that the order of things may cause problems.
In my case, I don't have a pre-build or post-build scripts.

I'm debugging iOS14 with xcode 13.1 on MacOS 12.0.1

How can I refer to a direct IP address?

Thanks

I'm using wkwebview to refer to a direct local http IP address

I recommend that you start a new thread for this. Please tag it with WebKit and Security so that I see it. And feel free to reference any bits of this thread that you think are relevant.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"