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

  1. Read package.json in the plugin root. Extract:
Related skills

More from capawesome-team/skills

Installs
133
GitHub Stars
20
First Seen
Mar 18, 2026