CocoaPods Deprecated: What Changes on Dec 2

Andrey Gordeev

CocoaPods isn’t deprecated in the sense of being switched off, but its trunk stops accepting new pods and new versions on December 2, 2026, so every library you depend on through a Podfile will stop getting updates through CocoaPods from that date. Builds you already have keep working. What changes is that any security fix, privacy manifest or new iOS compatibility patch a maintainer publishes afterward will reach you only if you move that dependency to Swift Package Manager or another source.

Podfile open in an editor above a Pods folder and an Xcode workspace for an older iOS app

This article is for the situation you’re probably in: an app someone else built, with a Podfile you didn’t write, a release due next month and nobody sure which pods are safe to touch. I’m Andrey Gordeev, and at RapidLabs I take over and stabilize existing iOS and Android apps, so this is written from the point of view of inheriting a Podfile rather than starting a clean project.

Is CocoaPods actually deprecated?

No, the official wording is that trunk is going read-only, which is narrower than a shutdown. The CocoaPods team published the plan on its blog, and the key dates in it are a test run of read-only mode during November 1-7, 2026, and a permanent stop to new podspecs on December 2, 2026. The post describes December 2 as a Wednesday after American Thanksgiving.

A timeline with two marked dates, November 1-7 for the read-only test run and December 2 for the permanent switch

Earlier steps are already behind us. The same post says new podspecs that use the prepare_command field were blocked in May 2025, while existing pods using it were exempt. In practice the ecosystem has been winding down for a while, and December 2 is the final step in that process. Today, as I write this, falls inside the test window, so if a script of yours fails to push a podspec this week, that’s most likely the rehearsal.

The post also says what survives. It states that the change keeps existing builds working, that the Specs repo and CDN are expected to run as long as GitHub and jsDelivr exist, and that people with their own specs repos or fully vendored dependencies aren’t affected. So the accurate description is that CocoaPods becomes an archive: you can still download everything that exists, but nothing new arrives.

Will your current builds break on December 2?

No, and that’s the first thing to tell a nervous client. Your Podfile.lock already pins exact versions, and those versions stay downloadable, so a clean checkout on a build server resolves the same way on December 3 as it did on December 1. The CocoaPods announcement is explicit that the switch won’t break builds.

The risk is slower: nothing fails loudly, but the libraries behind your lock file stop moving. A maintainer who fixes a crash in January publishes it as a Swift package or a GitHub release, and your Podfile never sees it. Six months later you open the app for a routine update and find that the networking library, the analytics SDK and the image loader are all a version or two behind, and one of them now conflicts with the newest Xcode.

For a business owner, nothing is on fire, but every month on CocoaPods from now on makes the next upgrade a little bigger. That’s the same pattern we describe in our notes on React Native upgrades, where a skipped version doesn’t hurt until the day you have to jump several at once.

Which dependencies in your app are at real risk?

The ones that update often, and the ones that carry privacy or security obligations. The quickest way to find them is to read Podfile.lock rather than the Podfile, because the lock file lists every pod actually installed, including the transitive ones nobody chose on purpose.

Start with Firebase if you have it. Firebase’s own iOS installation page says it will stop publishing new versions to CocoaPods in October 2026, and it ties that to the CocoaPods read-only date. The page also says Firebase recommends Swift Package Manager for new projects, and it lists CocoaPods support as requiring Xcode 26.2 and CocoaPods 1.12.0 or higher. For an app that relies on Firebase for crash reporting or push, that makes the Firebase date the earlier deadline, and as of today it has already arrived, so check which Firebase version your lock file pins.

Podfile.lock open in an editor with the list of installed pods and their pinned versions

Next come libraries Apple cares about. A pod that touches a required-reason API needs a privacy manifest, and the only way a fix for that arrives is a new release of the library. If you’ve already fought a build warning about a missing manifest, you know how this goes, and our article on the iOS privacy manifest explains how to find the SDK behind the message. A frozen pod that lacks a manifest can get a submission blocked.

Last, look for pods that have been abandoned for years. Those won’t be affected by December 2 at all, because they weren’t going to get updates anyway. They’re a separate decision, usually about whether to replace the library or vendor its source, and the migration is simply a good moment to make it.

Should you migrate to Swift Package Manager now or wait?

Migrate when a dependency you need can only be updated that way, and wait when nothing forces your hand and a release is close. That’s my recommendation for an inherited app, because the move isn’t equally urgent for every app.

There are three situations where I’d start now. The first is Firebase, for the reason above. The second is any library whose maintainers have said new versions will ship only as a Swift package. The third is an app that is already due for a larger cleanup, because a dependency migration is easier to fold into planned work than to schedule on its own.

There are also situations where waiting is the better call. If the app is in a stable maintenance phase, ships twice a year and uses a handful of mature pods, the cost and risk of a migration may exceed the benefit this quarter. Existing builds keep working, so you can plan it for a quiet period. And if the app is also unstable, with crashes you haven’t diagnosed or a signing setup nobody trusts, fix those first, because a dependency migration changes the build and makes every other problem harder to isolate.

Swift Package Manager has limits too: libraries that rely on custom build scripts or unusual resource bundles can be awkward to wrap, and a few older SDKs ship only as pods. That’s why I treat the migration as an audit first and a change second.

How do you migrate an inherited app from CocoaPods to Swift Package Manager?

Do it as a separate, reviewable change with a before-and-after comparison, outside any feature release. The goal is that the migrated app behaves exactly like the one in the App Store today, and that you can prove it.

Begin by recording the current state. Tag the last release in git, archive and upload a build from it, and keep the Podfile.lock in the commit message or a note. That lock file is your list of exact versions, and it’s the reference you’ll compare against.

Then map each pod to a Swift package. For each entry in the lock file, check whether the maintainer publishes a Swift package, which tag corresponds to the pinned version, and whether any post_install hook in the Podfile changes build settings you’ll need to reproduce by hand. The Podfile documentation shows post_install as a hook that runs over the generated Pods project, and on inherited apps it often hides fixes for deployment targets or architectures that nobody wrote down.

Add the packages one by one in Xcode at the versions you recorded, using the exact-version rule at first. Swift Package Manager keeps its own record of what it resolved, in a Package.resolved file, and you should commit it so every developer and the build server get the same versions. Once the app builds with the packages in place, you can loosen a rule to a range later, deliberately, in a separate commit.

When every pod has a replacement, remove CocoaPods from the project. The cocoapods-deintegrate plugin does this with pod deintegrate, and its README says it removes the Pods build phases, the pod library entries and the Pods groups from the Xcode project, while leaving the Podfile and Podfile.lock alone. It also tells you to back up the project first, and it notes that the workspace still references the Pods project afterward, so you’ll clean that reference up yourself.

Terminal showing the pod deintegrate command and its output removing CocoaPods from an Xcode project

Finish by testing against what shipped. Archive a build, upload it to TestFlight, and compare it with the previous release: launch time, push notifications, login, payments, deep links and anything that touches the SDKs you moved. Our mobile app testing checklist gives a release-sized list to work from. If anything differs, the git tag from step one is your rollback.

What if a dependency has no Swift package?

You have three options for that dependency, and none of them requires abandoning the migration. One option is to keep CocoaPods for that one pod. A project can hold both systems at once, so you can move everything that has a Swift package and leave a short Podfile behind. This is a fine interim state as long as you write down why it exists and who will revisit it.

Another is to vendor the library. If the vendor ships a binary framework, you can add it to the project directly or wrap it in a small local package of your own. If it ships source, you can copy it in and take over its maintenance. Vendoring makes you responsible for the library’s maintenance, so do it only for libraries stable enough that you won’t need frequent updates.

The CocoaPods team itself suggests a third route. The blog post advises moving dependency updates to a self-hosted specs repo or vendoring them, and it says people with their own specs repos aren’t affected by the change. That works for a team that already runs infrastructure, but it makes you the publisher for those pods, which is a real ongoing job.

And sometimes the right answer is to replace the library. If a pod hasn’t had a release in years and nobody can say what it does, a migration is a reasonable moment to remove it, provided you check what depends on it first.

What needs to change in your CI and release process?

The build server needs the same dependency source as your laptop, with the resolved versions committed. On a CocoaPods project, CI usually runs pod install before building. After migration that step disappears, and Xcode resolves packages itself from Package.resolved, so you should confirm the build machine can reach the package hosts and has enough cache to avoid a fresh download on every run.

Check any Fastlane lanes or scripts that mention pod, .xcworkspace or the Pods scheme names, because those references break without warning and fail at the worst moment. If your signing setup also lives in a lane, keep the two changes separate. We cover that side in our notes on the iOS distribution certificate, and mixing a signing change with a dependency change makes a failed archive hard to explain.

Watch the first release after the migration more closely than usual. Compare crash-free rates in your crash reporter for the first few days against the previous version, since a changed dependency graph can alter behavior in ways a smoke test misses. If you run both Crashlytics and another tool, our comparison of Crashlytics and Sentry is a useful reference for what each one can tell you.

What should you do this month?

Spend an hour reading Podfile.lock, mark the pods that update often, and check the Firebase date against your release calendar. That single hour tells you whether this is a quiet background task or something that needs a slot in the next sprint.

If you find nothing urgent, schedule the migration for a low-risk window and keep the app on its current pins until then. If Firebase or another frequently updated SDK is in the list, plan the move soon, because the Firebase cutoff in October 2026 will start to affect your next release. Either way, write the plan down with the git tag, the lock file and the list of pods that have no Swift package, so the next person doesn’t have to rediscover it.

If the app is inherited and you don’t have time to do this yourself, that’s the kind of work our mobile app maintenance service covers, and an app maintenance audit is a sensible first step because it produces exactly the dependency inventory this migration needs. Doing it before December 2 means the app’s dependencies stay maintainable and you chose how that happens, instead of finding out when something stops working.

Frequently asked questions

Is CocoaPods deprecated or shutting down?

Not in the way the headlines suggest. The CocoaPods team announced that the trunk, the place where new pods and new versions are published, stops accepting submissions on December 2, 2026. The same announcement says existing builds keep working and that the Specs repo and CDN are expected to stay online, so the tool is closed to new publishing rather than switched off.

Will my app stop building on December 2, 2026?

No, not because of this change. The CocoaPods announcement says the switch won't break builds and keeps all existing builds working, because the specs and downloads that already exist stay available. What stops is new versions of pods reaching you through trunk, so your Podfile.lock keeps resolving while the libraries behind it stop getting updates.

When does Firebase stop publishing to CocoaPods?

Firebase's iOS installation page says it will stop publishing new versions to CocoaPods in October 2026, and it links that decision to CocoaPods becoming read-only in December 2026. The same page says Firebase recommends Swift Package Manager for new projects. If your app depends on Firebase through a Podfile, that date has already passed as of this writing and matters more to you than the December one.

Do I have to migrate from CocoaPods to Swift Package Manager?

Not immediately, and not all at once. An app whose dependencies are stable and rarely updated can stay on CocoaPods for a while, because existing builds keep working. A migration becomes necessary when a library you need ships new versions only as a Swift package, or when you want security and privacy-manifest fixes that arrive in those new versions.

Can one iOS project use CocoaPods and Swift Package Manager together?

Yes, one project can keep a Podfile for the libraries that have no Swift package and use Swift Package Manager for the rest, which makes a gradual migration possible. The cost is two dependency systems to maintain and two places where a version can drift, so treat the mixed state as a stage on the way to a decision rather than a permanent setup.

What does pod deintegrate do?

The cocoapods-deintegrate plugin removes CocoaPods from an Xcode project. According to its README it strips the Pods build phases, the pod library references and the Pods groups from the project, while leaving your Podfile and Podfile.lock in place. The README tells you to back up the project first, and it notes the workspace file still references the Pods project afterward.

Stuck on a release, a crash, or an app nobody owns?

RapidLabs maintains, stabilizes and takes over existing iOS and Android apps. Send the app link, the stack, and what is going wrong, and you will get a plain answer on whether you need help at all.

Talk to a senior engineer about your app