pod setup 失败

解决:直接下载 Specs-master.zip  解压放到 /Users/用户名/.cocoapods/repos目录下 


http://guides.cocoapods.org/terminal/commands.html#pod_setup   :


Creates a directory at ~/.cocoapods/repos which will hold your spec-repos. This is where it will create a clone of the public master spec-repo from:

https://github.com/CocoaPods/Specs
If the clone already exists, it will ensure that it is up-to-date.


Options:


--no-shallow


Clone full history so push will work.


Inherited options:


--silent


Show nothing.


--completion-script


Print the auto-completion script.


--version


Show the version of the tool.


--verbose


Show more debugging information.


--no-ansi


Show output without ANSI codes.


--help


Show help banner of specified command.

你可能感兴趣的:(Apple)