On Fri, 2026-03-20 at 12:18 -0700, Geoff Garen via webkit-dev wrote:
> > Thanks for the heads up, Geoff. Just curious: if I make a mistake
> > on one of my Macs and pull new source code and try to build but
> > haven’t updated Xcode to a new enough version yet, what error
> > message will I see?
>
> The error message will mention the keyword “unsafe” in a .swift file.
>
> Short example:
>
> > /Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.
> > swift:64:23: error: expected '{' after 'if' condition
> > if unsafe iv.size() == 0 {
Wouldn't an early version check (and a proper "Required Xcode version
X.Y.Z not found" message) be appropriate? It would save time and also
point people quickly to the fix. Surely this won't be the first or last
time an Xcode upgrade will be needed :)
Claudio
_______________________________________________
webkit-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]