1
votes

I am going to display autocomplete city using google API.

I am following this https://developers.google.com/places/ios-api/autocompleteenter link description here doc. for implantation

but when I have tried to confirm that protocol then I got following error. Cannot find protocol declaration for 'GMSAutocompleteViewControllerDelegate'?

Appreciate for help.

1
Perhaps you have an older version of the pod? Try pod update GoogleMaps. (stackoverflow.com/a/34645528/806600) - spiv
@spiv I have updated google map , using po update still it is not working, now I have googlemap 1.11.1 version - Vinod Jadhav

1 Answers

1
votes

I have resolved this problem

$(inherited) add in framework search path.

  • Add following in header search path.

$(inherited)

"${PODS_ROOT}/Headers/Public"

"${PODS_ROOT}/Headers/Public/GoogleMaps"

"${PODS_ROOT}/Headers/Public/GoogleMaps/GoogleMaps"