示例#1
0
        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();
        }
示例#2
0
        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();
        }
示例#3
0
        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();
        }