我正在使用 google ios sdk 运行基于地图的应用程序。已创建 ios api 密钥并将其添加到应用程序。在模拟器中运行良好,但在设备中运行良好。当尝试在 Ipad 中运行它时,应用程序运行并添加了标记,但底层地图显示为灰色。没有地图,只有标记。控制台错误消息如下。任何帮助表示赞赏..
ClientParametersRequest failed, 0 attempts remaining (0 vs 5). Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x1d5656e0
{
NSErrorFailingURLStringKey=https://clients4.google.com/glm/mmap, NSErrorFailingURLKey=https://clients4.google.com/glm/mmap, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x2333dc70 "The request timed out."}
2013-07-12 15:40:23.452 TreeInspect[330:907] Google Maps SDK for iOS cannot connect or validate APIKey: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x1d5656e0 {NSErrorFailingURLStringKey=https://clients4.google.com/glm/mmap, NSErrorFailingURLKey=https://clients4.google.com/glm/mmap, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x2333dc70 "The request timed out."
}