ios - Cocoapods超时问题

标签 ios github timeout cocoapods

我已经使用 cocoapods 一段时间了,从来没有遇到过任何问题,但从昨天开始,我一直在从 GitHub whey 尝试执行 pod install 时超时。

这是我的播客文件:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
use_frameworks!

pod 'iCarousel'
pod 'SwipeView'
pod 'AFNetworking'
pod 'ActionSheetPicker-3.0'
pod 'WYPopoverController'
pod 'MarqueeLabel'
pod 'MZFormSheetController'
pod 'TPKeyboardAvoiding'
pod 'SVPullToRefresh'
pod 'ReflectionView'
pod 'SCLAlertView-Objective-C'
pod 'iOS-Slide-Menu'
pod 'MONActivityIndicatorView'
pod 'HexColors'
pod 'ICViewPager'
pod 'SlackTextViewController'
pod 'STTweetLabel'

当我尝试运行 pod install 时,我收到此消息:

Analyzing dependencies
Downloading dependencies
Installing AFNetworking (2.5.0)

[!] Error installing AFNetworking
[!] /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git /Users/georgichristov/Documents/Workspace/Examples/IOS/DigiGraff-IOS/Pods/AFNetworking --single-branch --depth 1 --branch 2.5.0

Cloning into '/Users/georgichristov/Documents/Workspace/Examples/IOS/DigiGraff-IOS/Pods/AFNetworking'...

fatal: unable to access 'https://github.com/AFNetworking/AFNetworking.git/': Failed to connect to github.com port 443: Operation timed out

有时它设法安装了多个 pod 但无法安装所有 pod,从而使我的项目基本上无法使用。对此有什么想法吗?

最佳答案

我刚刚发现 GitHub 上周四遭到 DDoS 攻击,这可能是超时的原因。

http://thenextweb.com/insider/2015/03/30/github-may-have-been-targeted-by-chinese-hackers-in-ddos-attack/

关于ios - Cocoapods超时问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29342424/

相关文章:

docker - GoCD 中持续集成的性能度量

ios5 - RestKit 超时被忽略

javascript - 如何在 Jasmine 中强制执行默认超时间隔?

C# Xamarin Forms - 执行任务,超时

android - 在 Flutter 中以编程方式更改启动屏幕颜色

ios - 在我的 xcode 6、xcode 7 beta 中看不到预览助手

ios - 如何将英语设置为 iOS 应用程序的默认语言?

ios - 使用自动布局分配中心

GitHub 私有(private) - 协作者无法访问存储库

git - 更改推送提交的 git 注释