iOS 模拟器无法上网 [英] iOS simulator no internet access
问题描述
我正在维护一个落后于几个目标的 iOS 应用程序,当我为代码运行模拟器时,它成功启动了应用程序,但是当我尝试登录时,模拟器报告它无法访问 wifi.
I'm maintaining an iOS app that's a few targets behind, and when I run the simulator for the code, it launches the app succesfully, but when I attempt to login, the simulator reports it can't get access to wifi.
当我使用旧版本的 xcode 时,我能够让模拟器工作,但我最近将 osx 更新为 El Capiton,所以我不能再使用那个 xcode.- 我试过在模拟器上还原内容和设置- 我不支持代理.- 这在我使用旧版 xcode 之前确实有效- 当前 xcode 版本:7.1- 应用部署目标:7.0
I was able to get the simulator working when I was using an older version of xcode, but I've recently updated osx to El Capiton, so I can't use that xcode anymore. - I've tried Revert content and settings on the simulator - I'm not behind a proxy. - This did work before when I was using older xcode version - current xcode version: 7.1 - application Deployment target: 7.0
我已经在 SO 上一段时间了,我找不到任何有用的东西,我已经浏览了 Google 的第一页,除了尝试降级我的 mac pro 之外,我不知道还能做什么所以我可以再次使用旧的 xcode.帮助?
I've been on SO for a little while now, nothing I can find works, I've been through the first page of Google, and I'm not sure what else to do except try to downgrade my mac pro just so i can use old xcode again. Help?
谢谢.
推荐答案
我的电脑可以访问互联网,但模拟器无法在 Safari 中打开网站.
My pc had access to the internet, but the simulator could not open a website in Safari.
对我来说解决问题的只是关闭和打开 wifi
这篇关于iOS 模拟器无法上网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!