从我的 Podfile 中:为什么会这样:
pod 'RestKit', :git => 'git@github.com:EATechnologies/RestKit.git', :commit => '56401aaa5b3714bbde5d2852f92c0b29e392b460'
但这不会:
pod 'RestKit', :git => 'git@github.com:EATechnologies/RestKit.git', :commit => '0831f2dc2da01731d37795a2c3bd8acb4045dda9'
当我使用后者时,我收到如下所示的错误:
$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'.