Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcode_requirement: inform users of macOS upgrade. #3749

Merged
merged 1 commit into from
Jan 29, 2018
Merged

xcode_requirement: inform users of macOS upgrade. #3749

merged 1 commit into from
Jan 29, 2018

Conversation

MikeMcQuaid
Copy link
Member

If you need a newer Xcode than the latest version provided by your version of macOS then you need to upgrade your OS to install the software.

If you need a newer Xcode than the latest version provided by your
version of macOS then you need to upgrade your OS to install the
software.
@@ -22,7 +22,12 @@ def message
A full installation of Xcode.app#{version} is required to compile this software.
Installing just the Command Line Tools is not sufficient.
EOS
if MacOS.version >= :lion
if Version.new(MacOS::Xcode.latest_version) < Version.new(@version)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is MacOS::Xcode.latest_version not already a Version object?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We Shall Never Know

@MikeMcQuaid MikeMcQuaid merged commit 28ce1a1 into Homebrew:master Jan 29, 2018
@MikeMcQuaid MikeMcQuaid deleted the xcode-requirement-macos-upgrade branch January 29, 2018 17:44
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants