Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9f9cfc195a4378ec860ec5618dcad658843acc07
https://github.com/WebKit/WebKit/commit/9f9cfc195a4378ec860ec5618dcad658843acc07
Author: Ryan Haddad <[email protected]>
Date: 2026-08-07 (Fri, 07 Aug 2026)
Changed paths:
M Source/WebKit/Configurations/BaseTarget.xcconfig
A Source/WebKit/Platform/spi/Cocoa/AppKit_SPI.swiftinterface
M Source/WebKit/Platform/spi/mac/AppKitSPI.h
M Source/WebKit/UIProcess/API/Cocoa/WKWebView+RefreshControl.swift
M Tools/SwiftBrowser/Configurations/Base.xcconfig
M Tools/TestWebKitAPI/Configurations/Base.xcconfig
A WebKitLibraries/SDKs/macosx27.0-additions.sdk/SDKSettings.plist
A
WebKitLibraries/SDKs/macosx27.0-additions.sdk/SymlinkedHeaders-output.xcfilelist
A WebKitLibraries/SDKs/macosx27.0-additions.sdk/SymlinkedHeaders.xcfilelist
Log Message:
-----------
[Build] Support public builds on the macOS 27 SDK
https://bugs.webkit.org/show_bug.cgi?id=321195
rdar://problem/184255666
Reviewed by Abrar Rahman Protyasha.
Add the sparse SDK additions directory for the macOS 27 SDK, copied from macOS
Tahoe.
HAVE_NSREFRESHCONTROLLER turns on at a macOS 27 deployment target, so
WKWebView+RefreshControl.swift is compiled for the first time in an open source
build. It
conforms WKWebView to AppKit's NSRefreshControlHosting, which AppKit declares
only as
@_spi(RefreshControl) in Swift, so it is absent from the public SDK. Add a
handwritten
AppKit_SPI module for it, following the pattern used for SwiftUI in 300040@main.
The Objective-C protocol of the same name in AppKitSPI.h cannot serve the
conformance, since it
reaches Swift only as the internally-imported WebKit_Internal. It is still
required by
WebKit-Swift-Generated.h, so both declarations have to stay.
Because the import must be public, AppKit_SPI appears in WebKit's Swift
interface, so Swift
targets importing WebKit need it on SWIFT_INCLUDE_PATHS.
* Source/WebKit/Configurations/BaseTarget.xcconfig:
* Source/WebKit/Platform/spi/Cocoa/AppKit_SPI.swiftinterface: Added.
* Source/WebKit/Platform/spi/mac/AppKitSPI.h:
* Source/WebKit/UIProcess/API/Cocoa/WKWebView+RefreshControl.swift:
* Tools/SwiftBrowser/Configurations/Base.xcconfig:
* Tools/TestWebKitAPI/Configurations/Base.xcconfig:
* WebKitLibraries/SDKs/macosx27.0-additions.sdk/SDKSettings.plist: Added.
*
WebKitLibraries/SDKs/macosx27.0-additions.sdk/SymlinkedHeaders-output.xcfilelist:
Added.
* WebKitLibraries/SDKs/macosx27.0-additions.sdk/SymlinkedHeaders.xcfilelist:
Added.
Co-Authored-By: Elliott Williams <[email protected]>
Canonical link: https://commits.webkit.org/318803@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications