【发布时间】:2015-09-12 04:53:15
【问题描述】:
我正在尝试将谷歌地图集成到我的 iOS 应用程序中。我也创建并尝试了 iOS 密钥、服务器密钥和浏览器密钥。我重新生成了密钥,但仍然获得“访问被拒绝”的状态。我在这里看到了很多答案,但没有一个解决方案适合我。我收到以下回复
This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console
有时会这样
"error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address xxx.xxx.xxx.xxx, with empty referer"
我尝试使用重新生成的密钥,得到以下结果。
"error_message" : "The provided API key is expired."
解决方案可能很简单,但我真的卡住了。任何帮助表示赞赏
【问题讨论】:
标签: ios google-maps google-geocoding-api