From 8824352ab072b376f7edb4de1a563d3f493ca9c7 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Sun, 10 Oct 2021 14:28:31 +0800 Subject: [PATCH 1/2] os/mac: bump `latest_sdk_version` The newest macOS SDK version is 11.3. --- Library/Homebrew/os/mac.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 4f3b153c84..1eda67bfaa 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -45,7 +45,7 @@ module OS sig { returns(::Version) } def latest_sdk_version # TODO: bump version when new Xcode macOS SDK is released - ::Version.new("11.1") + ::Version.new("11.3") end private :latest_sdk_version From 231b10beea223bd62ccbbd6783ec4d1fc45115d9 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Mon, 11 Oct 2021 20:25:55 +0800 Subject: [PATCH 2/2] os/mac: track only the major version instead --- Library/Homebrew/os/mac.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 1eda67bfaa..d6d11f6974 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -45,7 +45,8 @@ module OS sig { returns(::Version) } def latest_sdk_version # TODO: bump version when new Xcode macOS SDK is released - ::Version.new("11.3") + # NOTE: We only track the major version of the SDK. + ::Version.new("11") end private :latest_sdk_version