CocoaPod: Unable to find Google-Api-Client/Services/Calendar

拈花ヽ惹草 提交于 2019-12-11 05:27:13

问题


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


回答1:


This is an old question but I had a similar problem (except using Drive). In my case the issue was the word Services.

I ended up using:

pod 'Google-API-Client/Drive'

Since I didn't really want all the other services along with it.




回答2:


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'



来源:https://stackoverflow.com/questions/24185613/cocoapod-unable-to-find-google-api-client-services-calendar

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