How to Test Scenario Where the Apple Watch Is Not Connected to an iPhone

Quitting the iPhone simulator should let you approximate this scenario.


I dont think so its possible because Apple doc says,

Additionally, WatchKit apps have a reliable connection to the simulated host device because they both are running in the Simulator.

Apple mentioned this in Hardware Difference section of Simulator User Guide


You should use an if-query, whether the iPhone is reachable before starting a WC Request:

if (WCSession.defaultSession().reachable) {

   //do your request here

} else {

   //handle non-reachability

}

If you want to test your app's reaction on a non-reachability just replace WCSession.defaultSession().reachable with false.