We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e72f975 commit 37b6325Copy full SHA for 37b6325
images/macos/software-report/SoftwareReport.Xcode.psm1
@@ -236,7 +236,9 @@ function Build-XcodeSupportToolsSection {
236
$xcversion = Run-Command "xcversion --version" | Select-String "^[0-9]"
237
238
$toolNodes += [ToolVersionNode]::new("xcpretty", $xcpretty)
239
- $toolNodes += [ToolVersionNode]::new("xcversion", $xcversion)
+ if ($os.IsBigSur -or $os.IsMonterey) {
240
+ $toolNodes += [ToolVersionNode]::new("xcversion", $xcversion)
241
+ }
242
243
$nomadOutput = Run-Command "gem list nomad-cli"
244
$nomadCLI = [regex]::matches($nomadOutput, "(\d+.){2}\d+").Value
0 commit comments