Instance Propertyswift-package-manager 5.10.1PackageDescription
name
The name of the package product.
Product.swift:64let name: String
Other members in extension
Types
class Executable
The executable product of a Swift package.
class Library
The library 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 library(name: String, type: 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.
static func plugin(name: String, targets: [String]
) -> Product Defines a product that vends a package plugin target for use by clients of the package.