Library
The library product of a Swift package.
Product.swift:83Library.mdfinal class Library
Describing a Library Product
let targets: [String]
The names of the targets in this product.
let type: Product.Library.LibraryType?
The type of the library.
enum LibraryType
The different types of a library product.
Superclasses
class Product
The object that defines a package product.
See also
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.
Other members in extension
Types
class Executable
The executable product of a Swift package.
class Plugin
The plug-in product of a Swift package.
Type members
static func executable(name: String, targets: [String]
) -> Product Creates an executable package product.
static func plugin(name: String, targets: [String]
) -> Product Defines a product that vends a package plugin target for use by clients of the package.
Instance members
let name: String
The name of the package product.