cocoapods-to-spm

Migrate Capacitor iOS apps from CocoaPods to Swift Package Manager.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/sebc-dev/prosperity --skill cocoapods-to-spm-sebc-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cocoapods-to-spm
Source: https://github.com/sebc-dev/prosperity/tree/main/.claude/skills/cocoapods-to-spm
Command: npx skills add https://github.com/sebc-dev/prosperity --skill cocoapods-to-spm-sebc-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers transition iOS apps from CocoaPods to Swift Package Manager, streamlining the process and maintaining native project customizations.

Core Features & Use Cases

  • Migrating Apps: Guide through migrating a Capacitor iOS app from CocoaPods to SPM.
  • SPM Assistant: Use npx cap spm-migration-assistant to automate much of the process.
  • Manual Migration: Option for manual migration when dealing with heavily customized apps.
  • Plugin Support: Guidance on ensuring plugins work with SPM.

Quick Start

Migrate your app from CocoaPods to SPM using the cocoapods-to-spm skill.

Frequently Asked Questions about cocoapods-to-spm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a Capacitor iOS app from CocoaPods to Swift Package Manager?

To migrate a Capacitor iOS app from CocoaPods to Swift Package Manager, you can use the automated `npx cap spm-migration-assistant` tool or follow a manual migration path to transition your project while preserving native customizations.

What is the best way to handle heavily customized iOS projects when moving from CocoaPods to SPM?

For heavily customized iOS projects moving from CocoaPods to SPM, a manual migration path is recommended over the automated assistant to ensure native project customizations are carefully preserved during the Swift Package Manager transition.

Can I use Capacitor plugins with Swift Package Manager after migrating from CocoaPods?

Yes, Capacitor plugins can work with Swift Package Manager after migrating from CocoaPods, and the migration process provides specific guidance to ensure plugin compatibility with SPM.

Does the Capacitor SPM migration assistant automate the entire iOS transition process?

The Capacitor SPM migration assistant automates much of the iOS transition process from CocoaPods, but heavily customized apps may still require manual migration steps to preserve native project modifications.

Why migrate iOS apps from CocoaPods to Swift Package Manager?

Migrating iOS apps from CocoaPods to Swift Package Manager streamlines dependency management and integrates natively with Xcode, helping developers modernize their Capacitor app architecture and simplify future updates.