我在Podfile中包含了Google places,如下所示:
pod 'GooglePlacesAutocomplete',然后我运行pod install,它起作用了。然后,我在“导入方案”上收到一个错误,所以我转到产品->编辑方案->构建并添加了新的框架。这不起作用,现在我从GooglePlacesAutocomplete中几乎在我的项目的每个文件中都收到错误:

我知道这一定是个小问题,有人知道这是什么吗?
谢谢你的帮助!
发布于 2017-02-07 05:54:39
我做了一些快速的研究,Autocomplete API似乎在
pod 'GooglePlaces'请参阅Get Started with the Places API for iOS和Place Autocomplete
发布于 2017-02-07 06:00:43
尝试以下操作:
https://developers.google.com/places/ios-api/start
添加以下pod
pod 'GooglePlaces'
pod 'GooglePlacePicker'
pod 'GoogleMaps'实现自动完成:https://developers.google.com/places/ios-api/autocomplete
import GooglePlaceshttps://stackoverflow.com/questions/42077681
复制相似问题