binaryTarget(name:path:)
Creates a binary target that references an artifact on disk.
Declaration
static func binaryTarget(name: String, path: String) -> TargetParameters
- 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.