         completion(steps)
     }
 
-    HK.store.execute(query)
+    HealthKit.store.execute(query)
   }
 }

      let stepCount = HKSampleType.quantityType(forIdentifier: .stepCount)
    else { return }

    if HK.store.authorizationStatus(for: stepCount) != .sharingAuthorized {
      HK.store.requestAuthorization(toShare: nil, read: [stepCount]) {
        (success: Bool, error: Error?) in
          guard error == nil && success else {
            print("Error getting HealthKit access: \(String(describing: error))")

import HealthKit

class HealthKitDataProvider: PedometerDataProvider {
  private typealias HealthKit = HealthKitDataProvider
  private static let store = HKHealthStore()

  func retrieveStepCountForDateRange(_ interval: DateInterval,
