diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index c5b7b34385..4bb3201239 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -27,6 +27,11 @@ module OS end end + def prerelease? + # TODO: bump to version >= "8.1" after Xcode 8.0 is stable. + version > "7.3.1" + end + def outdated? version < latest_version end