iOS 8 Simulator network connection stops working when computer is moved between networks
| Originator: | alstisgi | ||
| Number: | rdar://18112257 | Date Originated: | 2014-08-23 |
| Status: | Duplicate | Resolved: | No |
| Product: | Developer Tools | Product Version: | Xcode 6 Beta 6 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: When the beta iOS Simulator is running on a computer connected to wi-fi, and the host computer switches networks, the Simulator can lose the ability to access the Internet. This happens to me consistently when I am using my laptop at my workplace, close it and take it home, and attempt to resume development there. It does not happen when I manually switch from one wi-fi network at my workplace to another. It's unknown whether this issue also occurs with physical Ethernet connections (I only have physical network access at my home, so can't come up with an easy way of testing this). The longest period of time I've left it in this state for is about 16 hours. The Simulator does not appear to automatically pick up the new network information, ever - once it's gone, it's gone. In order to restore network functionality in the Simulator, the user must quit and restart it. Steps to Reproduce: 0. (Using Xcode 6 beta 4 / iOS Simulator for iPhone 5S 8.0:) 1. While connected to a wireless network, launch the simulator. Within the Simulator, open a page in Mobile Safari and confirm that the page loads successfully. 2. Leaving the Simulator open, put the computer to sleep and move it to a different location with a new wireless network already saved in the computer's network preferences. 3. Wake the computer and allow it to connect to the new network. Expected Results: The Simulator should route network requests through the currently connected wi-fi network. Actual Results: The computer itself connects to the new network. Pages can be successfully loaded in Safari, e-mail can be successfully fetched using Mail, etc. However, within the Simulator, attempting to load any webpage in Mobile Safari immediately fails with the message "Safari cannot open the page because the network connection was lost." When using Xcode 6 to debug an app which attempts to connect to the network, all network results immediately fail with Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." Version: Xcode 6, Beta 6 / 6A267n; OS X 10.9.4 / 13E28 (was also present in Xcode 6, beta 4) Notes: Restarting the Simulator each time my computer transitions between networks allows me to work around this issue. Configuration: Retina MacBook Pro (15") [MacBookPro10,1] Mid-2012, 2.7 GHz Intel Core i7, 16 GB 1600 MHz DDR3, NVIDIA GeForce GT 650M 1024 MB Additional wireless card info, just in case: Software Versions: CoreWLAN: 4.3.3 (433.48) CoreWLANKit: 3.3.2 (332.36) Menu Extra: 9.3.2 (932.35) System Information: 9.0 (900.8) IO80211 Family: 6.4 (640.36) Diagnostics: 3.0 (300.40) AirPort Utility: 6.3.2 (632.3) Interfaces: en0: Card Type: AirPort Extreme (0x14E4, 0xEF) Firmware Version: Broadcom BCM43xx 1.0 (5.106.98.100.22) MAC Address: 20:c9:d0:47:b2:a3 Locale: FCC Country Code: US Supported PHY Modes: 802.11 a/b/g/n Supported Channels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 Wake On Wireless: Supported AirDrop: Supported Status: Connected Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Same issue i am facing
The wifi network drops continuously even it is showing wifi indicators but still it fails to connect to network.. Major bug in iOS8 beta. specially with iPad air and iPad mini devices.