I am trying to build an array with a list of distance values read from HealthKit, but each time I try to run the app, it crashes with the following error:
<