Enumerationswift-package-manager 6.0.1Build
Error
BuildPlan.swift:174enum Error
Cases
case noBuildableTarget
There is no buildable target in the graph.
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (18) members.
Types
enum Input
Return value of
inputs()
Type members
init(destinationBuildParameters: BuildParameters, toolsBuildParameters: BuildParameters, graph: ModulesGraph, additionalFileRules: [FileRuleDescription], buildToolPluginInvocationResults: [ResolvedModule.ID : [BuildToolPluginInvocationResult]], prebuildCommandResults: [ResolvedModule.ID : [PrebuildCommandResult]], disableSandbox: Bool, fileSystem: any FileSystem, observabilityScope: ObservabilityScope
) throws Create a build plan with a package graph and explicitly distinct build parameters for destination platform and tools platform.
Show obsolete interfaces (1)
Hide obsolete interfaces
Instance members
var buildProducts: AnySequence<SPMBuildCore.ProductBuildDescription>
The products in this plan.
let buildToolPluginInvocationResults: [ResolvedModule.ID : [BuildToolPluginInvocationResult]]
The results of invoking any build tool plugins used by targets in this build.
let destinationBuildParameters: BuildParameters
Build parameters used for products.
let graph: ModulesGraph
The package graph.
var inputs: [Input]
Returns the files and directories that affect the build process of this build plan.
let pluginDescriptions: [PluginBuildDescription]
The plugin descriptions. Plugins are represented in the package graph as targets, but they are not directly included in the build graph.
let prebuildCommandResults: [ResolvedModule.ID : [PrebuildCommandResult]]
The results of running any prebuild commands for the targets in this build. This includes any derived source files as well as directories to which any changes should cause us to reevaluate the build plan.
let productMap: [ResolvedProduct.ID : ProductBuildDescription]
The product build description map.
let targetMap: [ResolvedModule.ID : ModuleBuildDescription]
The target build description map.
var targets: AnySequence<ModuleBuildDescription>
The build targets.
let toolsBuildParameters: BuildParameters
Build parameters used for tools.
func createAPIToolCommonArgs(includeLibrarySearchPaths: Bool
) throws -> [String] func createREPLArguments(
) throws -> [String] Creates arguments required to launch the Swift REPL that will allow importing the modules in the package graph.
func symbolGraphExtractArguments(for: ResolvedModule
) throws -> [String]
Show system interfaces (1)
Hide system interfaces
Citizens in Build
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Error
A type representing an error value that can be thrown.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
Instance members
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.
Instance features
var interpolationDescription: String
var localizedDescription: String
Retrieve the localized description for this error.