Could not determine current country code: Error Domain=GEOErrorDomain Code=-2 "The operation couldn’t be completed. (GEOErrorDomain error -2.)"

StackOverflow https://stackoverflow.com/questions/23653279

  •  22-07-2023
  •  | 
  •  

Question

I am getting this error code when using 'MKMapView' on the iPhone 4:

Could not determine current country code: Error Domain=GEOErrorDomain Code=-2 "The operation couldn’t be completed. (GEOErrorDomain error -2.)"

The map loads fine with coordinates etc, but this gets logged.

Any ideas what is causing it?

Was it helpful?

Solution

I got this today on my iPad4-Wifi. Reading more of the message, it stated that it had o internet connection. Sure enough, the iPad lost connection to the wifi for some reason.

I reselected our wifi network, retried the test and it worked.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top