【问题标题】:Cocoapods timeout issueCocoapods 超时问题
【发布时间】:2015-03-30 09:17:29
【问题描述】:

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

这是我的 podfile:

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,从而使我的项目基本上无法使用。对此有什么想法吗?

【问题讨论】:

    标签: ios github timeout cocoapods


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 2013-10-11
      • 2013-10-25
      • 2020-11-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-03
      相关资源
      最近更新 更多