diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 09b34ad87d..f643f13fd1 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -85,7 +85,7 @@ module OS # specifically been requested according to the rules above. def sdk(v = nil) - @locator ||= if Xcode.without_clt? + @locator ||= if Xcode.installed? XcodeSDKLocator.new else CLTSDKLocator.new