Bug 308813

Summary: Generate single interop file on most recent SDKs
Product: WebKit Reporter: adrian_taylor
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

adrian_taylor
Reported 2026-02-27 02:59:06 PST
Older SDK versions intermix objective-C and C/C++ definitions within the generated WebKit-Swift-Generated.h file. To enable building the Swift demo logo on those older SDKs, we provide a mode where the WebKit build system generates two separate header files for use in C/C++ vs objective-C. That mode is not supported for more complex Swift/C++ interop situations such as the Back Forward List, and fortunately, newer SDKs have solved the problem such that we can generate just a single header file. We need to flip the mode for non-Mac/iPhone platforms to generate a single file, or we won't be able to enable the Swift Back Forward List on those platforms.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-27 02:59:14 PST
adrian_taylor
Comment 2 2026-02-27 03:02:10 PST
EWS
Comment 3 2026-03-01 23:08:36 PST
Committed 308443@main (7575438c4a97): <https://commits.webkit.org/308443@main> Reviewed commits have been landed. Closing PR #59567 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.