Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use of undeclared type 'GMSPlacesClient'

I'm trying to implement Google Auto complete service and, I get this message:

Use of undeclared type 'GMSPlacesClient'

I imported Google Maps module and it works with GMSMapView... I don't understand what is happening. Does anyone have the same error?
This is a picture of the error:

ErrorImage

ErrorImage

Thank you very much!

like image 258
tornic Avatar asked Jul 28 '16 11:07

tornic


1 Answers

I have also face the same issue. To resolve this I have add pod GooglePlaces in my pod file and update the pod.

Also you need to replace import import GoogleMaps To import GooglePlaces

like image 113
Crazy Developer Avatar answered Sep 30 '22 19:09

Crazy Developer