Q:

Cocoapods error

From my Podfile: why does this work:

pod 'RestKit', :git => 'git@github.com:EATechnologies/RestKit.git', :commit => '56401aaa5b3714bbde5d2852f92c0b29e392b460'

but this does not:

pod 'RestKit', :git => 'git@github.com:EATechnologies/RestKit.git', :commit => '0831f2dc2da01731d37795a2c3bd8acb4045dda9'

When I use the latter, I get an error that looks like this:
$pod update
Updating spec repo `master'
-> Pre-downloading: 'MCSMKeychainItem'
-> Pre-downloading: 'RestKit'
[!]  Failed: /usr/bin/git rev-list --max-count=1 0831f2dc2da01731d37795a2c3bd8acb4045dda9
[!]  Failed: /usr/bin/git rev-list --max-count=1 0831f2dc2da01731d37795a2c3bd8acb4045dda9
[!]  Cache unable to find git reference `0831f2dc2da01731d37795a2c3bd8acb4045dda9' for `git@github.com:EATechnologies/RestKit.git'. 

A:

This seems to have been fixed with Cocoapods 0.15.1.