mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[macOS] Install tvOS and watchOS runtime sims (#6140)
This commit is contained in:
@@ -47,6 +47,16 @@ $xcodeVersions | ForEach-Object {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$xcodeVersions | ForEach-Object {
|
||||||
|
if ($_.link.StartsWith("14.")) {
|
||||||
|
Write-Host "Installing Simulator Runtimes..."
|
||||||
|
|
||||||
|
# tvOS and watchOS simulators are not included by default
|
||||||
|
$xcodebuildPath = Get-XcodeToolPath -Version $_.link -ToolName "xcodebuild"
|
||||||
|
Invoke-ValidateCommand "$xcodebuildPath -downloadAllPlatforms"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Write-Host "Rebuilding Launch Services database ..."
|
Write-Host "Rebuilding Launch Services database ..."
|
||||||
$xcodeVersions | ForEach-Object {
|
$xcodeVersions | ForEach-Object {
|
||||||
Rebuild-XcodeLaunchServicesDb -Version $_.link
|
Rebuild-XcodeLaunchServicesDb -Version $_.link
|
||||||
|
|||||||
Reference in New Issue
Block a user