TargetType

The different types of a target.

Target.swift:26Target-TargetType.md
enum TargetType

Enumeration Cases

  • case regular

    A target that contains code for the Swift package’s functionality.

  • case binary

    A target that references a binary artifact.

  • case system

    A target that adapts a library on the system to work with Swift packages.

  • case test

    A target that contains tests for the Swift package’s other targets.

  • case executable

    A target that contains code for an executable’s main module.

  • case plugin

    A target that provides a package plug-in.

Creating a Value

Hashing

Operator Functions

Accessing the Raw Value

  • rawValue-swift.property
  • RawValue-swift.typealias