首页 > 解决方案 > Google PlacePicker 未显示位置建议

问题描述

Places SDK 错误:Error Domain=com.google.places.ErrorDomain Code=-3 “Places SDK 库中发生内部错误。如果您认为此错误代表错误,请使用我们社区和支持中的说明提交报告页面(https://developers.google.com/places/ios-sdk/support)。” UserInfo={NSLocalizedFailureReason=Places SDK 库发生内部错误。如果您认为此错误代表错误,请使用我们社区和支持页面上的说明提交报告 ( https://developers.google.com/places/ios-sdk/support)., NSUnderlyingError=0x6000036d3090 {Error Domain=com.google.places.server.ErrorDomain Code=-1 "(null)" UserInfo={NSUnderlyingError=0x6000036d2dc0 {Error Domain=NSCocoaErrorDomain Code=3840 "JSON 文本没有以数组开头或允许未设置片段的对象和选项。” UserInfo={body=<48545450 2f312e31 20343034 204e6f74 20466f75 6e640d0a 436f6e74 656e742d 54797065 3a207465 78742f68 746d6c3b 20636861 72736574 3d555446 2d380d0a 44617465 3a204d6f 6e2c2031 34204f63 74203230 31392031 333a3430 3a303520 474d540d 0a457870 69726573 3a204d6f 6e2c2031 34204f63 74203230 31392031 333a3430 3a303520 474d540d 0a436163 68652d43 6f6e7472 6f6c3a20 70726976 6174652c 206d6178 2d616765 3d300d0a 436f6e74 656e742d 4c656e67 74683a20 390d0a0d 0a4e6f74 20466f75 6e64>,contentID=gtlr_23,GTLRStructuredError=GMSx_GTLRErrorObject 0x600003523d80:

错误图像

标签: iosgoogle-places-api

解决方案


请注意,地点选择器已于 2019 年 1 月 29 日弃用。此功能已于 2019 年 7 月 29 日关闭,并且在该日期之后不再可用。请注意,在弃用期间,只有使用 Places SDK for iOS/Android 的老用户仍然可以使用 Place Picker。两个平台的 Places SDK 的使用现在通过启用 Places API 并且不再支持使用 Place Picker。您可能会在https://developers.google.com/places/ios-sdk/placepicker中看到弃用通知。

PlacePicker 已不复存在。


推荐阅读