LaunchXCode() 개인적인 메소드

private LaunchXCode ( ) : void
리턴 void
예제 #1
0
 public void CloseAllOpenUnityProjects(string buildToolsDirs, string projectPath)
 {
     XCodeUtils.LaunchXCode();
     try
     {
         if (this.XcodeIsRunning())
         {
             this.InstallXcodePlugin(buildToolsDirs);
             this.InternalCloseAllOpenUnityProjects();
         }
     }
     catch (Exception exception)
     {
         object[] param = new object[] { exception };
         this.Log("Close all open unity project in Xcode failed. {0}", param);
     }
 }
예제 #2
0
 private bool LaunchAndWaitForXcode(string buildToolsDir)
 {
     this.InstallXcodePlugin(buildToolsDir);
     if (!XCodeUtils.CheckXCodeCompatibleWithPlugin(this.PluginSourcePath(buildToolsDir)))
     {
         UnityEngine.Debug.LogWarning("Unity xcode plugin has not current Xcode in its compatibility list.\n Please launch the project manually");
         return(false);
     }
     if (!this.XcodeIsRunning() || !this.WaitForPluginStartup(10))
     {
         this.Log("Terminating Xcode if running", new object[0]);
         XCodeUtils.TerminateXCode();
         this.Log("Launching Xcode", new object[0]);
         XCodeUtils.LaunchXCode();
         this.WaitForPluginStartup(30);
     }
     return(true);
 }