Location Manager Error : (KCLErrorDomain error 0)
Solution 1:
This error occurs if you have Scheme/Edit Scheme/Options/Allow Location Simulation
checked but don't have a default location set. I'm sure there are other causes as well though.
Solution 2:
UPDATE
THANKS TO Ben Marten You can make it permanent using these steps in XCode:
- Product > Scheme > Edit Scheme
- Click Run .app
- Option tab
- Already checked Core Location > select your location
- Press OK
Besides that, even if you are not connected to wifi, you can set a location in simulator through top menu items Debug>Location
and to make it permanent follow steps above