You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't use http in ios 8 simulator

I have installed xcode 6, on a mac book pro (Maverick 10.9.5) When I try to use the ios simulator running ios 8 on virtual iPhone 5s, and try to connect to any site that is not using https, I get a blank page stating that "Safari cannot open the page because the network connection was lost" in the simulator. Any page that uses https works fine.

Any clue ?

MacBook Pro with Retina display, OS X Mavericks (10.9.4), OSX 10.9.5

Posted on Sep 18, 2014 2:07 AM

Reply
6 replies

Sep 18, 2014 5:36 AM in response to PaakWaan

I have the same problem. I have Xcode 6 on a MacBook Air (13-inch, Mid 2013) with Yosemite Beta 10.10. When running the simulator on any phone with iOS 8 and try connect to any site using HTTP or HTTPS I get "Safari cannot open the page because the network connection was lost" in the simulator. But when I connect to Ethernet I can't access a site using HTTP but I can on HTTPS. Really strange, I have also got iOS 7.1 simulator downloaded and both HTTP and HTTPS work on both WiFi and Ethernet.

Dec 11, 2014 1:36 PM in response to Tonkpillz

I have Xcode 6.1.1 and I'm still having problems. http and https both. It's not just safari either. Other applications can't access the network either.


Could these errors give any additional information?

Dec 11 16:32:49 **** lsuseractivityd[45897]: [SFActivityAdvertiser] ERROR: no XPC proxy, queuing advertisement <49a6aaa1 dc34cf01 72>

Dec 11 16:32:56 **** SpringBoard[45804]: Could not determine current country code: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x7d0e9680 {NSErrorFailingURLStringKey=http://gsp1.apple.com/pep/gcc, NSErrorFailingURLKey=http://gsp1.apple.com/pep/gcc, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x7d01aff0 "The request timed out."}


Sometimes I can get it to work and sometimes I can't. I am getting very frustrated with the instability of the network connection on iOS 8 simulator.

Apr 28, 2016 5:20 AM in response to PaakWaan

I had the same problem with Xcode 6.2 and iOS 8.2 Simulator. The response field was nil. I tried reseting the simulator, cleaning the product in Xcode, restarting both, restarting the Computer, turning wifi off and on and changing for a different wifi network. Nothing worked. Finally I disabled the Avast Antivirus Shields and it worked.

Can't use http in ios 8 simulator

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.