The iOS CLLocationManager reports various errors in its didFailWithError method:
https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CoreLocationConstantsRef/Reference/reference.html#//apple_ref/c/econst/kCLErrorDenied
In the documentation it is not clear which of these error (except kCLErrorDenied and kCLErrorLocationUnknown) stop the location manager and location updates?
Regards,
Try to print your error object description. You will get to know what was the reason for failure. The possible reason could be either you haven't granted permission to use location to your app or manually have revoked to use location.
If you are failing in simulator then make sure the simulator is pointing to some custom location.