CocoaPods - pod setup http request failed

爷,独闯天下 提交于 2019-12-08 05:26:52

问题


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 ?


回答1:


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).



来源:https://stackoverflow.com/questions/14355595/cocoapods-pod-setup-http-request-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!