Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

175
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda