Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5f500d7debeaec0a660010315dfa81e8485755b2
https://github.com/WebKit/WebKit/commit/5f500d7debeaec0a660010315dfa81e8485755b2
Author: Pascoe <[email protected]>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M Source/WebCore/PlatformCocoa.cmake
Log Message:
-----------
[CMake] WebCore.framework is missing its private module map
https://bugs.webkit.org/show_bug.cgi?id=318705
rdar://181518639
Reviewed by Elliott Williams.
Xcode installs both MODULEMAP_FILE and MODULEMAP_PRIVATE_FILE into
WebCore.framework's Modules directory (module.modulemap and
module.private.modulemap). The private map declares the WebCore_Private
clang module, whose PlatformExportMacros submodule defines WEBCORE_EXPORT.
The CMake port stages only the public WebCore.modulemap, so a Swift or
C++-interop consumer that resolves <WebCore/...> through the framework
module reads the private headers textually and WEBCORE_EXPORT is left
undefined. Stage WebCore_Private.modulemap alongside the public map, into
the same Modules directory the bundle already symlinks, matching Xcode's
WebCore.framework product.
* Source/WebCore/PlatformCocoa.cmake:
Canonical link: https://commits.webkit.org/316734@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications