From 990d45881f8efb0a1accf846a699fa1081a56c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abi=20=D8=A3=D8=A8?= Date: Mon, 28 Oct 2019 23:59:01 +0100 Subject: [PATCH] Use Xcode_10.2.1 `brew doctor` will return exit code 1 if using Xcode_10.2 ```==> brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks! Warning: Your Xcode (10.2) is outdated. Please update to Xcode 10.2.1 (or delete it). Xcode can be updated from the App Store. ==> FAILED ``` --- Library/Homebrew/dev-cmd/tap-new.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/tap-new.rb b/Library/Homebrew/dev-cmd/tap-new.rb index 9631a25a1b..23d4a9fe64 100644 --- a/Library/Homebrew/dev-cmd/tap-new.rb +++ b/Library/Homebrew/dev-cmd/tap-new.rb @@ -58,7 +58,7 @@ module Homebrew steps: - bash: | set -e - sudo xcode-select --switch /Applications/Xcode_10.2.app/Contents/Developer + sudo xcode-select --switch /Applications/Xcode_10.2.1.app/Contents/Developer brew update HOMEBREW_TAP_DIR="/usr/local/Homebrew/Library/Taps/#{tap.full_name}" mkdir -p "$HOMEBREW_TAP_DIR"