GMSPlaceField构建时出错-Swift 4.2 [英] GMSPlaceField Error when building - Swift 4.2

查看:119
本文介绍了GMSPlaceField构建时出错-Swift 4.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用 Google的地方自动填充的应用,所以我已经遵循提供的示例代码. 我已将GooglePlace窗格添加到我的Podfile中,并且由于使用的是相同的 全屏控制,我正在使用他们的示例代码.

I have an app that's using Google's Place Autocomplete, so I've been following the example code that's been provided. I've added the GooglePlace pod to my podfile and since I'm using the same full-screen control, I'm using their sample code.

在尝试构建项目之前,没有错误显示,当我完成构建时,我收到此错误:第29行上的使用未声明的类型'GMSPlaceField'"

No error shows until I try to build the project and when I do build, Im getting this error: "Use of undeclared type 'GMSPlaceField'" on line 29

推荐答案

更新您的podfile.错误将被删除

Update you podfile.. error will be remove

这篇关于GMSPlaceField构建时出错-Swift 4.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆