Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6 Beta iOS 8 Simulator can't access internet

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 internetsafari no connection

like image 760
mogile_oli Avatar asked Aug 04 '14 14:08

mogile_oli


6 Answers

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

like image 114
thinkkevin Avatar answered Oct 28 '22 13:10

thinkkevin


I saw a lot of posts about re-starting the simulator, resetting the simulator settings, etc. I ended up re-installing X-Code, updating to X-Code 6.1, etc, etc. Still didn't have a connection to the network!

What ended up being the solution is I turned off my antivirus (TrendMicro). I had checked all the anti-virus settings before and didn't see any "block process connection". When I turned the whole thing off it solved the problem though.

like image 35
mogile_oli Avatar answered Oct 28 '22 13:10

mogile_oli


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.

like image 20
Sahan Maldeniya Avatar answered Oct 28 '22 12:10

Sahan Maldeniya


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

Xcode version 7.3.1, ios simulator 8.4

like image 37
jorrebor Avatar answered Oct 28 '22 11:10

jorrebor


Turning off AVAST resolve all errors.

like image 3
Dmitry Coolerov Avatar answered Oct 28 '22 12:10

Dmitry Coolerov


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.

like image 2
Alec. Avatar answered Oct 28 '22 11:10

Alec.