Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3f64c90c2d2afb2e43edbcfe27af956cc8807e33
      
https://github.com/WebKit/WebKit/commit/3f64c90c2d2afb2e43edbcfe27af956cc8807e33
  Author: Pascoe <[email protected]>
  Date:   2026-05-22 (Fri, 22 May 2026)

  Changed paths:
    M Source/WebKit/PlatformIOS.cmake

  Log Message:
  -----------
  [CMake, iOS] Match Xcode for WebKit swiftmodule staging and overlay 
cxx-interop
https://bugs.webkit.org/show_bug.cgi?id=315390
rdar://problem/177745516

Reviewed by Geoffrey Garen.

Two related cmake/Xcode drift bugs in the iOS Swift overlay path:

* WebKit.swiftmodule was staged into WebKit.framework/Modules/ via a
POST_BUILD command on the dylib link rule. Ninja only fires POST_BUILD
when the link itself fires, so an incremental build that finds the
dylib up-to-date never replays the staging. If the framework's
Modules/ goes missing for any reason, _WebKit_SwiftUI silently falls
through to the SDK's WebKit module and fails with bogus errors like
"'ImmersiveEnvironment' is not a member type of class 'WebKit.WebPage'".
Replace POST_BUILD with an add_custom_command(OUTPUT ...) so ninja
tracks the staged files and replays the copy whenever they go missing.

* Drop -cxx-interoperability-mode=default from _WebKit_SwiftUI to match Xcode.

* Source/WebKit/PlatformIOS.cmake:

Canonical link: https://commits.webkit.org/313766@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to