Structure
Agvtool
A typed wrapper for xcrun agvtool commands.
struct AgvtoolTopics
Initializers
init(context: ShellContext)Creates an
agvtoolcommand family bound to a shell context.
Instance Properties
let arguments: [String]Typed
agvtoolarguments for the selected operation.let config: ToolConfigurationShared configuration applied to commands produced by this client.
var context: ShellContextThe shell context used when running this command family.
let stderrDestination: OutputDestinationThe stderr handling strategy for built commands.
let stdoutDestination: OutputDestinationThe stdout handling strategy for built commands.
Instance Methods
func command() -> CommandBuilds the raw
xcrun agvtoolcommand.func newMarketingVersion(String) -> AgvtoolUses
agvtool new-marketing-version <version>.func newVersionAll(String) -> AgvtoolUses
agvtool new-version -all <build>.func settingStderrDestination(OutputDestination) -> AgvtoolRedirects stderr for the built
xcrun agvtoolcommand.func settingStdoutDestination(OutputDestination) -> AgvtoolRedirects stdout for the built
xcrun agvtoolcommand.func updatingConfiguration((ToolConfiguration) -> ToolConfiguration) -> AgvtoolReturns a new value with updated shared tool configuration.
func whatMarketingVersionTerse() -> AgvtoolUses
agvtool what-marketing-version -terse.func whatVersionTerse() -> AgvtoolUses
agvtool what-version -terse.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatypeSwiftyShell.OutputRedirectingCommandFamilySwiftyShell.RunnableCommandFamilySwiftyShell.ToolConfigurableCommandFamily