- Home
- Skills
- Mobile Development
- CocoaPods Read-Only Fix (Dec 2, 2026): Migrate Podfile to Swift Package Manager, Verified
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
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
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
- 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.
- Batch 2 (P1, networking): Alamofire → Alamofire package. Build.
- Batch 3: replace HUDKitLite and LegacyChartKit; pin GridPinKit to its git tag.
- 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 pushand needs aPackage.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 |
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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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-native
Node.jsexpocap
Git
Permissions
Allowed Hosts
File Scopes
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.
What's inside
Frequently Asked Questions
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.