objective-c - 椰子足 : pod setup failed with fatal error

标签 objective-c cocoapods git-clone

我使用“gem install cocoapods”成功安装了cocoapod。之后尝试使用“pod setup”设置 pod,但出现 fatal error 。

sh-3.2# pod setup

Setting up CocoaPods master repo

[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master

克隆到'master'...

error: transfer closed with outstanding read data remaining while accessing https://github.com/CocoaPods/Specs.git/info/refs?service=git-upload-pack

fatal: HTTP request failed

请帮我解决这个问题..

最佳答案

此问题似乎只是暂时的网络问题。尝试验证您是否可以克隆 https://github.com/CocoaPods/Specs手动 repo 文件夹。

关于objective-c - 椰子足 : pod setup failed with fatal error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16959312/

相关文章:

ios - UIImagePNGRepresentation 内存从未释放

ios - React Native iOS 构建失败 : Undefined symbols for architecture x86_64

ios - 无法 Lint/推送 Swift Cocoapods podspec

swift - 抑制警告: The Swift file cannot be processed by a Copy Bundle Resources build phase

git - 如何克隆特定的 Git 分支?

git - 克隆时配置文件中的 "bad config line 1"

iphone - 将新值设置为具有先前值的 NSString 变量

objective-c - 修复 "Use of undeclared identifier ' NSPreferencePanesDirectory'"

git - 缺少分支使用 git-svn clone 克隆非标准 svn 存储库

ios - 将视频文件从 "Videos"应用程序导入到我的应用程序中