Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 36 lines (17 sloc) 1.511 kB
80ba176 @alloy Add a README.
alloy authored
1 # A repository of CocoaPods specifications.
2
3 [![Build Status](https://secure.travis-ci.org/CocoaPods/Specs.png?branch=master)](http://travis-ci.org/CocoaPods/Specs)
4
5 This repository contains specifications of open-source Objective-C libraries, which are used by [CocoaPods](https://github.com/CocoaPods/CocoaPods) to manage library dependencies for your Xcode project.
6
7
8 ### Creating specifications
9
10 First of all, you need to install the tools.
11
12 $ [sudo] gem install cocoapods
13
14 A specification file has to be namespaced by the library’s name and the version for which the specification is meant. For instance, the directory for a library named ‘Bananas’ with version ‘1.2.3’ should be:
15
16 $ mkdir -p Bananas/1.2.3
17
18 Then you can have the CocoaPods `pod` command create a stub specification:
19
20 $ pod spec create Bananas/1.2.3/Bananas
21
22 Now edit the stub specification following the explanations therein contained. This file is a [Ruby](http://www.ruby-lang.org/) source file.
23
24 $ vim Bananas/1.2.3/Bananas.podspec
25
26 You can verify the specification file with the lint command.
27
28 $ pod spec lint Bananas/1.2.3/Bananas.podspec
29
30 Once you have created a working specification create a pull request. Once accepted, you will receive push access to this repo. Feel free to push updates, specs for other libraries you use, and participate in other tickets.
31
32
33 ### License
34
35 These specifications and CocoaPods are available under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
Something went wrong with that request. Please try again.