Girish Mahajan (Editor)

CocoaPods

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
Eloy Durán

Written in
  
Ruby

Stable release
  
1.0.1

Type
  
Package manager

Developer(s)
  
Eloy Durán, Fabio Pelosin, Kyle Fuller, and Samuel Giddins

Platform
  
Mac OS X, iOS, watchOS, tvOS

CocoaPods is an application level dependency manager for the Objective-C, Swift and any other languages that run on the Objective-C runtime, such as RubyMotion, that provides a standard format for managing external libraries. It was developed by Eloy Durán and Fabio Pelosin, who continue to manage the project with the help and contributions of many others. They began development in August 2011 and made the first public release on September 1, 2011. CocoaPods is strongly inspired by a combination of the Ruby projects RubyGems and Bundler.

CocoaPods focuses on source-based distribution of third party code and automatic integration into Xcode projects.

CocoaPods runs from the command line and is also integrated in JetBrains' AppCode integrated development environment. It installs dependencies (e.g. libraries) for an application by specification of dependencies rather than manual copying source files. Besides installing from many different sources, a “master” spec repository—containing metadata for many Open-Source libraries—is maintained as a git repository and hosted on GitHub. Over 3000 libraries are currently available for use.

Example

The following Podfile example installs the AFNetworking and CocoaLumberjack libraries:

References

CocoaPods Wikipedia