Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

176
Visualizações
Places API not enabled for iOS even if it's already enabled

I have integrated Places Autocomplete or Places API along with Maps, Google Login and Firebase RealtimeDatabase. But when I run the app, the error says: "The operation couldn’t be completed. The Places API for iOS is not enabled. See the developer's guide (https://developers.google.com/places/ios-api/start) for how to enable the Google Places API for iOS."

Places was working fine until: Last week, I had to ditch my Firebase project and create a new one. Did what was required: -changed the GoogleServices-info.plist -client ID -url types

I have already enabled the Google Places API in my Google Cloud Platform, too.

And in my

application(didFinishLaunchingwithOptions:)
GMSServices.provideAPIKey("<key from project>")
GMSPlacesClient.provideAPIKey("<key from project>")

Bear in mind that Google Maps, Google Sign In and Firebase Database are all working just fine. The project is shared by the android version, too and the places api is working fine there. Can't seem to figure out the issue.

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

Ok Asmin, so i run into the same issue this morning so i feel obligated to answer since i solved it after 5 hours! So the issue is with the pod version. GooglePlaces 2.7.0 is deprecated however when you run pod install 2.7.0 is what is installed not the present 3.0.2. Once i realized that, this is what i did. I opened the terminal, cd to my project folder and run pod update, or better yet pod update --verbose so i can see what's happening. Well, it worked!! The pods got updated to 3.0.2 and now everything works fine. Yaay! I love/hate programming!!

NB: anyway, if you try it and it doesn't work, then run update repo, and repeat pod update.

You have my word; it's going to work

over 4 years ago · Santiago Trujillo Relatório

0

Make sure you are in the correct Google account when configuring the API keys. Also make sure your key can be used for the iOS platform, double check that you enabled both Google Maps and Google Places and finally, make sure your bundle ID is allowed to use the API key.

over 4 years ago · Santiago Trujillo Relatório

0

In my case nothing worked. I have updated my pod and Google Place Picker SDK version 3.0.2 .But unfortunately Google have deprecated Google Place Picker since January 29, 2019 Link .

  1. I have to follow the google migration guid and Wrote my own controller to search for places with given string and populate those results in my table view Link.
  2. Than fetch the place detail by place ID Link.

Note: It will cost you extra API call if you want Place Detail

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda