public static void BuildAndRunDevice()
        {
            iOSBuildRunner runner = new iOSBuildRunner();

            runner.BuildOptions = (
                BuildOptions.SymlinkLibraries
                );
            runner.BuildAction     = iOSBuildAction.BuildAndRun;
            runner.BuildSdkVersion = iOSSdkVersion.DeviceSDK;
            runner.OnPreprocess    = iOSBuildProcessor.OnPreprocessDevice;
            runner.OnPostprocess   = iOSBuildProcessor.OnPostprocess;
            runner.Run();
        }
        public static void BuildAndRunSimulator()
        {
            iOSBuildRunner runner = new iOSBuildRunner();

            runner.BuildOptions = (
                BuildOptions.SymlinkLibraries
                );
            runner.BuildAction     = iOSBuildAction.BuildAndRun;
            runner.BuildPath       = Path.Combine(BuildRunner.ProjectPath, "../Build/iOSSimulator");
            runner.BuildSdkVersion = iOSSdkVersion.SimulatorSDK;
            runner.OnPreprocess    = iOSBuildProcessor.OnPreprocessSimulator;
            runner.OnPostprocess   = iOSBuildProcessor.OnPostprocess;
            runner.Run();
        }
        public static void BuildAndRunDeviceWithProfile()
        {
            iOSBuildRunner runner = new iOSBuildRunner();

            runner.BuildOptions = (
                BuildOptions.SymlinkLibraries |
                BuildOptions.Development |
                BuildOptions.ConnectWithProfiler |
                BuildOptions.AllowDebugging
                );
            runner.BuildAction     = iOSBuildAction.BuildAndRun;
            runner.BuildSdkVersion = iOSSdkVersion.DeviceSDK;
            runner.OnPreprocess    = iOSBuildProcessor.OnPreprocessDevice;
            runner.OnPostprocess   = iOSBuildProcessor.OnPostprocess;
            runner.Run();
        }