Address search and reverse geocoding in Swift or Objective-C on iOS, macOS, tvOS, and watchOS
131
stars
48
forks
source link
Error Domain=NSCocoaErrorDomain Code=4864 "Expected to decode Array<Any> but found a dictionary instead." #207
Open
1552612373 opened 3 years ago
[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 but found a dictionary instead."
Who can help me?