我尝试使用CocoaPods安装ShareKit 2.2。
在命令行中,我输入next:
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?我做错什么了?
发布于 2013-05-23 22:05:43
ShareKit的维护者决定删除用于规范的tag references。目前,他们希望从now https://github.com/CocoaPods/Specs/pull/2280的CocoaPods规范库中删除
我建议您通过他们的说明https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit进行安装
编辑:我刚刚删除了2.1和2.2规范https://github.com/CocoaPods/Specs/commit/c7ba46164cd76ef3a34a4036f2f3889ee0e0187c
2.0规范仍然可用,但您仍然可以考虑官方的安装说明。
更新:
如果您仍要随CocoaPods https://github.com/CocoaPods/Specs/commit/e7b99c9913be9e8b31ea846a98a60f8f25acbd64一起安装ShareKit,已将ShareKit 2.3版规范添加到存储库中
发布于 2013-12-03 21:31:50
您遇到此问题是因为您的项目路径包含单引号或空格。
这个问题已经被reported to cocoapods解决了。
https://stackoverflow.com/questions/16710435
复制相似问题