无法连接到iOS 11模拟器上的任何HTTPS网址 [英] Cannot connect to any HTTPS url on iOS 11 simulator

查看:377
本文介绍了无法连接到iOS 11模拟器上的任何HTTPS网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

转到 https://google.com 会在以下屏幕中显示。

Going to https://google.com results in the screen below.

这是一个iOS 11.0.1模拟器,我正在使用Xcode 9.0.1

This is an iOS 11.0.1 simulator, and I'm using Xcode 9.0.1

我尝试了多个HTTPS网址,没有已经工作了。

I've tried multiple HTTPS urls, and none have worked.

我已经尝试过这些修复,但无济于事:

I've tried these fixes, to no avail:


  • 重新启动模拟器

  • 硬件>删除所有内容和设置

  • Restart the simulator
  • Hardware > Erase All Content and Settings

模拟器的日期/时间是正确的。

The date/time of the simulator is correct.

推荐答案

尝试iOS 8.4模拟器后,我注意到模拟器没有互联网连接。通过Google快速搜索,我发现Avast防病毒软件具有Web Shield功能,该功能与模拟器混合在一起。禁用修复我的问题!

After trying an iOS 8.4 simulator, I noticed the simulator had no internet connection. With a quick Google search, I found that Avast antivirus has a "Web Shield" feature that is mucking with the simulator. Disabling that fixed my problem!

很奇怪,iOS 9.3和iOS 11.0.1都没有显示有关互联网连接的相同错误消息。非常误导!

Weird that both iOS 9.3 and iOS 11.0.1 weren't showing the same error message regarding the internet connection. Very misleading!

这篇关于无法连接到iOS 11模拟器上的任何HTTPS网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆