CLGeocoder not working?

Has anyone gotten CLGeocoder to work on the watch in watchOS 2 Beta 1?


CLLocationManager provides valid locations in the Watch Simulator, but CLGeocoder fails.


It's marked "available" in the docs but I always get the error, "The operation couldn’t be completed. (kCLErrorDomain error 2.)"


  CLGeocoder().reverseGeocodeLocation(location, completionHandler: { (placemarks, error) -> Void in
       if error != nil {
            print("Reverse geocoder failed with error " + error!.localizedDescription)
       }

I'm having issues with CLGeocoder like yours also in beta 3. Did you make it work?

I too cannot get the geocoder to work on wtachOS 2. After calling, it eventually after a minute returns error code 2.

Hello,


Is there any update on this? I experience same issue.


Regards,

Oleg

Bump.


We're running into this same issue as well.

It's still not working in Beta 5. I've tried geocodeAddressString and geocodeAddressDictionary. If their completionHandlers return at all, the placemarks array will be nil.

Still not working in watchOS 2 GM for me.

Anyone else find a way out of this? 😝

UPDATE:

I've discovered on watchOS 2 release, I am able to get reverseGeocode results on my Apple Watch!

However, in the simulator, it still always returns error 2!

CLGeocoder not working?
 
 
Q