更新:我刚刚收到来自 Google 的关于新的 Google Maps iOS SDK 的电子邮件。似乎一切都已经解决了。我已成功为我的应用创建新的 API 密钥!还没有测试它,但似乎是正确的。他们给我发了这个URL 页面。
祝你好运!
我从昨天开始尝试更改我的代码,以便能够使用 2 天前发布的新 Google Maps SDK。我已按照所有说明进行操作,但直到现在还没有实现显示它们。我已经请求了一个 API 密钥,但直到现在还没有任何回复。此外,我正在尝试从Google API 控制台获取 API 密钥,但在服务列表中我找不到"Google Maps SDK for iOS"。
其次,当我尝试运行我的应用程序(在模拟器上)时,屏幕是黑色的,我只能在左侧看到 Google 徽标(并按下它)。我在日志屏幕上收到这些消息:
2012-12-14 12:20:57.132 CoL[515:7a03] Google Maps SDK for iOS version: 1.0.1.1154
2012-12-14 12:20:57.132 CoL[515:7a03] New version of Google Maps SDK for iOS available: 1.0.1.1154
2012-12-14 12:20:57.192 CoL[515:c07] ClientParametersRequest failed, 3 attempts remaining. Error Domain=DASHConnectionError Code=100 "The operation couldn’t be completed. (DASHConnectionError error 100.)"
2012-12-14 12:20:57.242 CoL[515:c07] ClientParametersRequest failed, 2 attempts remaining. Error Domain=DASHConnectionError Code=100 "The operation couldn’t be completed. (DASHConnectionError error 100.)"
2012-12-14 12:21:01.291 CoL[515:c07] ClientParametersRequest failed, 1 attempts remaining. Error Domain=DASHConnectionError Code=100 "The operation couldn’t be completed. (DASHConnectionError error 100.)"
2012-12-14 12:21:09.314 CoL[515:c07] ClientParametersRequest failed, 0 attempts remaining. Error Domain=DASHConnectionError Code=100 "The operation couldn’t be completed. (DASHConnectionError error 100.)"
2012-12-14 12:21:13.339 CoL[515:c07] ClientParametersRequest failed, 3 attempts remaining. Error Domain=DASHConnectionError Code=100 "The operation couldn’t be completed. (DASHConnectionError error 100.)"
2012-12-14 12:21:13.363 CoL[515:c07] ClientParametersRequest failed, 2 attempts remaining. Error Domain=DASHConnectionError Code=100 "The operation couldn’t be completed. (DASHConnectionError error 100.)"
2012-12-14 12:21:17.386 CoL[515:c07] ClientParametersRequest failed, 1 attempts remaining. Error Domain=DASHConnectionError Code=100 "The operation couldn’t be completed. (DASHConnectionError error 100.)"
更新:刚刚注意到项目无法在设备(iPhone 4S、iOS 6)上成功构建。我不知道这是否与我上面的问题有关,但这是错误:
ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/.../GoogleMaps.framework/GoogleMaps for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
以及我的架构部分的样子
有谁实现了它的工作?