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上並不清楚。
文檔也進行了更新以反映此情況。 – MishieMoo
感謝@MishieMoo,如果我可以在這裏添加兩分錢,那麼如果修改rake發佈工具以便默認不推送,並且使文檔更清晰地說明如何提交PR,那將非常好。我可以做一個文件PR。 – Ying