IOS 9 Error Domain=kCLErrorDomain Code=0 "(null)"
Please try this :
Go to :
- Product -> Scheme -> Edit Scheme -> Options -> Allow Location Simulation must be checked and try providing a default location, don't leave it set to "none"
EDIT : As mentionned in the comments, also restart Xcode and you're done !
Hope this helps.
In XCode 11.5 and up...
Open your Simulator:
Features => Location => CustomLocation
If the location authorization alert is not popping up for you, try adding NSLocationAlwaysUsageDescription to your plist as type string. Also, do the same for NSLocationWhenInUseUsageDescription.