2014-02-25 109 views
1

我想释放Cocoapods上的podspec。根据文档,我应该能够使用pod spec create [NAME],然后rake release来释放podspec。一切似乎都很好,直到rake release试图推向规格回购。Pod推送失败推到主回购

Adding the spec to the `master' repo 

    $ /opt/local/bin/git status --porcelain 2>&1 
- [No change] IPQuickModal (0.1.2) 

Pushing the `master' repo 

Username for 'https://github.com': brightredchilli 
Password for 'https://[email protected]': 
remote: Invalid username or password. 
fatal: Authentication failed for 'https://github.com/CocoaPods/Specs.git/' 

它看起来像是试图推向主要的Cocoapods规格回购,这将是有道理的,为什么它失败。我错过了什么吗?它看起来像是易于使用的工具,但我需要推动访问规格回购。但是,这在doc page上并不清楚。

回答

1

要向CocoaPods(当前)提交podspec,您必须向specs repo提交拉取请求。目前除核心团队外没有其他人推动访问。

+2

文档也进行了更新以反映此情况。 – MishieMoo

+1

感谢@MishieMoo,如果我可以在这里添加两分钱,那么如果修改rake发布工具以便默认不推送,并且使文档更清晰地说明如何提交PR,那将非常好。我可以做一个文件PR。 – Ying