I am getting error in CMPedometer, with i am install my app in iPhone device, i have iPhone 4s and iPhone 6s both have same issue.
Here with attached screenshot of issue
Project Link : https://github.com/versluis/Pedometer
in both device have iOS 9 grater OS.
I got the issue, after 4 hours of hack....
Getting issue in my XCode SDK - CoreMotion.framework was corrupted. (In my last 9 years of experience this is the first case of XCode corrupted)
Corrupted CoreMotion.framework Screen Shot.
Repair CoreMotion.framework Screen Shot. (Copied from other system that framework and replace here)