From b7556350db6dd2bada6a382aed2ebeafbe32f2b2 Mon Sep 17 00:00:00 2001 From: Lorenzo Gatti Date: Mon, 17 May 2021 17:11:00 +0200 Subject: [PATCH 1/3] Better instructions for updating Command Line Tools Added link to Apple's page with minimum requirements --- Library/Homebrew/os/mac/xcode.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index c3e2eaa4c3..4feaf71a4d 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -305,6 +305,8 @@ module OS Alternatively, manually download them from: #{Formatter.url("https://developer.apple.com/download/more/")}. + Check the latest available version for your system on: + #{Formatter.url("https://developer.apple.com/support/xcode/#minimum-requirements")}. EOS end From 5a24b6aff3a9e121d459d3812a0329c309922648 Mon Sep 17 00:00:00 2001 From: Lorenzo Gatti Date: Mon, 17 May 2021 17:28:58 +0200 Subject: [PATCH 2/3] minor changes to the wording --- Library/Homebrew/os/mac/xcode.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 4feaf71a4d..ac27c6863e 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -304,8 +304,8 @@ module OS sudo xcode-select --install Alternatively, manually download them from: - #{Formatter.url("https://developer.apple.com/download/more/")}. - Check the latest available version for your system on: + #{Formatter.url("https://developer.apple.com/download/more/")} + after checking the latest available version for your system on: #{Formatter.url("https://developer.apple.com/support/xcode/#minimum-requirements")}. EOS end From c564019a9196c728e2b42c62503eff5309246fb4 Mon Sep 17 00:00:00 2001 From: Lorenzo Gatti Date: Tue, 18 May 2021 16:19:31 +0200 Subject: [PATCH 3/3] debug info now includes CLT version --- Library/Homebrew/os/mac/xcode.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 Library/Homebrew/os/mac/xcode.rb diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb old mode 100644 new mode 100755 index ac27c6863e..3151511226 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -304,9 +304,8 @@ module OS sudo xcode-select --install Alternatively, manually download them from: - #{Formatter.url("https://developer.apple.com/download/more/")} - after checking the latest available version for your system on: - #{Formatter.url("https://developer.apple.com/support/xcode/#minimum-requirements")}. + #{Formatter.url("https://developer.apple.com/download/more/")}. + You should download the Command Line Tools for Xcode #{MacOS::Xcode.latest_version}. EOS end