Xcode 6 Beta iOS 8 Simulator can't access inte

2019-06-14 21:37发布

Just installed XCode 6 Beta to test my app. The iOS 8 Simulator runs and my app successfully installs but the simulator can't access the internet. I try using safari or maps and there is no network connection. If I run the iOS 7 simulator from XCode 6, it connects to the internet perfectly.

I've tried using the steps in this thread but it didn't change anything. (The steps were more if your app doesn't install but I tried anyway.)

I don't have a firewall or little snitch blocking the simulator.

Any other pointers?

Maps doesn't connect to the internet safari no connection

10条回答
Evening l夕情丶
2楼-- · 2019-06-14 21:53

I had same error with xCode 6.1 and iOS 8 simulator. What worked for me is I went to settings>developer> and switch on "Allow HTTP Services" option.

查看更多
做自己的国王
3楼-- · 2019-06-14 21:56

I've had the exact same issue. It's bizare but plugging my Macbook in via an ethernet cable seemed to resolve this. I know it's not perfect but it works.

查看更多
闹够了就滚
4楼-- · 2019-06-14 21:58

The source control I used is Git. So upon resetting all my local changes and getting the latest solved my problem.

So First thing I would do is Stash all your local changes if you need them. Then reset all your local changes and get the latest Now run the tests.

This worked for me. Hopefully works for you as well.

查看更多
乱世女痞
5楼-- · 2019-06-14 22:00

Just simply reset the simulator. Quit and Re-run your app your problem will be gone. It works for me.

查看更多
smile是对你的礼貌
6楼-- · 2019-06-14 22:02

Same problem for avast security on mac, turning of webshield under avast preferences solved it.

Xcode version 7.3.1, ios simulator 8.4

查看更多
forever°为你锁心
7楼-- · 2019-06-14 22:05

I had the same problem. Try to quit the iOS simulator, and then re-build and launch your application. It should work.

查看更多
登录 后发表回答