CocoaPods Goes Read-Only on 2 December: What App Teams Must Do

CocoaPods trunk stops accepting podspecs on 2 December 2026. What still works, how to audit your pods, and the SwiftPM steps for Flutter and React Native.

Aditya BansalAditya BansalAuthor26 November 20264 min read 8 views

Researched and drafted with AI and reviewed by the Publisha team.

CocoaPods Goes Read-Only on 2 December: What App Teams Must Do
In this article▾
  1. What exactly happens on 2 December
  2. Step 1: find out how much of your app sits on trunk
  3. Flutter: you're probably most of the way there
  4. Check you're actually on SwiftPM
  5. Remove CocoaPods once every plugin supports SwiftPM
  6. React Native: don't rush, but start planning
  7. Native iOS apps: migrate library by library
  8. A short checklist for this week

On 2 December 2026, CocoaPods trunk stops accepting new podspecs for good. Your existing builds won't break that day: pod install keeps resolving the versions already published. What stops is the flow of updates. Any library that only ships through trunk is frozen at its last version, and every iOS security fix, SDK update or Xcode compatibility patch after that has to come through Swift Package Manager (SwiftPM) or another route. Here's what changes, what to check this week, and the migration steps for Flutter, React Native and native iOS projects.

What exactly happens on 2 December

The plan comes from the CocoaPods team's own post, "CocoaPods Specs Repo", first published in November 2024 and updated in May 2025:

  • 2-6 November 2026: a test run of trunk not accepting new podspecs, so automation would break early. That's done.

  • 2 December 2026: the final switch. Trunk will "not accept new Podspecs permanently."

What keeps working, per the same post: existing builds, and installs from the Specs repo and CDN, for as long as GitHub and jsDelivr keep hosting them. Private spec repos and vendored dependencies aren't affected. What stops: new pods and new versions on trunk, which means "dependencies from trunk stop receiving updates."

So 2 December isn't a build outage. It's a slow-motion problem: the next time a pod you depend on needs a fix, the fix may not come as a pod.

Step 1: find out how much of your app sits on trunk

Your Podfile.lock lists which pods were resolved from trunk under SPEC REPOS. Print that section:

sed -n '/^SPEC REPOS:/,/^$/p' ios/Podfile.lock

On a typical lockfile that prints something like:

SPEC REPOS:
  trunk:
    - Alamofire
    - Firebase

For each name under trunk, check whether the library publishes a Package.swift (SwiftPM support) in its repository. Make three lists: already supports SwiftPM, says it will, and silent. The silent list is your real risk.

Flutter: you're probably most of the way there

Flutter's Swift Package Manager guide for app developers (updated August 2026, reflecting Flutter 3.50) says SwiftPM support has been on by default since 3.44: "Upgrading Flutter and running your app automatically adds SwiftPM integration." Flutter still falls back to CocoaPods for any plugin that doesn't support SwiftPM yet.

The docs are blunt about the future: don't turn SwiftPM off, because "the CocoaPods registry becomes read-only on December 2, 2026 and disabling SwiftPM won't be allowed in the future."

Check you're actually on SwiftPM

If you disabled it at some point, re-enable it:

flutter config --enable-swift-package-manager

Also look in pubspec.yaml for a project-level opt-out, which turns SwiftPM off for every contributor:

flutter:
  config:
    enable-swift-package-manager: false

If that's there, find out why before deleting it. Usually it was one plugin that didn't support SwiftPM at the time.

Remove CocoaPods once every plugin supports SwiftPM

Only do this when your plugin list is fully covered, because Flutter falls back to CocoaPods if any dependency needs it. The docs' steps for iOS:

cd ios
pod deintegrate
cd ..

Then delete ios/Podfile, ios/Podfile.lock, ios/Pods/ and ios/.symlinks/, remove any #include lines pointing at Pods from ios/Flutter/Debug.xcconfig and Release.xcconfig, and verify:

flutter clean
flutter pub get
flutter run

A common snag: a SwiftPM plugin requiring a higher minimum iOS version than your target. The fix is to raise Minimum Deployments in Xcode and regenerate config with flutter build ios --config-only.

React Native: don't rush, but start planning

React Native apps still lean on CocoaPods, and nothing breaks on 2 December. The problem arrives when native SDKs you use stop shipping pods. RevenueCat is a useful example. Its React Native CocoaPods-to-SwiftPM migration guide says version 12 of its React Native SDK will require SwiftPM for iOS dependencies, and tells developers to migrate before upgrading.

The same guide is honest about the state of React Native itself: its SwiftPM integration is "experimental", "React Native doesn't yet recommend this integration for production," and it needs React Native 0.88.0 or later. The conversion command it documents:

npx react-native spm add --deintegrate

It also uses an alpha of the React Native Community CLI (21.0.0-alpha.1), and every library with native iOS code needs SwiftPM support. For Expo apps, RevenueCat's advice is to stay on CocoaPods for now: Expo SDK 58 offers SwiftPM as a preview, but common libraries such as expo-router don't support it yet.

My suggestion for most React Native teams this quarter:

  1. Get onto React Native 0.88 if you aren't already. The notes on upgrading to React Native 0.88 cover the SceneDelegate change that comes with it.

  2. Run the Podfile.lock check above and list SDK vendors with no SwiftPM plan.

  3. Try the SwiftPM conversion on a branch, not main. Note what fails.

  4. Ship on CocoaPods until the integration leaves experimental status, unless a vendor forces your hand.

Native iOS apps: migrate library by library

For a pure Swift or Objective-C app, the path is straightforward if slow: add SwiftPM packages in Xcode for libraries that support them, remove the matching pods, build and test after each one. Doing it one library at a time keeps every step reversible.

If a dependency has no SwiftPM support and no maintainer response, your options are to vendor it, maintain a fork, or replace it. The CocoaPods post confirms vendored dependencies and private spec repos are unaffected by the trunk switch, so vendoring buys time.

A short checklist for this week

  • Commit your current Podfile.lock so builds stay reproducible.

  • List every trunk pod and its SwiftPM status.

  • Flutter: confirm SwiftPM is on and find any plugin forcing the CocoaPods fallback.

  • React Native: plan the 0.88 upgrade and a SwiftPM spike on a branch.

  • Native: move one dependency to SwiftPM and see how the build behaves.

  • Put a recurring calendar reminder to recheck the "silent" list monthly.

This lands on top of the year's other platform deadlines. If you're tracking those too, the round-up of iOS 27 and Android 17 deadlines for mobile developers lists them in one place. CocoaPods going read-only won't stop your app on 2 December. Ignoring it means the first urgent fix you need next year may not be installable the way you expect.

Aditya Bansal

Written by

Aditya Bansal

A Publisha editorial profile. Its stories are researched and drafted with AI and reviewed by the Publisha team.

Keep reading

More from Aditya Bansal

More from Aditya Bansal

More in Software Development

Have a story of your own?

Publisha is free to start. Write with AI that keeps your voice, and publish in a click.