如何制作可可豆荚? [英] How to create cocoa pods?

查看:93
本文介绍了如何制作可可豆荚?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在github上有一个仓库。我想将其发布为可可豆荚。我很努力,却找不到任何坦率的教程。

I have a repo on github. I want to publish it as cocoa pod. I tried hard but couldn't find any frank tutorial.

http://guides.cocoapods.org/making/specs-and-specs-repo.html

教了如何创建规格文件以及如何更新现有的pod,但没有讲述如何创建一个新的。

teaches how to create spec file and how to update your existing pod , but doesn't tell how to create a new one.

,同时关注 https://github.com/CocoaPods/CocoaPods/wiki/Creating-and-maintaining-a-pod 教程,我在执行 $ pod push master命令后遇到错误,它说,

while following https://github.com/CocoaPods/CocoaPods/wiki/Creating-and-maintaining-a-pod , tutorial, i am facing errors after executing "$ pod push master" command, it says,

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

请帮助我。

推荐答案

您显然还不是 CocoaPods / Specs.git 信息库。要将您的Pod添加到公共列表中,您将需要对该存储库进行派生,推送到该派生并提交请求请求,以将添加的内容合并到上游存储库中。请参阅 http://guides.cocoapods.org/making/specs-and-specs-repo.html

You are apparently not (yet) a contributor to the CocoaPods/Specs.git repository. To add your pod to the public list you will need to fork that repo, push to that fork, and submit a pull request to have your addition merged into the upstream repository. See the "If you do not have push access to CocoaPods/Specs" section on http://guides.cocoapods.org/making/specs-and-specs-repo.html

这篇关于如何制作可可豆荚?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆