CMErrorDomain code 109 "(null)"

I'm getting this error in a pedometer event handler. Does anyone know what it means?


The log is giving:

[Pedometer] Error pedometer event, 109


This:

print("Pedometer event: \(event).  or error \(error)")

returns:

Pedometer event: nil.  or error Optional(Error Domain=CMErrorDomain Code=109 "(null)")

Did you ever resolve this issue?


We're not able to repro on test devices but have many users encountering this error. Seems to be CMErrorNotAvailable, but I have not found any information about what this actually means or how to handle this error.


https://developer.apple.com/documentation/coremotion/cmerrornotavailable

CMErrorDomain code 109 "(null)"
 
 
Q