From 684f2002f6e83c1de95bfd10bd1254a3617c7273 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 4 Apr 2019 13:35:33 +0100 Subject: [PATCH] carthage: fix macOS version check. --- Formula/carthage.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/carthage.rb b/Formula/carthage.rb index accb65d727..9326cb8973 100644 --- a/Formula/carthage.rb +++ b/Formula/carthage.rb @@ -15,7 +15,7 @@ class Carthage < Formula depends_on :xcode => ["10.0", :build] def install - if MacOS::Xcode.version >= "10.2" && MacOS.version < "10.14.4" && MacOS.version >= "10.14.4" + if MacOS::Xcode.version >= "10.2" && MacOS.version < "10.14.4" && MacOS.version >= "10.14" odie "Xcode >=10.2 requires macOS >=10.14.4 to build Swift formulae." end