2013年2月7日 星期四

how to create and submit a cocoapod.

1. to create a new podspec file (to create MyPod.podspec for example)

     $ pod spec create MyPod

2. modify MyPod.podspec to fit your need.
3. link it before sumbit

     $ pod spec lint MyPod.podspec

4. submit to repository using follow spec.

quoted from URL:http://nsscreencast.com/episodes/28-creating-a-cocoapod


  1. Fork the repository at http://github.com/CocoaPods/Specs.git
  2. Add your podspec file to its own versioned folder
  3. Push to your fork
  4. Issue a Pull Request

5. if you want to put pod on your own repository. refer to following URL:

https://github.com/CocoaPods/CocoaPods/wiki/Sharing-pod-specifications-with-yourself-and-the-world

1 則留言:

  1. Git and Github Online Training
    Github
    Git
    What is Git?
    Installing Git
    Getting Started
    Git Concepts and Architecture
    Making Changes to Files
    Undoing Changes
    Ignoring Files
    Navigating the Commit Tree
    Branching
    Merging Branches
    Stashing Changes
    Remotes
    Tools and Next Steps
    Conclusion
    Real-time Scenarios

    Git and Github Online Training, ONLINE TRAINING – IT SUPPORT – CORPORATE TRAINING http://www.21cssindia.com/courses/git-and-github-online-training-248.html The 21st Century Software Solutions of India offers one of the Largest conglomerations of Software Training, If you’re serious about a career in IT, 21st Century would like to provide you a guidance don’t hesitate to organize a free demo session. For any further information regarding the courses once go through our website Visit: http://www.21cssindia.com | Call Us +917386622889 - +919000444287 - contact@21cssindia.com

    回覆刪除