谷歌地图自动填充 - 奇怪的问题(iOS)

时间:2012-08-20 04:24:59

标签: ios google-maps google-maps-api-3

我们刚刚开发了一款iPhone应用,其功能依赖于谷歌地图的自动完成API。该功能适用​​于我们所有的设备,除了一个,它是一个带有5.0.1操作系统的iPhone 4。

以下是来自XCode日志的结果错误消息:

Aug 20 11:46:47 unknown HenryContainer[158] <Warning>: autocomplete: https://maps.googleapis.com/maps/api/place/autocomplete/json?input=Nor&types=(cities)&components=country:au&sensor=true&key=KEYGOESHERE
Aug 20 11:46:48 unknown timed[313] <Notice>: (Note ) CoreTime: Want active time in 39.25hrs. Need active time in 122.58hrs.

Aug 20 11:46:48 unknown HenryContainer[158] <Warning>: ASIHTTPRequest request_didFail:
Aug 20 11:46:48 unknown HenryContainer[158] <Warning>: ASIHTTPRequest request.url: https://maps.googleapis.com/maps/api/place/autocomplete/json?input=Nor&types=(cities)&components=country:au&sensor=true&key=KEYGOESHERE
Aug 20 11:46:48 unknown HenryContainer[158] <Warning>: ASIHTTPRequest request.delegate: <GooglePlacesService: 0x7c6fbd0>
Aug 20 11:46:48 unknown HenryContainer[158] <Warning>: ASIHTTPRequest request.error: Error Domain=ASIHTTPRequestErrorDomain Code=1 "A connection failure occurred: SSL problem (Possible causes may include a bad/expired/self-signed certificate, clock set to wrong date)" UserInfo=0x3207a0 {NSUnderlyingError=0x7c7d6f0 "The operation couldn’t be completed. (OSStatus error -9800.)", NSLocalizedDescription=A connection failure occurred: SSL problem (Possible causes may include a bad/expired/self-signed certificate, clock set to wrong date)}
Aug 20 11:46:48 unknown HenryContainer[158] <Warning>: ASIHTTPRequest request.postBody: (null)

Aug 20 11:46:58 unknown timed[313] <Notice>: (Note ) CoreTime: Not setting system time to 08/20/2012 01:46:58 from NTP because time is unchanged
Aug 20 11:46:58 unknown timed[313] <Notice>: (Note ) CoreTime: Not setting time zone to Australia/Sydney from NITZ

我已经检查了手机上的时钟时间,一切都是应该的。谷歌地图应用程序在这款手机上运行良好,并没有越狱。该应用程序将有一个非常大的分布,所以我也想知道在另一部手机上发生这种情况的可能性。我们也多次重新安装了应用程序。

非常感谢任何帮助。

更新:这似乎正在影响3GS上的iOS 5.0。

1 个答案:

答案 0 :(得分:0)

我们已经解决了这个问题,与iOS处理SSL的方式有关。