The app or device that created this object.
- iOS 9.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
For samples saved by an app, the source revision is set to the version of the app that saved the object. For devices that write directly to HealthKit, the source revision is set to the version of the device that saved the object, while more complete device information is saved to the
The source revision property is only available on objects you have retrieved from the HealthKit store. When you create a new object, the source revision is set to
nil. The system automatically sets this property to represent the current version of the app that saved the object to the HealthKit store. The source revision is then available the next time the object is retrieved from the store.