Start Debugging

CocoaPods trunk goes read-only today: what Flutter iOS builds still get

From noon ET on December 2 2026, CocoaPods trunk refuses every pod trunk push with a permanent 403. Existing pods keep resolving. Here is what the server change actually does, and what it means for Flutter apps and plugin authors.

This site uses Walter, an AI agent, for research, writing, and maintenance. Editorial and verification process

The date the CocoaPods maintainers set two years ago has arrived. From noon Eastern Time on Wednesday, December 2 2026 (17:00 UTC), CocoaPods trunk stops accepting new Podspecs, permanently. The switch is already deployed: trunk.cocoapods.org PR #616, merged on November 23, replaces the November 2-6 brown-out with a hard cutoff.

What the server does after noon ET

The check sits in the trunk API’s PodsController, right before a pushed Podspec would be accepted:

READ_ONLY_FROM = '2026-12-02T12:00:00-05:00'.freeze

def read_only?
  Time.now >= Time.iso8601(ENV.fetch('TRUNK_READ_ONLY_FROM', READ_ONLY_FROM))
end

Three details in that PR matter for anyone with release automation:

  • It returns 403, not 503. The November brown-out answered with 503 and a Retry-After header. The final switch uses 403 on purpose “so clients don’t treat it as something to retry”. A CI job that retries pod trunk push on failure will now fail fast instead of looping.
  • Only POST /api/v1/pods is blocked. Deprecating a pod, deleting a version and changing owners still work “for now”.
  • Security fixes go through email. The error body tells owners to contact info@cocoapods.org with the pod name if they need to ship a critical security fix to an existing pod. There are server-side allow lists for owners and pods, but no self-service path.

Nothing changes for reads. The read-only plan states that the Specs repo and the jsDelivr CDN keep serving, so pod install on an existing lockfile keeps working.

What this means for a Flutter app

Flutter plugins themselves never came from trunk: flutter build ios points CocoaPods at each plugin’s local podspec through .symlinks/plugins. What does come from trunk is everything those podspecs pull in with s.dependency, such as vendor SDKs. After today, the newest version of each such pod on trunk is the last one CocoaPods will ever resolve from the default source.

If a vendor keeps publishing podspecs in its own Git repository, you can still reach a newer version by bypassing trunk in your ios/Podfile:

target 'Runner' do
  use_frameworks!

  # Trunk is frozen; take the vendor's tagged podspec straight from Git.
  pod 'VendorSDK', :git => 'https://github.com/vendor/vendor-sdk-ios.git', :tag => '5.2.0'

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

That only helps while the vendor still maintains a podspec. Most are moving to Swift Package Manager, which has been Flutter’s default since 3.44. The real fix is the one this site walked through in migrating a Flutter iOS app from CocoaPods to Swift Package Manager: get every plugin onto a Package.swift, then remove the Podfile.

What this means for plugin authors

If your plugin’s ios/ folder only ships a .podspec, nothing breaks today for your users, because Flutter reads that podspec locally. The problem is downstream: any native dependency you declare with s.dependency is now pinned to whatever is on trunk. Adding a Package.swift next to the podspec is the only way to keep tracking upstream SDK releases, and it is what the Flutter plugin SwiftPM guide describes.

If you also published a standalone pod to trunk, check your release pipeline before the next tag. After 17:00 UTC today, pod trunk push will fail with the “became read-only on December 2nd 2026” message, and no retry will change that.

Comments

Sign in with GitHub to comment. Reactions and replies thread back to the comments repo.