CocoaPods
CocoaPods | |
---|---|
Original author(s) | Eloy Durán |
Developer(s) | Ben Asher, Dimitris Koutsogiorgas, Danielle Lancashire, Orta Therox, Paul Beusterien and Samuel Giddins |
Stable release | 1.16.2
|
Preview release | October 31, 2024[1]
|
Written in | Ruby |
Platform | macOS, iOS, watchOS, tvOS |
Type | Package manager |
License | MIT License |
Website | cocoapods |
CocoaPods is an
CocoaPods focuses on source-based distribution of third party code and automatic integration into Xcode projects.
CocoaPods runs from the
Example
The following Podfile example installs the AFNetworking and CocoaLumberjack libraries:
platform :ios
pod 'AFNetworking', '~> 2.0.0'
pod 'CocoaLumberjack', '< 1.7'
target 'MyApp'
Security
In July 2024, CocoaPods has been found to have multiple security vulnerabilities that could allow attackers to take control of unclaimed software packages and inject malicious code into applications. These issues have since been patched, but they exposed millions of iOS and macOS apps to supply chain attacks for an estimated period of 10 years.[10][11][12]
Maintenance Mode
The project has transitioned into maintenance mode after 13 years. With the announcement of Swift Package Manager (SPM) by Apple in 2015, maintainers' ties to the project weakened, with updates driven mostly by security fixes or Xcode compatibility issues. Despite this, CocoaPods' usage has continued due to its role in frameworks like React Native and Flutter, though many users are currently unaware of its existence or inner workings. With Apple's SPM as its successor and declining active development, the CocoaPods team is now reassessing the project's future and maintenance approach.[13]
See also
References
- ^ "Releases · CocoaPods/CocoaPods". github.com. Retrieved 2025-02-10.
- ^ Use CocoaPods Dependencies in RubyMotion Apps Archived 2013-12-24 at the Wayback Machine
- ^ CocoaPods contributors
- ^ Initial work
- ^ Initial release
- ^ CocoaPods homepage
- ^ What's New in AppCode 2.5
- ^ Streamlining Cocoa Development With CocoaPods
- ^ The “master” spec repository
- ^ 3 million iOS and macOS apps were exposed to potent supply-chain attacks
- ^ CocoaPods Trunk: 3 Remote Code Execution found, 2023
- ^ Vulnerabilities in CocoaPods Open the Door to Supply Chain Attacks Against Thousands of iOS and MacOS Applications
- ^ CocoaPods Support & Maintenance Plans