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
    • RawValue

    Cases

    See also

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (40) members.

    Types

    Type members

    Show obsolete interfaces (11)

    Hide obsolete interfaces

    Show system interfaces (1)

    Hide system interfaces

    Instance members

    Citizens in PackageDescription

    Conformances