CocoaPods goes read-only on December 2, 2026: what to do
What CocoaPods trunk going read-only on December 2, 2026 stops, what keeps working, who has to act, and how to move an iOS app to Swift Package Manager.
On December 2, 2026, CocoaPods trunk, the central registry behind pod install, stops accepting new podspecs for good. No new pods and no new versions of existing pods can be published there. Everything already published stays available, so existing Podfiles keep installing and existing apps keep building. What you lose is updates: any library that only ships through trunk is frozen at its last version. A test run that blocked new podspecs was held on November 2–6, 2026.
What changes on December 2, 2026
- Trunk refuses new podspecs. The CocoaPods team says submissions will be denied at the server level. In practice, pod trunk push for a new pod or a new version fails.
- The CocoaPods/Specs GitHub repo gets archived. It stays readable, but nothing new lands in it.
- No more updates through trunk. That includes bug fixes and security fixes for any library whose only channel is trunk. The CocoaPods post says it plainly: you won’t get any more updates to dependencies that come through trunk.
- Big vendors left early. Firebase stopped publishing new versions to CocoaPods in October 2026 (Firebase 12 is its last major version there). Google Sign-In 10.1.0 and Kingfisher 8.16.0 are the last versions on CocoaPods. Google says new Google Mobile Ads SDK and mediation adapter releases will ship only through Swift Package Manager and manual downloads.
- It’s a CocoaPods decision, not an Apple or Google rule. No App Store or Play requirement is attached to the date.
The plan was first posted by CocoaPods maintainer Orta Therox on 30 November 2024 and updated in May 2025, when new pods using prepare_command were also blocked. The post says the dates could move back, not forward. As of today the projects quoted above still give December 2, 2026.
What keeps working
- pod install with your existing Podfile and Podfile.lock. All published versions stay on the Specs repo and the CDN. The CocoaPods team says the change keeps all existing builds working, for as long as GitHub and jsDelivr keep serving the files.
- Existing apps. Nothing in a shipped app depends on trunk. Firebase says apps using its existing CocoaPods versions will keep working.
- Private specs repos. If you host your own specs repo (pod repo add / pod repo push), the post says you aren’t affected.
- Pods pulled straight from a git repo. A pod declared with :git in your Podfile reads the podspec from that repo, not from trunk.
- Vendored dependencies, for example native code that comes from npm packages in a React Native app.
- The pod command itself. The announcement is about the trunk registry. CocoaPods as a tool stays in maintenance mode.
Do you need to move to Swift Package Manager?
| Your situation | Act before Dec 2? | What to do |
|---|---|---|
| Native iOS app installing pods from trunk | No, builds keep working | Plan the move to Swift Package Manager. Do it first for Firebase, Google Mobile Ads, Google Sign-In and Kingfisher, which no longer get new versions on CocoaPods. |
| Pod author or maintainer | Yes | Push any last trunk release before December 2. Then add a Package.swift and tag releases, or ship an XCFramework, or host your own specs repo. Tell users where new versions live. |
| Flutter app | No | Flutter 3.44+ uses Swift Package Manager by default and falls back to CocoaPods for plugins that don’t support it yet. Upgrade Flutter and your plugins. FlutterFire moves Firebase to SPM when you update it. |
| React Native app (bare) | No | CocoaPods is still the default and supported path. React Native 0.87 added experimental, opt-in SPM support and says not to use it in production yet. Keep running pod install. |
| Expo app | No | Expo’s SDK 58 notes say CocoaPods remains the default and supported path. Keep your SDK and libraries current. |
| Unity game | Check your plugins | Firebase says updating the Firebase Unity SDK moves its Apple dependencies to SPM automatically. For other plugins, check each vendor. |
How to move a native iOS app from CocoaPods to Swift Package Manager
- Commit everything first. You want an easy way back if a build breaks.
- List what you really use. Open Podfile.lock. It lists every pod, including the ones your pods pulled in. Write down the version of each.
- Find the Swift package for each pod. Check the library’s README or Swift Package Index. Note the repo URL and the product names, which can differ from pod names (the GoogleSignInSwiftSupport pod becomes the GoogleSignInSwift product, and Lottie recommends its separate lottie-spm repo).
- Decide what to do with pods that have no package. Use the vendor’s XCFramework, keep that one pod for now, or replace the library. Never install the same library through both CocoaPods and SPM in one target. Firebase and Google warn this causes dependency cycles and build errors, and shared dependencies (Google Sign-In and Firebase share several) must move together.
- Remove CocoaPods. Close Xcode and run pod deintegrate in the folder with your Podfile. It strips the Pods build phases and xcconfig references from the project. If no pods are left, delete Podfile, Podfile.lock, the Pods folder and the generated .xcworkspace.
- Add the packages. Open the .xcodeproj (not the workspace). Choose File → Add Package Dependencies…, paste each repo URL, pick “Up to Next Major Version” from the version you had, and tick the products for each target.
- Fix build settings. Check Build Phases → Link Binary With Libraries for each target. Remove leftover Pods paths from Header and Framework Search Paths and Other Linker Flags. If your code looks up a library’s resource bundle by name, check the new name (Google Sign-In’s becomes GoogleSignIn_GoogleSignIn.bundle).
- Clean and build. Use Product → Clean Build Folder, then build, run and archive. Swift imports usually stay the same.
- Update CI. Remove the pod install step. Commit Package.resolved so CI resolves the same versions, and resolve packages before building (xcodebuild -resolvePackageDependencies).
| Library | CocoaPods status | Swift package URL | Install docs |
|---|---|---|---|
| Firebase | No new versions since Oct 2026 | github.com/firebase/firebase-ios-sdk | Firebase: add Firebase to your Apple project |
| Google Mobile Ads | No new versions after Dec 2 | github.com/googleads/swift-package-manager-google-mobile-ads | Google Ads developer blog |
| Google Sign-In | 10.1.0 is the last pod | github.com/google/GoogleSignIn-iOS | Migrating from CocoaPods |
| Kingfisher | 8.16.0 is the last pod | github.com/onevcat/Kingfisher | Kingfisher README |
| Alamofire | Still listed as a pod | github.com/Alamofire/Alamofire | Alamofire README |
| SDWebImage | Still listed as a pod | github.com/SDWebImage/SDWebImage | SDWebImage README |
| Lottie | Still listed as a pod | github.com/airbnb/lottie-spm (recommended) | Lottie README |
| Realm | Still listed as a pod | github.com/realm/realm-swift | Realm Swift README |
“Still listed as a pod” means the README still documents CocoaPods. Even so, a pod can only get new versions on trunk until December 2, so use the Swift package to keep getting updates.
For Flutter / React Native / Expo
Flutter
Since Flutter 3.44, Swift Package Manager support is on by default. Upgrading Flutter and running the app adds the integration. Flutter falls back to CocoaPods for any plugin that doesn’t support SPM yet, so don’t delete your Podfile until every plugin does. If you turned SPM off earlier, turn it back on with flutter config --enable-swift-package-manager. Flutter’s docs say disabling SPM won’t be allowed in the future. If you maintain a plugin, add Package.swift support using Flutter’s guide for plugin authors.
React Native
React Native 0.87 added experimental SPM support with npx react-native spm --deintegrate. The release post says CocoaPods remains the default and supported path, the commands may change, and you shouldn’t use SPM in production yet. Keep using pod install. If a native SDK you depend on, such as Firebase, has left CocoaPods, check its React Native wrapper’s docs for how it gets updates.
Expo
Expo is moving toward SPM. SDK 56 began shipping precompiled modules and focused on coexistence, and SDK 58 restructured Expo’s iOS sources into SwiftPM targets. But SDK 58’s notes say CocoaPods remains the default and supported path. With EAS Build or prebuild, nothing changes on December 2.
Questions people ask
Will my app stop building on December 2, 2026?
No. Every published pod version stays on the Specs repo and CDN, so pod install with your current Podfile.lock keeps working. You just won’t get new versions of anything that only ships through trunk.
Will Apple reject apps that use CocoaPods?
No such rule exists. Trunk going read-only is a decision by the CocoaPods project. It has no App Store or Google Play deadline attached. The risk is slower: frozen libraries stop getting fixes for new Xcode and iOS versions.
Can I still run pod trunk push after December 2?
No. Trunk denies new podspecs from that date. To keep shipping, publish a Swift package, a binary XCFramework, or host podspecs in your own specs repo, which the change doesn’t affect.
I use Flutter, React Native or Expo. Do I have to switch now?
No. Flutter already uses Swift Package Manager by default from 3.44 and falls back to CocoaPods when needed. React Native and Expo still name CocoaPods as their default, supported path.
Can CocoaPods and Swift Package Manager be used in the same project?
Yes, and Flutter does exactly that during the transition. But never get the same library from both in one target. Firebase and Google warn that it causes dependency cycles and build errors.
Sources
- CocoaPods blog: Trunk Read-only Plan
- CocoaPods blog: Support & Maintenance Plans
- CocoaPods guides: Private pods (own specs repo)
- Apple: Adding package dependencies to your app
- Swift.org: Swift Package Manager
- Firebase: CocoaPods deprecation
- Google Ads developer blog: Prepare for CocoaPods read-only mode
- Google Sign-In: Migrating from CocoaPods to Swift Package Manager
- Flutter: Swift Package Manager for app developers
- Flutter: Swift Package Manager for plugin authors
- React Native 0.87 release post
- Expo SDK 58 changelog
- Expo blog: Faster iOS builds with precompiled XCFrameworks
Check your own name
Domains, both app stores, bundle IDs and every live site using the name, in under a minute.
Check a name