GoogleMaps iOS SDK 1.5不会加载 [英] GoogleMaps iOS SDK 1.5 won't load

查看:217
本文介绍了GoogleMaps iOS SDK 1.5不会加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我开始研究使用GoogleMaps iOS SDK。



我按照指示操​​作:


  • 在控制台中启用适用于iOS的Google Maps SDK
  • 设置API密钥并添加Bundle ID(我使用演示Google项目)

  • 更新了常用的'kAPIKey'项目中的键



我运行该应用程序,得到以下内容


2013-11-18 11:24:59.155 SDKDemos [7073:c07] ClientParametersRequest失败,剩余3次尝试(0 vs 5)。错误域= com.google.HTTPStatus代码= 400操作无法完成(com.google.HTTPStatus错误400.)UserInfo = 0x8c4b0e0 {data = {length = 145,capacity = 256,bytes = 0x3c48544d4c3e0a3c484541443e0a3c54。 ... 3c2f48544d4c3e0a}}

2013-11-18 11:24:59.233 SDKDemos [7073:6403] Google Maps SDK for iOS版本:1.5.0.5445
...

2013-11-18 11:25:11.836 SDKDemos [7073:c07] Google Maps SDK for iOS无法连接或验证APIKey:Error Domain = com。 google.HTTPStatus Code = 400无法完成操作(com.google.HTTPStatus错误400.)UserInfo = 0x8c1a9b0 {data = {length = 145,capacity = 256,bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}



2013-11-18 11:25:11.836 SDKDemos [7073:c07]您的密​​钥可能对您的包ID无效:com.example.SDKDemos


以下是来自API控制台的图像,显​​示我已正确输入了bundleID



XCode 5.0
iOS SDK 7.0



所以看起来我错过了一些相当基本的东西,或者有一段时间我必须等到我的API密钥被真正激活了。

更新:
地图现在正在渲染,但ClientParametersRequest失败错误仍在报告中
$ b Update2:
添加图片显示示例

您能否以针对Google Maps SDK for iOS的问题跟踪器存在问题


So I've started investigating using GoogleMaps iOS SDK.

I followed the instructions:

  • Enabled the Google Maps SDK for iOS in the console
  • Setup an API key and added the Bundle ID (I used the demo Project Google Supplies)
  • Updated the constant 'kAPIKey'the the key in my Project

I run the app and I get the following

2013-11-18 11:24:59.155 SDKDemos[7073:c07] ClientParametersRequest failed, 3 attempts remaining (0 vs 5). Error Domain=com.google.HTTPStatus Code=400 "The operation couldn’t be completed. (com.google.HTTPStatus error 400.)" UserInfo=0x8c4b0e0 {data={length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}

2013-11-18 11:24:59.233 SDKDemos[7073:6403] Google Maps SDK for iOS version: 1.5.0.5445 ...

2013-11-18 11:25:11.836 SDKDemos[7073:c07] Google Maps SDK for iOS cannot connect or validate APIKey: Error Domain=com.google.HTTPStatus Code=400 "The operation couldn’t be completed. (com.google.HTTPStatus error 400.)" UserInfo=0x8c1a9b0 {data={length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}

2013-11-18 11:25:11.836 SDKDemos[7073:c07] Your key may be invalid for your bundle ID: com.example.SDKDemos

Here is an image from the API Console to show I have bundleID entered correctly

XCode 5.0 iOS SDK 7.0

So it seems I am missing something fairly fundamental here or there is a time I have to wait until my API key is actually activated

Update: Map is now rendering but the ClientParametersRequest failed errors are still being reported

Update2 : Added Image showing example

解决方案

Can you please raise this as a bug on our issue tracker for Google Maps SDK for iOS?

这篇关于GoogleMaps iOS SDK 1.5不会加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆