I would like to get my iPad's location in Xcode. When I simulate the location to... for example Tokyo, it works, gives me latitude and longitude.
But I want my iPad's location (so, my home), so I turned off location simulation, reset the location settings on my device, allowed the app to locate me, and I get this error:
The operation couldn’t be completed. (kCLErrorDomain error 0.)
My location service is on and allowed for my app. I don't get why this isn't working.