Contents

executable(name:targets:)

Creates an executable package product.

Declaration

static func executable(name: String, targets: [String]) -> Product

Parameters

  • name:

    The name of the executable product.

  • targets:

    The targets to bundle into an executable product.

Return Value

A Product instance.

See Also

Creating an Executable Product