Works with the AI Agents you already use

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

    by Hamza Alayed

    1

    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.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

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

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

    Example session with this skill installed

    Our iOS app still uses CocoaPods (Podfile.lock attached). Is the December 2 CocoaPods change going to break us, and what should we migrate first?

    • Read your context and instructions
    • Compiled the cocoapods read-only fix

    CocoaPods Trunk Read-Only Migration Report — SampleShop iOS
    Checked: 2026-11-20 · Native iOS · Pods: 10 total, 8 from trunk

    Verdict summary

    | Verdict | Count | Pods |
    | MIGRATE-SPM | 5 | Firebase, FirebaseAnalytics, FirebaseMessaging, Google-Mobile-Ads-SDK, Alamofire |
    | SELF-HOST | 1 | GridPinKit |
    | REPLACE | 2 | HUDKitLite, LegacyChartKit |
    | NOT AFFECTED | 2 | AcmeAnalytics (path), TrackerSDK (git tag) |

    Builds will not break on 2 Dec, but these 8 trunk pods freeze at their current versions.

    Migration plan

    1. Batch 1 (P1): Firebase + Google Mobile Ads together (Firebase warns against mixing managers in one target) → firebase-ios-sdk (FirebaseAnalytics, FirebaseMessaging) and swift-package-manager-google-mobile-ads (GoogleMobileAds). Build.
    2. Batch 2 (P1, networking): Alamofire → Alamofire package. Build.
    3. Batch 3: replace HUDKitLite and LegacyChartKit; pin GridPinKit to its git tag.
    4. Remove CocoaPods: not yet (GridPinKit still needs it).

    Verification: 8/8 trunk pods classified — PASS; no library installed twice — PASS; debug build — NOT RUN (no Xcode in this environment).
    (Sample project; HUDKitLite, GridPinKit, LegacyChartKit, AcmeAnalytics and TrackerSDK are fictional.)

    Connects securely to your tools. The creator never sees your data.

    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.

    FactSource
    Trunk stops accepting new podspecs permanently on 2 Dec 2026; a test run of refusing podspecs was scheduled for 2–6 Nov 2026CocoaPods 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 archivedSame post
    Private spec repos and vendored pods (for example pods from node_modules by :path) are not affectedSame post
    New pods using prepare_command have been refused since May 2025Same 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 targetfirebase.google.com/docs/ios/cocoapods-deprecation
    Google Mobile Ads SDK and UMP SDK: no new CocoaPods versions after 2 Dec 2026Google 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-outreactnative.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 CocoaPodsNew Relic migration guide (Nov 2026), Capacitor and Cordova docs

    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

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 14 days ago

    Accounts
    GitHub
    Software
    Python 3macOSXcode (to build and verify)react-nativeNode.jsexpocapGit

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    Allowed Hosts

    github.com
    vendor documentation sites

    File Scopes

    Podfile
    Podfile.lock
    *.xcodeproj
    pubspec.yaml
    package.json
    CI
    config
    files
    cocoapods-migration-report.md

    Read-only by default; it edits project files only when you ask it to apply a batch. The inventory script never modifies the project and makes no network calls.

    Listed14 days ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    New in Mobile Development

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Mobile Development.