I use Core Motion\'s sensor fusing to get north oriented motion updates:
[motionManager startDeviceMotionUpdatesUsingReferenceFrame:CMAttitudeReferenceFrameX
I got this error and when i tried to find solution, apparently my location services in my device are switched off, once i switched on, it worked.