> On Mar 21, 2026, at 12:31 AM, Claudio Saavedra <[email protected]> wrote:
> 
> 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 :)

I believe there is already a version check in 
https://github.com/WebKit/WebKit/blob/eaba1c267428516c010a7ede5ae9844a4c8f9ed3/Tools/Scripts/webkitdirs.pm#L2307
 which could be updated, though I’m not sure whether people building for Cocoa 
platforms still rely on build-webkit.
_______________________________________________
webkit-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to