Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Google maps sdk cannot connect

I am a complete newbie to iOS development.

I am trying to use a google maps view (using storyboards as Google ios sdk mapview with storyboards). I have setup the project as required by the SDK, included the required libraries, copied the bundle into the framework folder... but i am getting this error NSLog'd to the output window

2013-03-25 19:52:25.315 TaxiQ[688:7203] Google Maps SDK for iOS version: 1.1.1.2311
2013-03-25 19:52:25.354 TaxiQ[688:c07] Failed to make complete framebuffer object 8cd6
2013-03-25 19:52:25.365 TaxiQ[688:c07] GMSZoomTableQuadTree lacks root zoom table for tile type (mapType: 10)
2013-03-25 19:52:25.366 TaxiQ[688:c07] GMSZoomTableQuadTree lacks root zoom table for tile type (mapType: 15)
2013-03-25 19:52:26.783 TaxiQ[688:c07] ClientParametersRequest failed, 3 attempts remaining (0 vs 5). Error Domain=com.google.Maps.GMSDASHConnection Code=100 "The operation couldn’t be completed. (com.google.Maps.GMSDASHConnection error 100.)"
2013-03-25 19:52:26.933 TaxiQ[688:c07] ClientParametersRequest failed, 2 attempts remaining (0 vs 5). Error Domain=com.google.Maps.GMSDASHConnection Code=100 "The operation couldn’t be completed. (com.google.Maps.GMSDASHConnection error 100.)"
2013-03-25 19:52:31.068 TaxiQ[688:c07] ClientParametersRequest failed, 1 attempts remaining (0 vs 5). Error Domain=com.google.Maps.GMSDASHConnection Code=100 "The operation couldn’t be completed. (com.google.Maps.GMSDASHConnection error 100.)"
2013-03-25 19:52:39.209 TaxiQ[688:c07] ClientParametersRequest failed, 0 attempts remaining (0 vs 5). Error Domain=com.google.Maps.GMSDASHConnection Code=100 "The operation couldn’t be completed. (com.google.Maps.GMSDASHConnection error 100.)"
2013-03-25 19:52:39.209 TaxiQ[688:c07] Google Maps SDK for iOS cannot connect or validate APIKey: The operation couldn’t be completed. (com.google.Maps.GMSDASHConnection error 100.)

Do i have to declare i have to access the internet in any way? I come from an android background where you do have to declare so.

like image 751
Machinarius Avatar asked Dec 02 '22 19:12

Machinarius


1 Answers

When trying to add Google Maps I was receiving error due to the fact that I did not select both the "Google Maps API V3" and "Google Maps SDK for IOS" when authorizing my AIP access in the google console. Seems like a simple mistake, but if you do not have both of these services selected it's possible to get this "cannot connect or validate APIKey" error.

enter image description here

like image 189
preynolds Avatar answered Dec 15 '22 19:12

preynolds