Skip to content

Add kotlin-tooling-cocoapods-spm-migration Skill#23

Merged
Tapchicoma merged 2 commits intomainfrom
spm-cocoapods-migration
Mar 20, 2026
Merged

Add kotlin-tooling-cocoapods-spm-migration Skill#23
Tapchicoma merged 2 commits intomainfrom
spm-cocoapods-migration

Conversation

@AYastrebov
Copy link
Copy Markdown
Collaborator

This pull request adds comprehensive documentation and reference materials for migrating Kotlin Multiplatform projects from CocoaPods to SwiftPM. It introduces guides for identifying CocoaPods-specific code patterns, configuring SwiftPM dependencies, and writing structured migration reports. These resources are aimed at making migrations more predictable, traceable, and easier to analyze.

Documentation for migration patterns and cleanup:

Reference for SwiftPM import configuration:

Migration reporting template:


```kotlin
sourceSets.configureEach {
languageSettings {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we not promote languageSettings DSL here?

Better to use kotlin.compilerOptions.optIn DSL

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@d-ambatenne
Copy link
Copy Markdown
Collaborator

@AYastrebov have you tried on some real projects? Does it really improves the agentic migration?

@AYastrebov
Copy link
Copy Markdown
Collaborator Author

@AYastrebov have you tried on some real projects? Does it really improves the agentic migration?

Yes, we tested it on some projects from github and our samples. In most cases it migrated these projects from one shot

@Tapchicoma Tapchicoma merged commit e598a0a into main Mar 20, 2026
2 checks passed
@Tapchicoma Tapchicoma deleted the spm-cocoapods-migration branch March 20, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants