HTTPS on iOS 11 simulator not working

Please post your answer on StackOverflow:

Using Xcode 9.0.1 and iOS 11.0.1, going to results in "This Connection Is Not Private".

Apparently, the server certificate is not being trusted by the simulator.

How can I get around this problem?

I've tried:

- Restarting the simulator

- Restarting my MacBook

- Selecting "Hardware > Reset All Content and Settings" in the simulator

I've tried many HTTPS urls without success.

Post not yet marked as solved Up vote post of aleclarson Down vote post of aleclarson


The anti-virus on your computer could be causing this issue. The web shield scanning for unsecured or private connections is not letting the WebKit or SafariViews to load any urls.

If your computer is running Avast:

Try unchecking the "Scan for secured connections" in the preference tab / shields tab / settings link at Web Shield row

Hope that helps!