xcode: expect Xcode 9.1 on Sierra & High Sierra

This commit is contained in:
Dominyk Tiller 2017-11-01 04:48:52 +00:00
parent 6937f6fa55
commit 50c09f8c57
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -17,13 +17,13 @@ module OS
when "10.9" then "6.2"
when "10.10" then "7.2.1"
when "10.11" then "8.2.1"
when "10.12" then "9.0.1"
when "10.13" then "9.0.1"
when "10.12" then "9.1"
when "10.13" then "9.1"
else
raise "macOS '#{MacOS.version}' is invalid" unless OS::Mac.prerelease?
# Default to newest known version of Xcode for unreleased macOS versions.
"9.0.1"
"9.1"
end
end