已安装Google Drive API,但出现错误“没有此类模块”GoogleAPIClient“”。 [英] Installed Google Drive API, but have the error "no such module 'GoogleAPIClient'"

查看:487
本文介绍了已安装Google Drive API,但出现错误“没有此类模块”GoogleAPIClient“”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已完成此链接指示的每一步( https://开发人员.google.com /驱动/ IOS /快速启动?版本=迅速)。但是,我收到导入GoogleAPIClient的行的错误。该错误指出没有这样的模块'GoogleAPIClient'。我已经阅读了其他提到Ruby和Cocoa Pod的线程,两者都是我的项目中的最新版本。

I have done every step that this link has instructed (https://developers.google.com/drive/ios/quickstart?ver=swift). However, I am getting an error for the line that says import GoogleAPIClient. The error states "no such module 'GoogleAPIClient'". I have read other threads that have mentioned Ruby and Cocoa Pods and both are up to date in my project.

我现在正在寻找任何建议只是很困惑。

I'm looking for any suggestion at this point I'm just baffled.

推荐答案

在导入任何内容之前,请确保在该窗格完成安装后生成项目。

Before importing anything, make sure you build the project after the pod has completed the installation.

另外,请确保您使用的是 .xcworkspace 文件,而不是站点 .xcodeproj

Also make sure you're using the .xcworkspace file too and not the stand .xcodeproj

这篇关于已安装Google Drive API,但出现错误“没有此类模块”GoogleAPIClient“”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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