id

Unique identifier for the product.

PackageModel.swift:101
var id: ID { get }

Other requirements

Instance members

  • var name: String

    The name of the product, as defined in the package manifest. This name is unique among the products of the package in which it is defined.

  • var targets: [Target]

    The targets that directly comprise the product, in the order in which they are declared in the package manifest. The product will contain the transitive closure of the these targets and their dependencies. Some kinds of products have further restrictions on the set of targets (for example, an executable product must have one and only one target that defines the main entry point for an executable).