Error use unresolved identifier GMSPlacePickerConfig & GooglePlacePicker? (Google Places 2.0)

[亡魂溺海] 提交于 2019-12-05 16:38:29

Now, google has broken it into multiple frameworks. You need to add a new pod 'GooglePlacePicker'.

abielita

I don't see any error on your code based on this sample code. If you are using cocoapod, you need to add pod 'GooglePlaces'. Error Use of unresolved identifier usually occurs when your new class has a different Target(s) from the other one. You can check it in this SO question. It might have a testing target and the other doesn't. You have to include all of your classes in the testing target or none of them. Also, here is a related answer in SO question which might help.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!