コード例 #1
0
        public IOSAppInstall(string InName, TargetDeviceIOS InDevice, string InPackageName, string InCommandLine)
        {
            Name        = InName;
            CommandLine = InCommandLine;
            PackageName = InPackageName;

            IOSDevice = InDevice;
        }
コード例 #2
0
        protected void SaveArtifacts()
        {
            TargetDeviceIOS Device = Install.IOSDevice;

            // copy remote artifacts to local
            string CommandLine = String.Format("--bundle_id {0} --download={1} --to {2}", Install.PackageName, Device.DeviceArtifactPath, Device.LocalCachePath);

            IProcessResult DownloadCmd = Device.ExecuteIOSDeployCommand(CommandLine, 120);

            if (DownloadCmd.ExitCode != 0)
            {
                Log.Warning("Failed to retrieve artifacts. {0}", DownloadCmd.Output);
            }
        }