SCNetworkReachability no longer works w/ Simulator (iOS 10+)

Originator:nobrien
Number:rdar://29913522 Date Originated:06-Jan-2017 08:57 PM
Status:Open Resolved:
Product:iOS Product Version:iOS 10.0
Classification:Serious Bug Reproducible:Always
 
Summary:
The reachability callback and getting the flags directly get stuck at 0

Steps to Reproduce:
1) Run simulator (w/ WiFi internet)
2) Turn off WiFi (flags will go to 0)
3) Turn on WiFi

Expected Results:
Flags callback goes to reachable

Actual Results:
Flags callback stays at 0
(Also, getting flags will also return 0)

Regression:
Bug doesn't happen on iOS 9 simulator

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!