# CocoaPods Read-Only Fix (Dec 2, 2026): Migrate Podfile to Swift Package Manager, Verified

> Classifies every pod in your Podfile.lock and produces a verified, batch-by-batch CocoaPods to Swift Package Manager migration plan before trunk goes read-only on 2 December 2026.

CocoaPods Read-Only Fix (Dec 2, 2026): Migrate Podfile to Swift Package Manager, Verified is a paid AI agent skill on Agensi by Hamza Alayed, in Mobile Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [Hamza Alayed](https://www.agensi.io/creators/hamza-alayed)
- Category: [Mobile Development](https://www.agensi.io/skills/mobile-development)
- Version: 1.0
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/cocoapods-read-only-fix-dec-2-2026-migrate-podfile-to-swift-package-manager-verified
- Tags: mobile-development, devops-cloud, code-quality-review, workflow-automation

## About this skill

CocoaPods trunk, the central registry that serves most `pod 'Name'` lines, stops accepting new podspecs permanently on **2 December 2026**. Existing builds keep working, but no pod published through trunk can ship a new version after that date: no security fixes, no Xcode or iOS compatibility fixes, no new SDK features. Several large vendors stopped publishing to CocoaPods even earlier. This skill turns a project's `Podfile` and `Podfile.lock` into a per-pod verdict table, an ordered migration plan for the project's framework, and verified changes, so the team knows exactly what is at risk, what to move first, and what can safely wait.

- A team asks whether the CocoaPods change affects their app, and what to do before or after 2 December 2026.
- A vendor email or release note says "last version published to CocoaPods" (Firebase, Google Mobile Ads, New Relic and others).
- Someone wants to remove CocoaPods from a native iOS/macOS app, or switch a Flutter, React Native, Capacitor or Cordova app to Swift Package Manager (SPM).
- A library author still publishes their own podspec with `pod trunk push` and needs a `Package.swift`.

Do not use it for Android dependencies, Carthage-only projects, or general Swift package authoring unrelated to CocoaPods.

| Fact | Source |
|---|---|
| Trunk stops accepting new podspecs permanently on 2 Dec 2026; a test run of refusing podspecs was scheduled for 2–6 Nov 2026 | CocoaPods blog, "CocoaPods Trunk Read-only Plan" (updated May 2025) |
| Existing builds keep working while the Specs repo (GitHub) and CDN (jsDelivr) exist; the Specs repo is archived | Same post |
| Private spec repos and vendored pods (for example pods from `node_modules` by `:path`) are not affected | Same post |
| New pods using `prepare_command` have been refused since May 2025 | Same post |
| Firebase stopped publishing to CocoaPods in October 2026; Firebase 12 is the final major on CocoaPods; avoid mixing CocoaPods and SPM for Firebase in one target | firebase.google.com/docs/ios/cocoapods-deprecation |
| Google Mobile Ads SDK and UMP SDK: no new CocoaPods versions after 2 Dec 2026 | Google Ads developer blog, 6 Nov 2026 |
| Flutter 3.44+: SPM on by default; Flutter falls back to CocoaPods for plugins without SPM support; SPM integration needs Flutter 3.24+ | docs.flutter.dev, "Swift Package Manager for app developers" |
| React Native 0.87 added experimental SPM (`npx react-native spm`); 0.88 keeps it opt-in; 0.89 is planned to make SPM the default with a CocoaPods opt-out | reactnative.dev blog, 0.87 (11 Aug 2026) and 0.88 (19 Oct 2026) |
| Capacitor 8 creates new iOS projects with SPM; cordova-ios 8 uses SPM; Unity's External Dependency Manager still uses CocoaPods | New Relic migration guide (Nov 2026), Capacitor and Cordova docs |

## Requires

- Python 3
- macOS + Xcode (to build and verify)
- react-native
- Node.js
- expo
- cap
- Git

## Known limitations

It does not migrate Android dependencies or Carthage-only projects. It cannot build or run your app without macOS and Xcode. Candidate package URLs in the script are a starting point: the skill makes the agent confirm each one against the vendor's Package.swift, so it needs web or repository access for that step. React Native SPM support is experimental upstream (0.87/0.88), so the skill treats staying on CocoaPods as a valid plan there. Facts were checked on 20 November 2026; vendor timelines can change.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the CocoaPods Read-Only Fix (Dec 2, 2026): Migrate Podfile to Swift Package Manager, Verified skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Will my app stop building on 2 December 2026?

No. CocoaPods says existing builds keep working while the Specs repo and CDN stay up. What stops is new versions: pods served by trunk can no longer publish fixes or updates, and some vendors (Firebase, Google Mobile Ads) already stopped. The skill shows which of your pods are affected and how urgent each one is.

### Does it cover Flutter, React Native, Capacitor, Cordova and Unity?

Yes. It detects the project type and follows a playbook for each: Flutter 3.44 SPM defaults and fallback, React Native 0.87/0.88 experimental `npx react-native spm`, Capacitor 8, cordova-ios 8, and Unity's External Dependency Manager. It also covers library authors who publish with pod trunk push.

### How current are the facts?

Every date and version was checked against official sources (CocoaPods blog, Flutter docs, React Native release posts, Firebase and Google Ads pages) on 20 November 2026, and the skill tells the agent to re-verify if it runs much later.

### How is this different from asking an AI or reading a blog post?

It produces a per-pod verdict table from your actual Podfile.lock, makes the agent confirm every package URL and product name instead of guessing, orders the work into buildable batches, and ends with a 12-point PASS/FAIL verification checklist.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
