Intermittent MKLocalSearch.Request Failures with Amap Data Source

My app has been using MKLocalSearch.Request for keyword-based location searches, and it has worked smoothly for a long time. However, starting last Wednesday, I began receiving an error from MKLocalSearch.start: MKErrorDomain (error code 4).

This issue only occurs when the network environment is based in mainland China (where the API uses the Amap data source). When the network switches to other regions and other Apple Maps data source is used, the error does not occur.

Another complication is that the API doesn't always fail—certain keywords still work (for example, "Huawei").

Already filed a ticket in Feedback Assistant: https://feedbackassistant.apple.com/feedback/15544549

We appreciate you taking the time to file FB15544549.

Intermittent MKLocalSearch.Request Failures with Amap Data Source
 
 
Q