Skip to content

Commit 82de56d

Browse files
[macos] Adjust Xcode storage Uri (#8445)
1 parent 72bdf7e commit 82de56d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/macos/helpers/Xcode.Installer.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function Invoke-DownloadXcodeArchive {
3030
$tempXipDirectory = New-Item -Path $DownloadDirectory -Name "Xcode$Version" -ItemType "Directory"
3131

3232
$xcodeFileName = 'Xcode-{0}.xip' -f $Version
33-
$xcodeUri = '{0}{1}{2}'-f ${env:XCODE_INSTALL_STORAGE_URL}, $xcodeFileName, ${env:XCODE_INSTALL_SAS}
33+
$xcodeUri = '{0}{1}?{2}'-f ${env:XCODE_INSTALL_STORAGE_URL}, $xcodeFileName, ${env:XCODE_INSTALL_SAS}
3434

3535
Start-DownloadWithRetry -Url $xcodeUri -DownloadPath $tempXipDirectory.FullName -Name $xcodeFileName
3636
return $tempXipDirectory

0 commit comments

Comments
 (0)