我尝试使用 CocoaPods 安装 ShareKit 2.2。
在命令行中,我输入下一个:
touch Podfile
open -e Podfile
使用以下行编辑我的 Podfile:
platform :ios, '5.0'
pod 'ShareKit', '~> 2.2'
保存文件并输入pod install
行后Installing ShareKit (2.2)
命令行工具要求我输入 github 帐户信息。我已输入我的帐户并在下面收到此消息:
[!] Pod::Executable clone --mirror "https://github.com/dkuhnke/ShareKit.git" "/Users/developer/Library/Caches/CocoaPods/GitHub/a45caba117704c3f4cfa5f478a14e9305d2d5e9f"
Cloning into bare repository '/Users/developer/Library/Caches/CocoaPods/GitHub/a45caba117704c3f4cfa5f478a14e9305d2d5e9f'...
fatal: https://github.com/dkuhnke/ShareKit.git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?
我做错了什么?