target(name:)

    Creates a dependency on a target in the same package.

    Target.swift:1251

    This declaration was obsoleted in SwiftPM 5.3.

    static func target(name: String) -> Target.Dependency

    Parameters

    name

    The name of the target.

    Returns

    A Target.Dependency instance.

    See also

    Other members in extension

    Type members

    Show obsolete interfaces (1)

    Hide obsolete interfaces