Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create cocoa pods?

Tags:

cocoapods

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

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

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

Kindly help me.

like image 489
HarshIT Avatar asked Dec 24 '13 06:12

HarshIT


People also ask

How does cocoa pod work?

CocoaPods is a library dependency management tool for OS X and iOS applications. With CocoaPods, you can define your dependencies, called pods , and manage their versions easily over time and across development environments.


1 Answers

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

like image 127
Jonah Avatar answered Oct 21 '22 01:10

Jonah