From 5ffd15d845c7466f1eedda2b3e9a69c055b85d15 Mon Sep 17 00:00:00 2001 From: ilia-shipitsin <125650415+ilia-shipitsin@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:45:19 +0200 Subject: [PATCH] [macos] suppress xcodebuild output (#8276) --- images/macos/helpers/Xcode.Installer.psm1 | 2 +- images/macos/provision/core/xcode.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/images/macos/helpers/Xcode.Installer.psm1 b/images/macos/helpers/Xcode.Installer.psm1 index 66f525219..a6ae0f3e8 100644 --- a/images/macos/helpers/Xcode.Installer.psm1 +++ b/images/macos/helpers/Xcode.Installer.psm1 @@ -176,7 +176,7 @@ function Install-AdditionalSimulatorRuntimes { Write-Host "Installing Simulator Runtimes for Xcode $Version ..." $xcodebuildPath = Get-XcodeToolPath -Version $Version -ToolName "xcodebuild" - Invoke-ValidateCommand "$xcodebuildPath -downloadAllPlatforms" + Invoke-ValidateCommand "$xcodebuildPath -downloadAllPlatforms" | Out-Null } function Build-XcodeSymlinks { diff --git a/images/macos/provision/core/xcode.ps1 b/images/macos/provision/core/xcode.ps1 index e7c56759f..772906ab7 100644 --- a/images/macos/provision/core/xcode.ps1 +++ b/images/macos/provision/core/xcode.ps1 @@ -41,7 +41,7 @@ $xcodeVersions | ForEach-Object { ForEach($runtime in $_.runtimes) { Write-Host "Installing Additional runtimes for Xcode '$runtime' ..." $xcodebuildPath = Get-XcodeToolPath -Version $_.link -ToolName 'xcodebuild' - Invoke-ValidateCommand "sudo $xcodebuildPath -downloadPlatform $runtime" + Invoke-ValidateCommand "sudo $xcodebuildPath -downloadPlatform $runtime" | Out-Null } }