diff --git a/Formula/swiftgen.rb b/Formula/swiftgen.rb index f8df07d2327..59f136d7fc5 100644 --- a/Formula/swiftgen.rb +++ b/Formula/swiftgen.rb @@ -14,6 +14,7 @@ class Swiftgen < Formula depends_on "ruby" => :build if MacOS.version <= :sierra depends_on xcode: ["12.0", :build] + depends_on :macos def install # Disable swiftlint build phase to avoid build errors if versions mismatch