Enumerationswift-package-manager 6.0.1PackagePlugin
TargetDependency
Represents a dependency of a target on a product or on another target.
PackageModel.swift:190enum TargetDependency
Cases
case target(Target)
A dependency on a target in the same package.
case product(Product)
A dependency on a product in another package.