MapboxGeocoder.swift icon indicating copy to clipboard operation
MapboxGeocoder.swift copied to clipboard

Error Domain=NSCocoaErrorDomain Code=4864 "Expected to decode Array<Any> but found a dictionary instead."

Open 1552612373 opened this issue 4 years ago • 1 comments

[self.geocoder geocodeWithOptions:options completionHandler:^(NSArray<MBGeocodedPlacemark *> * _Nullable placemarks, NSString * _Nullable attribution, NSError * _Nullable error) {

}]

The error is : Error Domain=NSCocoaErrorDomain Code=4864 "Expected to decode Array<Any> but found a dictionary instead."

Who can help me?

1552612373 avatar Oct 10 '20 09:10 1552612373

What options did you use in options?

1ec5 avatar Nov 13 '20 23:11 1ec5