Instance Methodswift-package-manager 6.0.3LLBuildManifest
addWriteInfoPlistCommand(principalClass:outputPath:)
LLBuildManifest.swift:306mutating func addWriteInfoPlistCommand(principalClass: String, outputPath: AbsolutePath)
mutating func addWriteInfoPlistCommand(principalClass: String, outputPath: AbsolutePath)
s15LLBuildManifestAAV24addWriteInfoPlistCommand14principalClass10outputPathySS_6Basics08AbsoluteK0VtF
What are these?13FGO
import LLBuildManifest
struct LLBuildManifest
@frozen struct String
A Unicode string value that is a collection of characters.
struct AbsolutePath
Represents an absolute file system path, independently of what (or whether anything at all) exists at that path in the file system at any given time. An absolute path always starts with a /
character, and holds a normalized string representation. This normalization is strictly syntactic, and does not access the file system in any way.
init()
var commands: [CmdName : Command] { get }
The commands in the manifest.
var defaultTarget: String
The default target to build.
var targets: [TargetName : Target] { get }
The targets in the manifest.
mutating func addClangCmd(name: String, description: String, inputs: [Node], outputs: [Node], arguments: [String], dependencies: String? = nil)
mutating func addCopyCmd(name: String, inputs: [Node], outputs: [Node])
mutating func addEntitlementPlistCommand(entitlement: String, outputPath: AbsolutePath)
mutating func addNode(_ node: Node, toTarget target: TargetName)
mutating func addPhonyCmd(name: String, inputs: [Node], outputs: [Node])
mutating func addPkgStructureCmd(name: String, inputs: [Node], outputs: [Node])
mutating func addShellCmd(name: String, description: String, inputs: [Node], outputs: [Node], arguments: [String], environment: Environment = [:], workingDirectory: String? = nil, allowMissingInputs: Bool = false)
mutating func addSwiftCmd(name: String, inputs: [Node], outputs: [Node], executable: AbsolutePath, moduleName: String, moduleAliases: [String : String]?, moduleOutputPath: AbsolutePath, importPath: AbsolutePath, tempsPath: AbsolutePath, objects: [AbsolutePath], otherArguments: [String], sources: [AbsolutePath], fileList: AbsolutePath, isLibrary: Bool, wholeModuleOptimization: Bool, outputFileMapPath: AbsolutePath, prepareForIndexing: Bool)
mutating func addSwiftFrontendCmd(name: String, moduleName: String, packageName: String, description: String, inputs: [Node], outputs: [Node], arguments: [String])
mutating func addSwiftGetVersionCommand(swiftCompilerPath: AbsolutePath, swiftVersionFilePath: AbsolutePath)
mutating func addTestDiscoveryCmd(name: String, inputs: [Node], outputs: [Node])
mutating func addTestEntryPointCmd(name: String, inputs: [Node], outputs: [Node])
mutating func addWriteEmbeddedResourcesCommand(resources: [AbsolutePath], outputPath: AbsolutePath)
mutating func addWriteLinkFileListCommand(objects: [AbsolutePath], linkFileListPath: AbsolutePath)
mutating func addWriteSourcesFileListCommand(sources: [AbsolutePath], sourcesFileListPath: AbsolutePath)
mutating func createTarget(_ name: TargetName)
func getCmdToolMap<T>(kind: T.Type) -> [CmdName : T] where T : ToolProtocol
typealias CmdName = String
typealias TargetName = String