Cake.AppleSimulator

Cake Build addin for managing (simctl) Apple iOS/watchOS/TV simulators.

#addin nuget:?package=Cake.AppleSimulator&version=0.2.0

<package id="Cake.AppleSimulator" version="0.2.0" />

dotnet add package Cake.AppleSimulator --version 0.2.0

<PackageReference Include="Cake.AppleSimulator" Version="0.2.0" />

Aliases

General

BootAppleSimulator(ICakeContext, string) Boot the specified simulator, headless in the background.
BootAppleSimulator(ICakeContext, string, SimCtlSettings) Boot the specified simulator, headless in the background.
EraseAllAppleSimulators(ICakeContext) Not implemented yet. Send in a pull-request!
EraseAllAppleSimulators(ICakeContext, SimCtlSettings) Not implemented yet. Send in a pull-request!
EraseAppleSimulator(ICakeContext, string) Erases and factory resets the specified simulator.
EraseAppleSimulator(ICakeContext, string, SimCtlSettings) Erases and factory resets the specified simulator.
FindXCodeTool(ICakeContext, string) Shutdowns all running simulators.
FindXCodeTool(ICakeContext, string, XCRunSettings) Shutdowns all running simulators.
InstalliOSApplication(ICakeContext, string, string) Installs an application on the specified simulator.
InstalliOSApplication(ICakeContext, string, string, SimCtlSettings) Installs an application on the specified simulator.
LaunchAppleSimulator(ICakeContext, string) Boot the specified simulator, headless in the background. This operation returns immiedately and does not block, you need to put the cake thread to sleep/pause execution to allow time for the simulator to boot.
LaunchAppleSimulator(ICakeContext, string, SimulatorSettings) Boot the specified simulator, headless in the background. This operation returns immiedately and does not block, you need to put the cake thread to sleep/pause execution to allow time for the simulator to boot.
LaunchiOSApplication(ICakeContext, string, string) Launches an application on the specified simulator.
LaunchiOSApplication(ICakeContext, string, string, SimCtlSettings) Launches an application on the specified simulator.
ListAppleSimulatorDeviceTypes(ICakeContext) Fetch list of installed simulator device types.
ListAppleSimulatorDeviceTypes(ICakeContext, SimCtlSettings) Fetch list of installed simulator device types.
ListAppleSimulatorPairs(ICakeContext) Fetch list of simulators pairs (iphone+watch) available for administrative operations.
ListAppleSimulatorPairs(ICakeContext, SimCtlSettings) Fetch list of simulators pairs (iphone+watch) available for administrative operations.
ListAppleSimulatorRuntimes(ICakeContext) Fetch list of installed simulator runtimes.
ListAppleSimulatorRuntimes(ICakeContext, SimCtlSettings) Fetch list of installed simulator runtimes.
ListAppleSimulators(ICakeContext) Fetch list configured simulators that are defined and available for administrative operations (boot, launch, shutdown, etc)
ListAppleSimulators(ICakeContext, SimCtlSettings) Fetch list configured simulators that are defined and available for administrative operations (boot, launch, shutdown, etc)
ShutdownAllAppleSimulators(ICakeContext) Shutdowns all running simulators.
ShutdownAllAppleSimulators(ICakeContext, SimCtlSettings) Shutdowns all running simulators.
TestiOSApplication(ICakeContext, string, string) Launches and returns the unit test results of an application on the specified simulator.
TestiOSApplication(ICakeContext, string, string, SimCtlSettings) Launches and returns the unit test results of an application on the specified simulator.
UninstalliOSApplication(ICakeContext, string, string) Uninstalls an application on the specified simulator.
UninstalliOSApplication(ICakeContext, string, string, SimCtlSettings) Uninstalls an application on the specified simulator.