Contents

binaryTarget(name:path:)

Creates a binary target that references an artifact on disk.

Declaration

static func binaryTarget(name: String, path: String) -> Target

Parameters

  • name:

    The name of the target.

  • path:

    The path to the binary artifact. This path can point directly to a binary artifact or to an archive file that contains the binary artifact at its root.

Discussion

Binary targets are only available on Apple platforms.

See Also

Creating a Binary Target