/CreateSwiftPackagePlugins

Some working code, based on the 2022 WWDC "Create Swift Package plugins" session code

Primary LanguageSwift

CreateSwiftPackagePlugins

Working POC based on WWDC 2022's Create Swift Package plugins session.

First Example

Second Example

Folders:

  • IconLibrary
    • A swift package that has a library, an executable and a plugin that wraps the executable
    • The library includes the plugin (and therefore the executable as well) in to the build chain of the package

Third Example

Folders:

  • GenStringsPlugin
    • The plugin itself that does some localization file creation via "xcrun"
  • MyLibrary
    • The Swift Package library that we use to test the Gen Strings Plugin.