Dependency manager for Swift and Objective-C Cocoa projects
open sourceMITfree
CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects on iOS, macOS, watchOS and tvOS. You list dependencies in a Podfile in your Xcode project and run pod install, which fetches them and integrates them into an Xcode workspace. Its central spec repository, trunk, lists over 109 thousand libraries. It is written in Ruby, installs as a gem, and is MIT licensed. Trunk is becoming read-only: from December 2026 it accepts no new pods or versions, while existing ones keep installing.
Ways to install
Package managers
Problems it solves
- add third-party libraries to an Objective-C iOS project
- manage dependencies for an Xcode project that still uses a Podfile
- host a private spec repo for internal iOS libraries
Features
- Podfile to declare dependencies
- Integrates libraries into an Xcode workspace
- Central spec repo (trunk) plus private spec repos
- Search of over 109 thousand pods
Limitations
- CocoaPods trunk accepts no new pods or versions from 2 December 2026; existing pods keep installing, but updates need your own specs repo.2
Alternatives
The same job
These do what CocoaPods does.
- Swift Package Manager Organize, manage, and edit Swift packages
- Carthage Simple, decentralized dependency manager for Cocoa apps
