Structure
Xcrun
A fluent wrapper for the xcrun command.
struct XcrunTopics
Initializers
init(context: ShellContext)Creates an
xcruncommand family bound to a shell context.
Instance Properties
let config: ToolConfigurationShared configuration applied to commands produced by this client.
var context: ShellContextThe shell context used when running this command family.
let options: [XcrunOption]Typed
xcrunoptions applied before trailing arguments.let stderrDestination: OutputDestinationThe stderr handling strategy for built commands.
let stdoutDestination: OutputDestinationThe stdout handling strategy for built commands.
let trailingArguments: [String]Trailing tool and argument values passed to
xcrun.
Instance Methods
func command() -> CommandBuilds the raw
xcruncommand.func option(XcrunOption) -> XcrunAppends a typed
xcrunoption.func options([XcrunOption]) -> XcrunAppends multiple typed
xcrunoptions.func settingStderrDestination(OutputDestination) -> XcrunRedirects stderr for the built
xcruncommand.func settingStdoutDestination(OutputDestination) -> XcrunRedirects stdout for the built
xcruncommand.func simctl() -> SimctlEnters the typed
simctlcommand family.func tool(String) -> XcrunAppends a tool name such as
simctl.func trailingArgument(String) -> XcrunAppends a trailing argument.
func trailingArguments([String]) -> XcrunAppends multiple trailing arguments.
func updatingConfiguration((ToolConfiguration) -> ToolConfiguration) -> XcrunReturns a new value with updated shared tool configuration.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatypeSwiftyShell.OutputRedirectingCommandFamilySwiftyShell.RunnableCommandFamilySwiftyShell.ToolConfigurableCommandFamily