Macos 13 xcode 15 beta5 (#8037)

This commit is contained in:
ilia-shipitsin
2023-08-04 19:39:13 +02:00
committed by GitHub
parent 0bb547e62c
commit 55a4c8c33c
2 changed files with 6 additions and 3 deletions

View File

@@ -124,7 +124,10 @@ function Approve-XcodeLicense {
$XcodeRootPath = Get-XcodeRootPath -Version $Version
Write-Host "Approving Xcode license for '$XcodeRootPath'..."
$xcodeBuildPath = Get-XcodeToolPath -XcodeRootPath $XcodeRootPath -ToolName "xcodebuild"
Invoke-ValidateCommand "sudo $xcodeBuildPath -license accept"
try {
Invoke-Expression -Command "sudo $xcodeBuildPath -license accept" 2>&1 | Out-Null
} catch { }
}
function Install-XcodeAdditionalPackages {