CocoaPods is an open-source dependency manager for apps built on Apple platforms. It lets a developer list the third-party libraries an iPhone, iPad or Mac app needs in a single text file, then downloads those libraries, resolves their versions and wires them into the Xcode project automatically. It exists because Apple shipped no package manager of its own for most of the iPhone's first decade, and adding code by hand broke easily. It became the standard route by which ad network, mediation, measurement and consent software development kits (SDKs) reached iOS apps. That route is now closing. On December 2, 2026, the project's central registry, known as trunk, stops accepting new libraries and new versions.

How CocoaPods works

The developer writes a Podfile at the root of the project. Each line names a dependency, called a pod, and an optional version rule. A line such as pod 'Google-Mobile-Ads-SDK', '~> 12.0' asks for the Google Mobile Ads SDK at any version from 12.0 up to, but not including, 13.0. Running pod install from the command line triggers the rest.

CocoaPods then consults the registry to find each pod's podspec, a metadata file that states where the library's code lives, which versions exist, which Apple operating system versions it supports, and which other pods it depends on. The tool resolves the full dependency tree and downloads the code. It records the exact versions in a Podfile.lock, so every machine installs identical code until someone runs pod update.

Finally, CocoaPods builds the libraries into a separate Xcode project and generates an .xcworkspace file that joins it to the app. This approach, which modifies the Xcode project from outside, explains both the tool's convenience and much of the criticism of it.

The registry is where most of the advertising relevance sits. Podspecs are stored in a public GitHub repository, CocoaPods/Specs. Since 2014, library publishers have pushed new versions to it through the trunk web service with the command pod trunk push. The first account to publish a pod name becomes its owner, and only owners can publish later versions or add co-owners, according to the CocoaPods blog post that launched trunk. Installations now read podspecs through the jsDelivr content delivery network (CDN).

Who uses it in advertising

On the sell side, app publishers and game studios use CocoaPods to install the SDKs that request and render ads. A typical monetisation stack might pull in a mediation SDK, adapters for a dozen demand partners, a consent management SDK and an attribution or tracking SDK, each as a separate pod. Mediation is the heaviest case. A mediation platform such as AdMob, AppLovin MAX or Unity LevelPlay needs a separate adapter for every third-party network it calls, and each adapter is usually its own pod pinned to a specific version of the network's SDK.

On the supply side of the code itself, ad tech vendors publish their SDKs as pods. Google, Meta, InMobi, Pangle and Mintegral have all distributed iOS releases through trunk. Prebid publishes its mobile SDK as the pod PrebidMobile. Buyers rarely touch CocoaPods directly, but if a supply partner's SDK update cannot reach apps, new formats and privacy signals do not reach the inventory they buy.

Origin and evolution

Eloy Durán began building CocoaPods in August 2011, and the first public release followed on September 1, 2011, according to Wikipedia's entry on the project. It is written in Ruby and released under the MIT License.

Early on, every new library version required a manual pull request to the Specs repository. On May 20, 2014, Durán announced trunk, describing it as a web service through which "publishers can now publish Pods directly from the command-line, without the need to create a pull-request".

Apple's answer arrived the following year. When Swift became open source in December 2015, it came with the Swift Package Manager (SPM). In a 2024 post, CocoaPods maintainer Orta Therox described that moment as Apple announcing "that the CocoaPods project had been Sherlocked". SPM only became practical for iOS apps once Apple built it into Xcode 11 in 2019.

The decline was gradual. On August 13, 2024, Therox wrote that the volunteer team was "being more up-front that CocoaPods is in maintenance mode", committing to security fixes and at least two releases a year to track Xcode. On November 30, 2024, he published the trunk read-only plan, whose summary stated: "In two years we plan to turn CocoaPods trunk to be read-only. At that point, no new versions or pods will be added to trunk." The stated aim was to "drastically simplify the security of CocoaPods trunk". In May 2025 new pods were barred from using prepare_command, a scripting hook. A test run of rejecting new podspecs was scheduled for November 2 to 6, 2026, ahead of the permanent switch on December 2, 2026. At its peak the project claimed more than 103,000 libraries and use in over 3 million apps, according to Wikipedia.

Why it matters for marketers

The read-only date changes how ad technology reaches iPhones. Existing builds keep working: the plan states that the switch "will not break builds for people using CocoaPods in 2026 onwards", and the Specs repository and CDN remain readable. But no SDK version published after December 2 will exist on trunk.

Google has drawn the line explicitly. In a November 6, 2026 post on its Ads Developer Blog, the company said new versions of the Google Mobile Ads SDK and its iOS mediation adapters would stop being published to CocoaPods after December 2, with future releases, features and fixes delivered only through Swift Package Manager and manual downloads, according to the post. The same applies to its User Messaging Platform SDK for consent prompts. The groundwork was laid earlier. On September 30, 2025, Google announced SPM support for ten mediation adapters, including AppLovin, IronSource, Liftoff Monetize, Meta, Mintegral, Pangle and Unity.

An app still on CocoaPods therefore freezes its ad stack at whatever versions trunk last held. Mediation adapters are released in lockstep with network SDKs, so a stale adapter can stop serving one partner's demand. Privacy requirements, such as Apple's privacy manifests, arrive as SDK updates. Changes to mediation waterfall logic, or bidding floors of the kind Google added to AdMob mediation in July 2025, depend on publishers being able to upgrade.

The shift also lands while the SDK model itself is being questioned. Prebid has positioned its Mobile SDK as an additional demand source alongside existing mediation, while CloudX lets demand-side platforms bid on app supply without shipping their own SDKs.

Limitations and criticisms

Security is the sharpest criticism. In July 2024, researchers at EVA Information Security disclosed three flaws in the trunk server: CVE-2024-38366, rated 10.0 on the Common Vulnerability Scoring System (CVSS) and allowing remote code execution on the server; CVE-2024-38367, rated 8.2 by The Register's account and 9.6 by Nesbitt's; and CVE-2024-38368, rated 9.3. The last allowed attackers to claim pods left ownerless when the 2014 trunk migration reset authorship, of which 1,870 remained unclaimed, according to EVA. Together the flaws could have let an attacker push malicious code into widely used libraries. The CocoaPods team had patched them months before disclosure, and there was no evidence of exploitation in the wild, but packages had been "exposed and ready for takeover for nearly a decade", The Register reported. An ad SDK runs with the host app's permissions, so a compromised pod is a direct route to user data.

The ad industry has seen a related risk materialise. In August 2020, security firm Snyk reported that Mintegral's iOS SDK, which it named SourMint, reported clicked URLs to Mintegral's servers and manipulated click notifications so that installs driven by other networks were attributed to Mintegral. Snyk found the code in 1,200 iOS apps, including about 70 of the top 500 free apps, according to Help Net Security. The SDK was distributed through Mintegral's GitHub repository and CocoaPods, showing how one line of a Podfile can carry behaviour a publisher never inspects.

Governance is a second problem. CocoaPods was run by a small volunteer team. Software developer Andrew Nesbitt, writing in June 2026, attributed the sunset to the maintainers running out of people, SPM becoming first-class, and the 2024 vulnerabilities turning the server into a liability.

Workflow friction is the third. Because CocoaPods rewrites Xcode projects from outside, Xcode upgrades periodically break builds.

Migration is uneven. Not every SDK vendor supports SPM equally, and cross-platform frameworks lag. React Native still resolves iOS dependencies through CocoaPods, with a move to SPM under discussion as an open proposal as of mid-2026, according to Nesbitt. Firebase stopped publishing new Apple SDK versions to CocoaPods in October 2026, according to messaging vendor Courier.

CocoaPods versus adjacent terms

Swift Package Manager is Apple's first-party dependency manager, built into Xcode. Packages are usually referenced directly by Git repository URL rather than through a central registry.

Carthage is a community dependency manager launched in 2014. It builds frameworks but leaves Xcode integration to the developer.

An SDK is the software being distributed. CocoaPods is one delivery mechanism, so an SDK leaving CocoaPods is not itself deprecated.

Xcode is Apple's development environment. CocoaPods generates files that Xcode opens but is not part of it.

Recent developments

As of November 2026, the switch is three days away. CocoaPods trunk is due to become permanently read-only on Wednesday, December 2, 2026, the date the project chose as "a Wednesday after American Thanksgiving". Google's November 6 notice to AdMob and Ad Manager developers made the deadline concrete for app monetisation, telling publishers to remove CocoaPods with pod deintegrate and add the Mobile Ads SDK as a Swift package through Xcode's "Add Package Dependencies" menu. AdMob's SDK resources had already been folded into Google's Advertising and Measurement Developers Hub on April 6, 2026.

After the switch, the Specs repository is expected to be archived on GitHub. Apps that keep their Podfiles will continue to build, against libraries that will never change again.

Timeline

  • August 2011 - Eloy Durán begins development of CocoaPods.
  • September 1, 2011 - First public release.
  • May 20, 2014 - Trunk launches, allowing command-line publishing and introducing pod ownership.
  • 2014 - Carthage launches as an alternative dependency manager.
  • December 2015 - Apple open-sources Swift, including the Swift Package Manager.
  • 2019 - Xcode 11 integrates Swift Package Manager for iOS app projects.
  • August 24, 2020 - Snyk reports the SourMint code in Mintegral's iOS SDK, found in 1,200 apps.
  • July 2024 - EVA Information Security discloses three trunk vulnerabilities, patched months earlier.
  • August 13, 2024 - Maintainers state publicly that CocoaPods is in maintenance mode.
  • November 30, 2024 - Trunk read-only plan published, with a two-year horizon.
  • May 2025 - New pods blocked from using prepare_command.
  • September 30, 2025 - Google announces Swift Package Manager support for ten Google Mobile Ads mediation adapters.
  • April 6, 2026 - Google launches its Advertising and Measurement Developers Hub.
  • October 2026 - Firebase stops publishing new Apple SDK versions to CocoaPods.
  • November 2-6, 2026 - Scheduled test run of trunk rejecting new podspecs.
  • November 6, 2026 - Google says Mobile Ads SDK and adapter releases will stop going to CocoaPods after December 2.
  • December 2, 2026 - CocoaPods trunk becomes permanently read-only.

Summary

Who: CocoaPods was created by Eloy Durán and maintained by a small volunteer team including Orta Therox. It is used by iOS and macOS developers, app publishers and ad tech vendors such as Google, Meta, InMobi and Prebid to distribute and install SDKs.

What: An open-source dependency manager that reads a Podfile, resolves library versions through a central registry called trunk and integrates the code into Xcode projects. Trunk becomes read-only, accepting no new pods or versions.

When: First released on September 1, 2011; trunk launched May 20, 2014; maintenance mode declared August 13, 2024; trunk read-only on December 2, 2026.

Where: Apple's platforms - iOS, iPadOS, macOS, watchOS and tvOS - with podspecs held in the CocoaPods/Specs repository on GitHub and served through the jsDelivr CDN.

Why: It solved the absence of a native package manager for Apple apps and became the default channel for ad SDKs. It is closing because Swift Package Manager now fills that role, the volunteer team shrank, and 2024 security flaws showed how a central registry can become a supply-chain target.