kotlin-tooling-cocoapods-spm-migration

Migrate Kotlin Multiplatform projects from CocoaPods to SwiftPM.

302|22|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/JetBrains/skills --skill kotlin-tooling-cocoapods-spm-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-tooling-cocoapods-spm-migration
Source: https://github.com/JetBrains/skills/tree/main/kotlin-tooling-cocoapods-spm-migration
Command: npx skills add https://github.com/JetBrains/skills --skill kotlin-tooling-cocoapods-spm-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CocoaPods-based CocoaPods in Kotlin Multiplatform projects block modern SwiftPM workflows; this Skill provides a complete migration blueprint to move to SwiftPM, aligning Kotlin and iOS toolchains.

Core Features & Use Cases

  • End-to-end migration across Gradle, Kotlin, and iOS workflows to replace cocoapods with swiftPMDependencies.
  • Phase-driven guidance (Phase 2 through Phase 7) including configuration, iOS project reconfiguration, CocoaPods removal, verification, and reporting.
  • Guidance for handling Firebase, Google Maps, and other pods, including import transformation and bunded klibs considerations.

Quick Start

Follow the documented migration Phases to inventory, plan, execute, and verify the transition from CocoaPods to SwiftPM for a Kotlin Multiplatform project.

Frequently Asked Questions about kotlin-tooling-cocoapods-spm-migration

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

FAQPage Schema
How do I migrate a Kotlin Multiplatform iOS project from CocoaPods to SwiftPM?

To migrate a KMP project from CocoaPods to SwiftPM, you reconfigure Gradle and Xcode settings to use swiftPMDependencies. This Skill provides a phase-driven blueprint covering inventory, dependency mapping, iOS project reconfiguration, and CocoaPods removal.

What is the process for replacing CocoaPods with SwiftPM in a KMP project?

Replacing CocoaPods with SwiftPM involves an end-to-end migration across Gradle, Kotlin, and iOS workflows. The process spans Phases 2 through 7, executing configuration, iOS project reconfiguration, verification, and generating a final migration report.

Does SwiftPM migration work with complex iOS dependencies like Firebase in Kotlin Multiplatform?

Yes, SwiftPM migration supports complex iOS dependencies like Firebase and Google Maps. The Skill provides specific guidance for handling these pods, including import transformation and bundled klibs considerations during the SwiftPM transition.

How do I verify a successful CocoaPods to SwiftPM migration in Xcode?

You verify a successful CocoaPods to SwiftPM migration by executing the verification phase defined in the migration blueprint. This phase checks the iOS project configuration and Gradle settings to ensure the transition is complete and functional.

What are the limitations of moving KMP CocoaPods to SwiftPM?

Moving KMP CocoaPods to SwiftPM requires reconfiguring both Gradle and iOS toolchains, which may involve complex import transformations for dependencies like Firebase. The migration is a structured multi-phase process that demands careful inventory and dependency mapping to avoid breaking existing workflows.