예제 #1
0
 public int InstallOnDevice(DeviceInfo device, string appPath, string devicetype = null)
 {
     return(Execute("--devname \"{0}\" --installdev \"{1}\" --sdkroot \"{2}\" {3} {4}", device.Name, appPath, Configuration.xcode_root, GetVerbosity(), devicetype == null ? string.Empty : "--device " + devicetype));
 }
예제 #2
0
 public int LaunchOnDevice(DeviceInfo device, string appPath, bool waitForUnlock, bool waitForExit)
 {
     return(Execute("--devname \"{0}\" --launchdev \"{1}\" --sdkroot \"{2}\" --wait-for-unlock:{3} --wait-for-exit:{4} {5}", device.Name, appPath, Configuration.xcode_root, waitForUnlock ? "yes" : "no", waitForExit ? "yes" : "no", GetVerbosity()));
 }