All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openbakery.simulators.SimulatorStartTask.groovy Maven / Gradle / Ivy

Go to download

XCode-Plugin is a plugin to allow custom XCode projects to build as generated by CMake

The newest version!
package org.openbakery.simulators

import org.gradle.api.tasks.TaskAction
import org.openbakery.xcode.Destination
import org.openbakery.XcodePlugin

class SimulatorStartTask extends AbstractSimulatorTask {

	public SimulatorStartTask() {
		setDescription("Start iOS Simulators")
	}



	@TaskAction
	void run() {


		Destination destination = getDestination()

		SimulatorDevice device = simulatorControl.getDevice(destination)

		simulatorControl.killAll()
		simulatorControl.runDevice(device)
		simulatorControl.waitForDevice(device)
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy