capacitor-plugin-spm-support

Installation
SKILL.md

Add SPM Support to a Capacitor Plugin

Add Swift Package Manager (SPM) support to an existing Capacitor plugin by replacing the Objective-C bridge with the CAPBridgedPlugin Swift protocol and adding a Package.swift manifest.

Prerequisites

Requirement Version
Capacitor 6+
Swift 5.9+
Xcode 15+

The project must be a Capacitor plugin (not an app project). The plugin must have an existing iOS implementation with Swift source files in ios/Plugin/.

Procedures

Step 1: Gather Plugin Information

Installs
7
Repository
involvex/skills
First Seen
Mar 26, 2026
capacitor-plugin-spm-support — involvex/skills