Skill / SKILL.md

Cocoapods To Spm

Cap-go/capgo-skills

Migrates an existing Capacitor iOS app from CocoaPods to Swift Package Manager (SPM) before CocoaPods Trunk goes read-only (expected December 2, 2026). Use when the app still has ios/App/Podfile, Pods/, Podfile.lock or App.xcworkspace and the user wants CapApp-SPM, runs or recovers from `npx cap spm-migration-assistant`, needs debug.xcconfig / CAPACITOR_DEBUG wired up, sees "Some installed Capacitor plugins are not compatible with SPM" or "<plugin> does not have a Package.swift", or plans the Capacitor 9 upgrade where SPM is the default. Do not use for adding SPM support inside a plugin repository (use capacitor-plugin-spm-support), the UIScene lifecycle migration (use capacitor-uiscene-migration), full version upgrades (use capacitor-app-upgrades), or generic iOS build debugging (use debugging-capacitor).
2 views 79 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Migrates an existing Capacitor iOS app from CocoaPods to Swift Package Manager (SPM) before CocoaPods Trunk goes read-only (expected December 2, 2026). Use when the app still has ios/App/Podfile, Pods/, Podfile.lock or App.xcworkspace and the user wants CapApp-SPM, runs or recovers from `npx cap spm-migration-assistant`, needs debug.xcconfig / CAPACITOR_DEBUG wired up, sees "Some installed Capacitor plugins are not compatible with SPM" or "<plugin> does not have a Package.swift", or plans the Capacitor 9 upgrade where SPM is the default. Do not use for adding SPM support inside a plugin repository (use capacitor-plugin-spm-support), the UIScene lifecycle migration (use capacitor-uiscene-migration), full version upgrades (use capacitor-app-upgrades), or generic iOS build debugging (use debugging-capacitor).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Cap-go/capgo-skills' skill-source

Use the complete skill-source/plugins/capacitor-app-migrations/skills/cocoapods-to-spm directory with your client’s skill installer.

  • plugins/capacitor-app-migrations/skills/cocoapods-to-spm

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/capacitor-app-migrations/skills/cocoapods-to-spm

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
4d243851e8ff10be882d40d5b0d9acdef72e4c16282cc6058c906153cb0e2c93
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills