CocoaPods - pod setup http请求失败 [英] CocoaPods - pod setup http request failed

查看:185
本文介绍了CocoaPods - pod setup http请求失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在OSX 10.8.2上工作

全新安装CocoaPods后。

我试图

  $ pod setup 

我得到

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

克隆到'master'...
错误:请求的URL在访问
时返回错误:503 https://github.com/CocoaPods/Specs.git/info/refs

致命:HTTP请求失败

我做错了什么?

解决方案



这应该是一个小故障,从 Github状态页面


今天(1月16日,9:50 UTC)

我们正在努力解决几个文件服务器集群的问题。只有少数用户会受到影响。



上游网络连接问题继续影响小部分用户的GitHub访问。

我们收到通知,表示我们的上游网络提供商之一将对发生故障的设备进行紧急维护试图在今天晚些时候解决这个问题。


因此,如果您稍后再试,它应该可以正常工作。

由于它是公开回购,所以像 https://github.com/CocoaPods/ Specs.git 可以用于读取(为所有人提供)和写入(仅限于协作者)。


Working on OSX 10.8.2

After a fresh install of CocoaPods.
I'm trying to

$ pod setup

And I get

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

Cloning into 'master'...
error: The requested URL returned error: 503 while accessing
  https://github.com/CocoaPods/Specs.git/info/refs

fatal: HTTP request failed

Am I doing something wrong ?

解决方案

This should be a glitch, due to some Github availability issue:

From Github status page:

Today (January 16th, 9:50 UTC)

We are working to resolve issues with a couple of fileserver clusters. Only a small number of users will be affected.

From

Upstream network connectivity issues continue to affect GitHub access for a small percentage of users.
We've received notification that one of our upstream network providers will be performing emergency maintenance on malfunctioning device to attempt to resolve this later today.

So if you retry later, it should work.

Since it is a public repo, an address like https://github.com/CocoaPods/Specs.git can work for read (pull for everyone) and write (collaborators only).

这篇关于CocoaPods - pod setup http请求失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆