Skip to content

Commit 5ffd15d

Browse files
[macos] suppress xcodebuild output (#8276)
1 parent fc8f6d4 commit 5ffd15d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

images/macos/helpers/Xcode.Installer.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function Install-AdditionalSimulatorRuntimes {
176176

177177
Write-Host "Installing Simulator Runtimes for Xcode $Version ..."
178178
$xcodebuildPath = Get-XcodeToolPath -Version $Version -ToolName "xcodebuild"
179-
Invoke-ValidateCommand "$xcodebuildPath -downloadAllPlatforms"
179+
Invoke-ValidateCommand "$xcodebuildPath -downloadAllPlatforms" | Out-Null
180180
}
181181

182182
function Build-XcodeSymlinks {

images/macos/provision/core/xcode.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ $xcodeVersions | ForEach-Object {
4141
ForEach($runtime in $_.runtimes) {
4242
Write-Host "Installing Additional runtimes for Xcode '$runtime' ..."
4343
$xcodebuildPath = Get-XcodeToolPath -Version $_.link -ToolName 'xcodebuild'
44-
Invoke-ValidateCommand "sudo $xcodebuildPath -downloadPlatform $runtime"
44+
Invoke-ValidateCommand "sudo $xcodebuildPath -downloadPlatform $runtime" | Out-Null
4545
}
4646

4747
}

0 commit comments

Comments
 (0)