I'm using Geocoding.GetPlacemarksAsync(lat, lon) method of Xamarin.Essentials to get placemarks. But when I trying to get placemarks from lat long, It throws following error in iOS simulator. It works find in Android emulator and in android physical device too.
Error:
NSErrorException Error Domain=kCLErrorDomain code=2 "(null)" at Xamarin.Essentials.GeoCoding.PlatformGetPlacemarksAsync
I have added location permissions in info.plist. My project configurations are:
Xamarin.forms: 4.5.0.725
Xamarin.Essentials: 1.6.1
XCode: 12.2
Simulator: iPhone 8+ 14.4
Same code works fine in Android. Hope for solution