capacitor-app-spm-migration

Installation
SKILL.md

Capacitor App: CocoaPods → SPM Migration

Migrate an existing Capacitor app project's iOS dependency management from CocoaPods to Swift Package Manager (SPM). The migration is destructive — the existing ios/ folder is deleted and re-scaffolded, then user-authored files are restored from a temporary backup.

Prerequisites

Capacitor 6 or later is required. Node.js and Xcode must match the installed Capacitor major version:

Capacitor Node.js Xcode
6 18+ 15+
7 20+ 16+
8 22+ 26+

Capacitor 9 is not covered by this skill yet.

CocoaPods does not need to be installed. No step of this skill runs pod.

The project must be a Capacitor app (not a plugin) and must currently use CocoaPods (ios/App/Podfile exists).

Installs
1.6K
GitHub Stars
58
First Seen
Apr 30, 2026