问题描述
我当前正在构建手表应用程序扩展,并希望使用模拟器,因为它比每次构建实际的Apple Watch都容易和快捷得多.
I'm currently building a watch app extension and want to use the simulator because it is much easier and quicker than building to my actual Apple Watch every time.
但是,我遇到了模拟器问题,由于错误此连接不是私人的",我无法访问任何网站.通常情况下这不是问题,除非我需要使用Facebook登录到iOS,并在那儿遇到同样的问题.使用SFSafariViewController
时,消息略有不同:
However, I've run into a problem with the simulator where I can't visit any websites due to the error 'This Connection Is Not Private'. This wouldn't normally be a problem except in my case I need to login into my iOS using Facebook and I face the same problem there. The message is slightly different when using SFSafariViewController
:
Safari cannot open the page because it could not establish a secure connection to the server
我查看了模拟器上的Safari设置,以查看是否有可以禁用但无法找到任何安全性的安全性.有什么办法可以解决这个问题?
I have looked in the Safari settings on the simulator to see if there's any security that I can disable but have been unable to find anything. Is there any way I can get around this issue?
我目前正在使用Xcode 9.1和macOS High Sierra 10.13.1
I'm currently using the Xcode 9.1 and macOS High Sierra 10.13.1
推荐答案
从我的Mac中删除所有防病毒程序后,它对我有用.希望对您有帮助.
It works for me after deleting all anti-virus programs from my Mac. Hope it would be helpful for you.
这篇关于无法访问iOS Simulator上的网站-“此连接不是私有的"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!