我在github上有一个回购.我想把它作为可可豆荚发布.我努力了,但找不到任何坦率的教程.
http://guides.cocoapods.org/making/specs-and-specs-repo.html
教授如何创建spec文件以及如何更新现有pod,但不告诉如何创建新pod.
在关注https://github.com/CocoaPods/CocoaPods/wiki/Creating-and-maintaining-a-pod,教程后,我在执行"$ pod push master"命令后面临错误,它说,
Pushing the `master' repo
remote: Permission to CocoaPods/Specs.git denied to HarshitDaftary.
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': The requested URL returned error: 403
Run Code Online (Sandbox Code Playgroud)
请帮助我.
您显然还不是CocoaPods/Specs.git存储库的贡献者。要将您的 Pod 添加到公共列表,您需要分叉该存储库,推送到该分叉,然后提交拉取请求以将您的添加内容合并到上游存储库中。请参阅http://guides.cocoapods.org/making/specs-and-specs-repo.html上的“如果您没有对 CocoaPods/Specs 的推送访问权限”部分
| 归档时间: |
|
| 查看次数: |
1650 次 |
| 最近记录: |