Skill / SKILL.md

Capacitor App Spm Migration

capawesome-team/skills

Guides the agent through migrating an existing Capacitor app project from CocoaPods to Swift Package Manager (SPM) for iOS dependency management. Covers prerequisite checks, inventorying installed Capacitor plugins, backing up customized iOS project files (Info.plist, AppDelegate.swift, Assets.xcassets, Base.lproj, App.entitlements, GoogleService-Info.plist, .xcconfig files, signing configuration), deleting the existing `ios/` folder, re-scaffolding with `npx cap add ios --packagemanager SPM`, restoring preserved files, re-syncing plugins, and verifying the build. Performs all migration steps manually — does not use the interactive `npx cap spm-migration-assistant` command. Do not use for Capacitor plugin projects, app projects already on SPM, app projects without an existing `ios/` folder, or non-Capacitor mobile frameworks.
2 views 56 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Guides the agent through migrating an existing Capacitor app project from CocoaPods to Swift Package Manager (SPM) for iOS dependency management. Covers prerequisite checks, inventorying installed Capacitor plugins, backing up customized iOS project files (Info.plist, AppDelegate.swift, Assets.xcassets, Base.lproj, App.entitlements, GoogleService-Info.plist, .xcconfig files, signing configuration), deleting the existing `ios/` folder, re-scaffolding with `npx cap add ios --packagemanager SPM`, restoring preserved files, re-syncing plugins, and verifying the build. Performs all migration steps manually — does not use the interactive `npx cap spm-migration-assistant` command. Do not use for Capacitor plugin projects, app projects already on SPM, app projects without an existing `ios/` folder, or non-Capacitor mobile frameworks.

Installation & variants

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

git clone -- 'https://github.com/capawesome-team/skills' skill-source

Use the complete skill-source/skills/capacitor-app-spm-migration directory with your client’s skill installer.

  • skills/capacitor-app-spm-migration

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/capacitor-app-spm-migration

Compatibility & requirements

Declared compatibility

Requires Node.js 18+, npm, and Xcode 15+ on macOS. CocoaPods must be installed to verify the existing setup, and Git is used to keep the migration reversible.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

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

Please log in to comment

    No comments yet

Related skills