Bug 313841

Summary: [TestWebKitAPI] Export testing symbols in Production builds when FORCE_TOOL_INSTALL=YES
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

David Kilzer (:ddkilzer)
Reported 2026-05-01 12:46:59 PDT
Production builds that set `FORCE_TOOL_INSTALL=YES` fail to link TestWebKitAPI because `WK_BUILD_FOR_TESTING` in WebKitLegacy is only set to `YES` in DebugRelease.xcconfig, which is not used by Production builds. This means testing symbols are absent from WebKitLegacy.framework, causing linker errors in TestWebKitAPI.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-01 12:47:06 PDT
David Kilzer (:ddkilzer)
Comment 2 2026-05-01 13:07:44 PDT
David Kilzer (:ddkilzer)
Comment 3 2026-05-02 08:01:09 PDT
Duping to Bug 313900, which replaces this change by eliminating WK_BUILD_FOR_TESTING entirely instead of extending it to Production builds. *** This bug has been marked as a duplicate of bug 313900 ***
Note You need to log in before you can comment on or make changes to this bug.