iOS Simulator Requires Reboot After Connecting/Disconnection VPN

Originator:johntmcintosh
Number:rdar://18381377 Date Originated:9/18/2014
Status:Duplicate Resolved:Duplicate of 17867038
Product:Developer Tools Product Version:Xcode 6.0
Classification:UI/Usability Reproducible:Always
 
Summary:
If the iOS simulator is open, and I change my VPN connection, network requests will fail with NSURLDomainError -1005 until I restart the simulator. This applies to ALL network requests in the simulator, not just those specific to my app.

Steps to Reproduce:
1. Connect Mac to Wifi
2. Launch the iOS Simulator
3. Open Mobile Safari and visit a http://apple.com (this is successful)
4. Connect the Mac to VPN
5. Attempt to refresh the webpage that is open in Mobile Safari (not successful)

Expected Results:
I would expect that the iOS Simulator would be able to support changes to the VPN connection without needing to be restarted.

Actual Results:
When attempting to refresh the page, the following error message is displayed:

"Safari cannot open the page because the network connection was lost."

Now, do the following steps:
1. Quit the iOS Simulator
2. Re-open the iOS Simulator
3. Lauch Mobile Safari and visit http://apple.com

After restarting the simulator, the network connection again works as expected.

Version:
iOS Simulator Version 8.0 (550.1)
Xcode Version 6.0 (6A313)
OS 10.9.4

Notes:
I believe that under Xcode 5, the simulator was able to handle dynamic changes to the VPN configuration without requiring a reboot.

Configuration:


Attachments:
'Screen Shot 2014-09-18 at 11.26.15 AM.png' was successfully uploaded.

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!