home/categories/package-distribution/kotlin-kotlin-agent-skills-skills-kotlin-tooling-cocoapods-spm-migration-skill-md
package-distributiondevelopment

kotlin-tooling-cocoapods-spm-migration

Migrate KMP projects from CocoaPods (kotlin("native.cocoapods")) to Swift Package Manager (swiftPMDependencies DSL) — replaces pod() with swiftPackage(), transforms cocoapods.* imports to swiftPMImport.*, and reconfigures the Xcode project.

Kotlin
maintainer
Kotlin
更新於 3/27/2026
星標
287
分支
12
quick start

Installation and usage

Migrate KMP projects from CocoaPods (kotlin("native.cocoapods")) to Swift Package Manager (swiftPMDependencies DSL) — replaces pod() with swiftPackage(), transforms cocoapods.* imports to swiftPMImport.*, and reconfigures the Xcode project.

安裝
$ install --globalskills.sh
使用

安裝後,您可以通過在終端運行以下命令來使用此技能:

skills use kotlin-tooling-cocoapods-spm-migration