You're all set!

To start developing, please head over to our developer documentation.

Activate the Google Places API for iOS

To get you started we'll guide you through the Google Developers Console to do a few things first:

  1. Create or choose a project
  2. Activate the Google Places API for iOS
  3. Create appropriate keys
Continue

Migrating to Google Places API for iOS, version 2

With the version 2 release of the Google Maps SDK for iOS, the Google Places API for iOS has been split from the Google Maps SDK for iOS and is now distributed as a seperate CocoaPod.

Take the following steps to update your existing apps:

  • Update your Podfile to reference the GooglePlaces CocoaPod in addition to the GoogleMaps CocoaPod. If you are not using the Google Maps SDK for iOS, you can remove GoogleMaps.
  • If you are using the place picker, update your Podfile to reference the GooglePlacePicker CocoaPod in addition to GooglePlaces.
  • Rename GoogleMaps to GooglePlaces in all imports where you are using the Places API.
  • Specify your API key using GMSPlacesClient.provideAPIKey(_:) instead of GMSServices.provideAPIKey(_:).
  • Get the required open source license text using GMSPlacesClient.openSourceLicenseInfo() as well as GMSServices.openSourceLicenseInfo() if you are using the Google Maps SDK for iOS or the Place Picker.

Your API key will continue to work as usual.

For manual SDK installation instructions, see Get Started with the Places API for iOS.

Send feedback about...

location_on
Google Places API for iOS