iPhone模拟器无法连接到互联网

iPhone模拟器无法连接到互联网

问题描述:

我正在使用Xcode 4.5,我的iPhone模拟器无法连接到互联网。互联网正在处理我的所有Mac浏览器,但iPhone模拟器无法连接。我尝试在iPhone模拟器中在Safari中打开一个网页,但没有帮助。

I'm using Xcode 4.5, my iPhone simulator is unable to connect to internet. Internet is working on all my Mac Browsers, but iPhone simulator is unable to connect. I tried opening a web page in Safari in iPhone simulator, but doesn't help.

我多次出现这个问题。事实证明我添加了在家庭网络的网络偏好设置中添加的代理设置,但办公室网络没有使用任何代理。这恰好只影响iPhone模拟器,但浏览器运行良好。

I'd this problem many times. Turns out I'd added proxy settings added in Network Preferences for my home network but office network didn't use any proxy. That happen to effect only iPhone Simulator but browsers worked fine with it.