BuiltArtifact
Represents a single artifact produced during a build.
struct BuiltArtifactRepresents a single artifact produced during a build.
struct BuiltArtifacts13PackagePlugin0A7ManagerV11BuildResultV13BuiltArtifactV What are these?A5VMimport PackagePluginstruct BuildResultRepresents the results of running a build.
struct PackageManagerProvides specialized information and services from the Swift Package Manager or an IDE that supports Swift Packages. Different plugin hosts implement the functionality in whatever way is appropriate for them, but should preserve the same semantics described here.
var builtArtifacts: [PackageManager.BuildResult.BuiltArtifact]The artifacts built from the products in the package. Intermediates such as object files produced from individual targets are not listed.
var logText: StringLog output (the verbatim text in the initial proposal).
var succeeded: BoolWhether the build succeeded or failed.
var kind: PackageManager.BuildResult.BuiltArtifact.KindThe kind of artifact that was built.
var url: URLFull path of the built artifact in the local file system.
enum KindRepresents the kind of artifact that was built. The specific file formats may vary from platform to platform — for example, on macOS a dynamic library may in fact be built as a framework.
var path: Path { get }Full path of the built artifact in the local file system.