Open Humans Healthkit Integration is an Open Humans project that allows people to upload health and fitness data recorded on their iPhone or iPad.
The integration is a Swift project that uses an old and not well maintained library called HealthkitSampleGenerator. This library hasn’t been updated for 3 years and won’t even compile under modern Swift implementations. The code and documentation lives on GitHub.
Ways to contribute
The code is currently Swift3.0 compliant, and won’t compile on a modern XCode version. It would be very helpful to have someone update the codebase to 4.0 (this is apart from the framework issue.)
The current HealthKit framework we’re leveraging is old and unsupported. We either need to switch over to a new framework (which will require researching), or just call Healthkit directly. This isn’t trivial, because we want to allow users to submit as much of their HealthKit data as possible (and that they permit), and each HealthKit measurement type is a special and unique flower in terms of accessing the data.