kmp-ios-integration

Configure Kotlin Multiplatform shared module integration with iOS Xcode projects.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/trancee/MeshLink-template --skill kmp-ios-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kmp-ios-integration
Source: https://github.com/trancee/MeshLink-template/tree/main/.agents/skills/kmp-ios-integration
Command: npx skills add https://github.com/trancee/MeshLink-template --skill kmp-ios-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill resolves the complexity of integrating Kotlin Multiplatform shared modules into iOS Xcode projects, eliminating manual configuration errors and build phase conflicts.

Core Features & Use Cases

  • Integration Strategy Selection: Provides guidance on choosing between Direct Integration, CocoaPods, or SwiftPM based on project architecture.
  • Build Configuration: Automates the setup of XCFrameworks, Run Script phases, and dependency management.
  • Use Case: Use this Skill to migrate an existing project from CocoaPods to a modern SwiftPM-based distribution or to troubleshoot framework linking issues in a mono-repo.

Quick Start

Use the kmp-ios-integration skill to configure a new XCFramework build task for my shared Kotlin module.

Frequently Asked Questions about kmp-ios-integration

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

FAQPage Schema
How do I integrate a Kotlin Multiplatform shared module into an iOS Xcode project?

Kotlin Multiplatform integration into Xcode involves configuring shared modules using Direct Integration, CocoaPods, or SwiftPM. This process manages native binary generation and dependency resolution within the Apple ecosystem.

What is the best way to distribute Kotlin Multiplatform modules to iOS: CocoaPods or SwiftPM?

Choosing between CocoaPods and SwiftPM for Kotlin Multiplatform distribution depends on your project architecture. SwiftPM offers a modern Xcode integration approach, whereas CocoaPods supports traditional dependency management workflows.

How do I configure XCFramework creation for a Kotlin Multiplatform iOS target?

XCFramework creation for Kotlin Multiplatform involves configuring build tasks to generate native binaries for iOS targets. This satisfies requirements for native binary generation and ensures proper framework linking within Xcode projects.

Can I migrate an existing iOS project from CocoaPods to SwiftPM for Kotlin Multiplatform?

Yes, you can migrate an existing project from CocoaPods to a modern SwiftPM-based distribution. This requires reconfiguring the Kotlin Multiplatform integration strategy and updating Xcode dependency management settings.

Why does my Kotlin Multiplatform framework linking fail in an Xcode mono-repo?

Kotlin Multiplatform framework linking fails in Xcode mono-repos due to manual configuration errors and build phase conflicts. Troubleshooting requires verifying XCFramework setup and Run Script phase execution.