CocoaPod:找不到Google-Api-Client / Services / Calendar [英] CocoaPod: Unable to find Google-Api-Client/Services/Calendar

查看:107
本文介绍了CocoaPod:找不到Google-Api-Client / Services / Calendar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有Podfiles的iOS Objective C项目,它抱怨:


无法找到名为<$ c的规范$ c> Google-API-Client(0.1.1)中的$ c> Google-API-Client / Services / Calendar 。


我不确定如何解决此问题。



pod文件本身;

 平台:ios,'7.0'

#Google API

#日历
pod'Google-API-Client / Services / Calendar'

我试过在线搜索,我可以在github上看到pod文件规范,我甚至可以在cocoa pod网站上找到它,但它似乎无法安装此特定的pod文件。



有没有一种方法来安装我缺少的pod文件?



谢谢

解决方案

div>

我将它解雇了,我只是为整个Google API做了一个pod,看起来很有效。 $ b

pod'Goo gle-API-Client','〜> 0.1'


I've got a iOS Objective C project with Podfiles which is complaining about:

Unable to find a specification named Google-API-Client/Services/Calendar in Google-API-Client (0.1.1).

I am unsure of how to fix this.

The pod file itself;

platform :ios, '7.0'

# Google APIs

# Calendar
pod 'Google-API-Client/Services/Calendar'

I've tried searching online, I can see the pod file spec on github, I can even find it on cocoa pods website, but it does not appear to be able to install this particular pod file.

Is there a route to installing this pod file which I am missing?

Thanks

解决方案

I fired it out, I just did a pod for the entire Google API and it seemed to work.

pod 'Google-API-Client', '~> 0.1'

这篇关于CocoaPod:找不到Google-Api-Client / Services / Calendar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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