2014-02-25 106 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