Plugin
The plug-in product of a Swift package.
Product.swift:109Plugin.mdfinal class Plugin
Describing a plug-in product
let targets: [String]
The name of the plug-in target to vend as a product.
Superclasses
class Product
The object that defines a package product.
See also
static func plugin(name: String, targets: [String]
) -> Product Defines a product that vends a package plugin target for use by clients of the package.
Other members in extension
Types
class Executable
The executable product of a Swift package.
class Library
The library product of a Swift package.
Type members
static func executable(name: String, targets: [String]
) -> Product Creates an executable package product.
static func library(name: String, type: Product.Library.LibraryType?, targets: [String]
) -> Product Creates a library product to allow clients that declare a dependency on this package to use the package’s functionality.
Instance members
let name: String
The name of the package product.