Create Your First Swift Package Command Plugin

How to write and debug a Swift Package Command plugin

Riccardo Cipolleschi
Better Programming
Published in
9 min readSep 27, 2022

--

Photo by Jess Bailey on Unsplash

This year, Apple released a new feature for the Swift Package Manager: Swift Package Plugins. We can now write two kinds of plugins that are automatically integrated with Xcode:

  • Build (and pre-build) Plugins.
  • Command Plugins.

--

--

Hey there, I’m Riccardo. Software engineer at Meta. I have a passion for iOS and I love to share my knowledge with others.