我一直在使用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但无法安装所有这些,因此使我的项目基本上无法使用。对此有何想法?
答案 0 :(得分:5)
我刚刚发现GitHub上周四遭遇了DDoS攻击,这可能就是超时的原因。