Cocoapods To Spm
Migrates Capacitor iOS apps from CocoaPods to Swift Package Manager before CocoaPods Trunk goes read-only.
- CCM score
- 72 of 100
- skills.sh installs
- 892
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the CocoaPods-to-SPM move: running
npx cap spm-migration-assistant, recovering from failed runs, and wiring upCapApp-SPManddebug.xcconfig - Includes an inspection workflow that lists Podfile pods, checks each plugin for
Package.swift, and flags native customizations at risk - Enforces a rule that
CapApp-SPM/Package.swiftis CLI-managed, so customizations belong incapacitor.config.*instead - Designed for Capacitor 8.x and 9.x apps that still ship
ios/App/PodfileandApp.xcworkspace
Install
$ npx -y skills add cap-go/capgo-skills --skill cocoapods-to-spm -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
CocoaPods to Swift Package Manager Migration
Move a Capacitor iOS app from CocoaPods to SPM without losing native project customizations.
When to Use
TRIGGER when:
ios/App/Podfile,Pods/,Podfile.lock, orApp.xcworkspaceexists and the user wants SPM.- User asks about
npx cap spm-migration-assistant,CapApp-SPM,debug.xcconfig, or--packagemanager SPM. - User worries about CocoaPods Trunk becoming read-only (expected December 2, 2026), or about pods that can no longer be published/updated.
npx cap syncwarnsSome installed Capacitor plugins are not compatible with SPMor<plugin id> does not have a Package.swift.- Upgrading to Capacitor 9 and wanting to drop CocoaPods at the same time.
Do not use:
- Adding
Package.swift/CAPBridgedPluginto a plugin you maintain ->capacitor-plugin-spm-support. - SceneDelegate / UIScene adoption (Capacitor 8.5+, required by Xcode 27) ->
capacitor-uiscene-migration. - The Capacitor major upgrade itself ->
capacitor-app-upgrades,capacitor-app-upgrade-v8-to-v9. - Build or runtime failures unrelated to dependency management ->
debugging-capacitor.
Why Now
Details
- Repository
- github.com/cap-go/capgo-skills
- Categories
- Mobile Apps, DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the cocoapods-to-spm skill do?
It migrates an existing Capacitor iOS app from CocoaPods to Swift Package Manager before CocoaPods Trunk becomes read-only, expected December 2, 2026. It keeps native project customizations while replacing Podfile, Pods and App.xcworkspace with CapApp-SPM.
How do I install the cocoapods-to-spm skill?
Run npx -y skills add cap-go/capgo-skills --skill cocoapods-to-spm -y in your project. The skill then guides the agent through migrating your Capacitor app from CocoaPods to Swift Package Manager.
Where does cocoapods-to-spm stand in its category?
It sits in the Mobile Apps category on Claude Marketplaces, alongside vercel-react-native-skills, animate-expo, write-swift, firebase-crashlytics and xcode-project-setup. It focuses on moving existing Capacitor iOS projects off CocoaPods.
When should I use cocoapods-to-spm instead of capacitor-app-upgrades?
Use it when your app still has ios/App/Podfile, Pods/ or App.xcworkspace and you want SPM. The full Capacitor major version upgrade is handled by capacitor-app-upgrades instead.
More from cap-go/capgo-skills
All 41- Capacitor App Upgrades871
- Cordova To Capacitor862
- Capgo Cli Usage828
- Capacitor Plugin Upgrades826
- Capacitor Plugin Spm Support811
- Capgo Native Builds810
- Capgo Release Management804
- Capgo Release Workflows804
- Capacitor App Upgrade V7 To V8797
- Capgo Cloud787
- Capgo Organization Management779
- Sqlite To Fast Sql758
- Capacitor Plugin Upgrade V7 To V8735
- Skill Creator728
- Ionic Enterprise Sdk Migration726
- Ionic Appflow Migration697
- Capacitor App Upgrade V6 To V7688
- Capacitor Best Practices3.1K
- Capacitor Plugins1.8K
- Ionic Design1.7K
- Debugging Capacitor1.5K
- Safe Area Handling1.5K
- Capacitor Testing1.5K
- Capacitor Deep Linking1.4K
Similar to Cocoapods To Spm
More Mobile Appscapacitor-plugin-spm-supportcap-go/capgo-skills811 installsAdd Swift Package Manager support to an existing Capacitor plugin so SPM apps can consume it.
kotlin-tooling-cocoapods-spm-migrationkotlin/kotlin-agent-skills2.2K installsMigrate KMP projects from CocoaPods to SwiftPM with the swiftPMDependencies DSL, keeping CocoaPods active until late.
capacitor-plugin-upgradescap-go/capgo-skills826 installsPlans and runs multi-major Capacitor plugin upgrades, routing each hop to its version-specific migration skill.
xcode-project-setupfirebase/agent-skills147.6K installsSafe Swift-based tool that adds Swift Packages and links files to Xcode projects without manual .pbxproj edits.
capacitor-app-upgradescapawesome-team/skills1.7K installsStep-by-step Capacitor app upgrade guide that applies each major-version migration manually, in sequence.
capacitor-app-developmentcapawesome-team/skills2.1K installsBroad guide covering Capacitor core concepts, configuration, platforms, and troubleshooting, excluding framework-specific and upgrade topics.