GithubHelp home page GithubHelp logo

pkdevboxy / cocoapodsspecs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hubspot/cocoapodsspecs

0.0 2.0 0.0 4.56 MB

A repository of CocoaPods (cocoapods.org) specifications.

Home Page: https://github.com/CocoaPods/CocoaPods/wiki/Contributing-to-the-master-repo

Ruby 100.00%

cocoapodsspecs's Introduction

A repository of CocoaPods specifications.

Build Status

This repository contains specifications of open-source Objective-C libraries, which are used by CocoaPods to manage library dependencies for your Xcode project.

Creating specifications

First of all, you need to install the tools.

$ [sudo] gem install cocoapods

Then you can have the CocoaPods pod command create a stub specification:

$ pod spec create Bananas
$ pod spec create https://github.com/Bananas/Bananas # For libraries hosted on GitHub

Now edit the stub specification following the explanations therein contained. This file is a Ruby source file.

$ vim Bananas.podspec

You can verify the specification file with the lint command. This command checks for common errors and whether the pod builds on the platforms that it supports.

$ pod spec lint Bananas.podspec --verbose

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.

If you have push access you can publish all the podspecs in a working directory.

$ pod setup --push # Run only once
$ pod push master

Namespacing

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:

$ mkdir -p Bananas/1.2.3
$ cd Bananas/1.2.3

Versioning

CocoaPods uses a versioning scheme known as Semantic Versioning. See this example for more info on why this scheme is used.

If the library, that you are creating a specification for, does not yet have any tagged versions in its repo, then it’s best to start with the lowest version ‘0.0.1’, which will ensure that once the author does add tagged versions they will be equal or higher than ‘0.0.1’. It is your responsibility to ask the author of the library to tag versions, luckily we have a template for this.

Check the entire repo

You can also verify the entire set by running the rake task.

$ rake lint

(Note: this is run on every commit by Travis)

License

These specifications and CocoaPods are available under the MIT license.

cocoapodsspecs's People

Contributors

a2 avatar alexdenisov avatar alihafizji avatar alloy avatar atomkirk avatar brunow avatar dkuhnke avatar dlackty avatar fabiopelosin avatar groue avatar iprayforwaves avatar jeanregisser avatar jerolimov avatar keith avatar kylefleming avatar lexrus avatar mattt avatar matzew avatar msv avatar odrobnik avatar ootake avatar orta avatar romaonthego avatar ryanmasondavies avatar siuying avatar soffes avatar thisandagain avatar yas375 avatar youknowone avatar zwaldowski avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.