We are having the same issue. Reverting back to HKObjectType.quantityType(forIdentifier: .stepCount)!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: