Simulating a workout

When you run a workout from an app in the simulator is there anyway to get fake data?


Or if i want to get the heartrate from an Apple Watch will I need to test on device?

Answered by MetzoPaino in 17963022

It has been confirmed that the simulator will not generate simulated workout data.


When I run my code on Apple Watch it does generate the data, so all we can do is make a feature request to the Developer Tools https://bugreport.apple.com.

Accepted Answer

It has been confirmed that the simulator will not generate simulated workout data.


When I run my code on Apple Watch it does generate the data, so all we can do is make a feature request to the Developer Tools https://bugreport.apple.com.

Where was this confirmed? The What's New in HealthKit WWDC session seemed to show it working...


Thanks!

The workout was faked for the What's New in HealthKit session, so that the presenter didn't have to run around on stage.

Would Apple let us also fake it on our simulators? Because on the watch device debugging is really slow.

Simulating a workout
 
 
Q