public static void BuildAndRunDevice() { tvOSBuildRunner runner = new tvOSBuildRunner(); runner.BuildOptions = ( BuildOptions.SymlinkLibraries ); runner.BuildAction = tvOSBuildAction.BuildAndRun; runner.BuildSdkVersion = iOSSdkVersion.DeviceSDK; runner.OnPreprocess = tvOSBuildProcessor.OnPreprocessDevice; runner.OnPostprocess = tvOSBuildProcessor.OnPostprocess; runner.Run(); }
public static void BuildAndRunSimulator() { tvOSBuildRunner runner = new tvOSBuildRunner(); runner.BuildOptions = ( BuildOptions.SymlinkLibraries ); runner.BuildAction = tvOSBuildAction.BuildAndRun; runner.BuildPath = Path.Combine(BuildRunner.ProjectPath, "../Build/tvOSSimulator"); runner.BuildSdkVersion = iOSSdkVersion.SimulatorSDK; runner.OnPreprocess = tvOSBuildProcessor.OnPreprocessSimulator; runner.OnPostprocess = tvOSBuildProcessor.OnPostprocess; runner.Run(); }
public static void BuildAndRunDeviceWithProfile() { tvOSBuildRunner runner = new tvOSBuildRunner(); runner.BuildOptions = ( BuildOptions.SymlinkLibraries | BuildOptions.Development | BuildOptions.ConnectWithProfiler ); runner.BuildAction = tvOSBuildAction.BuildAndRun; runner.BuildSdkVersion = iOSSdkVersion.DeviceSDK; runner.OnPreprocess = tvOSBuildProcessor.OnPreprocessDevice; runner.OnPostprocess = tvOSBuildProcessor.OnPostprocess; runner.Run(); }