Zwift Companion not writing data correctly to Apple Health

While the Zwift Companion app is writing workouts to Apple Health, it does so incompletely. A few issues:

  1. It does not write recorded power data at all, pretty glaring!
  2. While it tags the activity with “Total Active Energy” it doesn’t actually write that entity (leading to multiple bug reports in these forums), see this by clicking it under “Related Samples” and observe “No Data”
  3. Same problem as #2 with “Total Cycling Distance”
  4. It doesn’t write speed, elevation or GPS coordinates…so no map either (for whatever that’s worth in a virtual world)

It’s like the most minimal effort was made, and unfortunately this is a case of a partial implementation being worse than none at all.

The indie RunGap app is surprisingly capable of reading Zwift activities and then writing them to Apple Health with all the correct entities. So I’m using that for now, but this is a very basic feature for a paid fitness service and needs to be implemented properly.