-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
Previous ID | SR-13497 |
Radar | rdar://problem/68318696 |
Original Reporter | @typesanitizer |
Type | Bug |
Status | Closed |
Resolution | Done |
Additional Detail from JIRA
Votes | 0 |
Component/s | Project Infrastructure |
Labels | Bug |
Assignee | @kastiglione |
Priority | Medium |
Watchers: @shahmishal
md5: 02b344090cf589abb5f59c959b1f6479
Issue Description:
From Dave Lee's comment on my documentation PR (#33786 (comment)
It would be ideal if an Xcode version check happened within scope of
build-script
, to fail early and report the issue in a clear way.I've been bit before: using the wrong Xcode still kicks off a build, and then some point in the build, maybe a while later, a compilation error happens. The error is not likely to point to Xcode version as the root cause, which leads to searches for keywords found in the error message. If the person is lucky, someone else has already hit the error, posted on the forums, and received help telling them they need to use a newer version of Xcode.
It would be nice to have a check + error for this, which you could override with (say) a flag.