iOS simulator can't access any URL and shows the error “This connection is not private”

删除回忆录丶 提交于 2019-12-08 00:36:55

问题


I've encountered a problem where my iPhone Simulator can't access any of the websites on SAFARI. I am also unable to call any API from my application.

The error shown by SAFARI is either of the two mentioned below: "This connection is not private"

Refer Screenshot

OR

"Safari cannot open the page because it could not establish a secure connection to the server"

Refer Screenshot

I have done some research on this issue and have come across a few different solutions. But all of them suggest me to:

  • Uncheck "web-sheilding" in my anti-virus software; OR
  • Turn on the "Allow HTTP Loads" in Simulator>Settings>Developer; OR
  • "Erase content and settings" and restart the simulator

None of these solutions are working for me. Could anyone suggest what the problem here might be?

I'm using Xcode v9.2 and Simulator with iOS11.2.

来源:https://stackoverflow.com/questions/48682379/ios-simulator-cant-access-any-url-and-shows-the-error-this-connection-is-not-p

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!