Structure
Simctl
A typed wrapper for xcrun simctl commands.
struct SimctlTopics
Initializers
init(context: ShellContext)Creates a
simctlcommand family bound to a shell context.
Instance Properties
var context: ShellContextThe shell context used when running this command family.
Instance Methods
func addMedia(String, files: [String]) -> SimctlUses the
simctl addmediasubcommand.func appInfo(String, bundleIdentifier: String) -> SimctlUses the
simctl appinfosubcommand.func arg(String) -> SimctlAppends a trailing argument after the typed
simctloperation.func args([String]) -> SimctlAppends multiple trailing arguments after the typed
simctloperation.func boot(String) -> SimctlUses the
simctl bootsubcommand.func bootStatus(String) -> SimctlUses the
simctl bootstatussubcommand.func buildCommand() -> CommandBuilds the raw
xcrun simctlcommand.func clone(String, to: String) -> SimctlUses the
simctl clonesubcommand.func command() -> CommandBuilds the raw
xcrun simctlcommand.func command(SimctlCommand) -> SimctlReplaces the current typed
simctloperation.func create(name: String, deviceType: String, runtime: String) -> SimctlUses the
simctl createsubcommand.func custom(String, arguments: [String]) -> SimctlUses a custom
simctlsubcommand and arguments.func delete([String]) -> SimctlUses the
simctl deletesubcommand.func diagnose(arguments: [String]) -> SimctlUses the
simctl diagnosesubcommand.func disk(arguments: [String]) -> SimctlUses the
simctl disksubcommand.func erase([String]) -> SimctlUses the
simctl erasesubcommand.func getAppContainer(String, bundleIdentifier: String, container: String?) -> SimctlUses the
simctl get_app_containersubcommand.func help(String?) -> SimctlUses the
simctl helpsubcommand.func icloudSync(String) -> SimctlUses the
simctl icloud_syncsubcommand.func install(String, appAt: String) -> SimctlUses the
simctl installsubcommand.func io(String, command: String, arguments: [String]) -> SimctlUses the
simctl iosubcommand.func keychain(String, arguments: [String]) -> SimctlUses the
simctl keychainsubcommand.func launch(String, bundleIdentifier: String) -> SimctlUses the
simctl launchsubcommand.func list(SimctlListTarget?, json: Bool, searchTerm: String?) -> SimctlUses the
simctl listsubcommand.func location(String, action: String, arguments: [String]) -> SimctlUses the
simctl locationsubcommand.func notifyPost(String, notification: String) -> SimctlUses the
simctl notify_postsubcommand.func openURL(String, String) -> SimctlUses the
simctl openurlsubcommand.func pair(String, with: String) -> SimctlUses the
simctl pairsubcommand.func pbcopy(String) -> SimctlUses the
simctl pbcopysubcommand.func pbpaste(String) -> SimctlUses the
simctl pbpastesubcommand.func privacy(String, action: String, service: String, bundleIdentifier: String?) -> SimctlUses the
simctl privacysubcommand.func push(String, bundleIdentifier: String, payloadAt: String) -> SimctlUses the
simctl pushsubcommand.func rename(String, to: String) -> SimctlUses the
simctl renamesubcommand.func runtime(arguments: [String]) -> SimctlUses the
simctl runtimesubcommand.func settingStderrDestination(OutputDestination) -> SimctlRedirects stderr for the built
simctlcommand.func settingStdoutDestination(OutputDestination) -> SimctlRedirects stdout for the built
simctlcommand.func shutdown([String]) -> SimctlUses the
simctl shutdownsubcommand.func spawn(String, executable: String, arguments: [String]) -> SimctlUses the
simctl spawnsubcommand.func statusBar(String, arguments: [String]) -> SimctlUses the
simctl status_barsubcommand.func terminate(String, bundleIdentifier: String) -> SimctlUses the
simctl terminatesubcommand.func ui(String, arguments: [String]) -> SimctlUses the
simctl uisubcommand.func uninstall(String, bundleIdentifier: String) -> SimctlUses the
simctl uninstallsubcommand.func unpair(String) -> SimctlUses the
simctl unpairsubcommand.func updatingConfiguration((ToolConfiguration) -> ToolConfiguration) -> SimctlReturns a new value with updated shared tool configuration.
func upgrade([String]) -> SimctlUses the
simctl upgradesubcommand.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatypeSwiftyShell.OutputRedirectingCommandFamilySwiftyShell.RunnableCommandFamilySwiftyShell.ToolConfigurableCommandFamily