问题
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
inGoogle-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