String processOwner = option(SIMULATOR_PROCESS_OWNER, DEFAULT_SIMULATOR_PROCESS_OWNER);
boolean victorOwnsSimulator = processOwner.equals(DEFAULT_SIMULATOR_PROCESS_OWNER);
if (victorOwnsSimulator) {
IosApplicationBundle iosApplicationBundle = applicationBundle();
if(!iosApplicationBundle.isExecutable()) {
throw new ConfigurationException("Application binary is not executable: " + iosApplicationBundle.pathToExecutable());
}
String sdkPath = sdk().path();
String simulatorBinaryPath = sdk().simulatorBinaryPath();
String applicationBinaryPath = iosApplicationBundle.pathToExecutable();
return new VictorSimulatorProcess(sdkPath, simulatorBinaryPath, applicationBinaryPath, deviceType.get(), shell.get());