kmp-xcframework-spm
Installation
SKILL.md
Overview
Gradle build
→ :shared:assembleReleaseXCFramework
→ shared/build/XCFrameworks/release/Shared.xcframework
Distribution options:
A) Local SPM (development) — Package.swift pointing to local path
B) Remote SPM (distribution) — zip + GitHub Release + checksum in Package.swift
When to Use This Skill
Use this skill when you need to:
- Export a KMP shared module as an XCFramework
- Package the framework for Swift Package Manager
- Set up local SPM for development or remote binary distribution
- Recheck Xcode and SPM integration before release