This is causing tons of log spew on all API tests now: objc[18580]: Class WKSecureCodingArchivingDelegate is implemented in both /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit (0x1170021a8) and /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/TestWebKitAPI (0x102d84f20). One of the two will be used. Which one is undefined. objc[18580]: Class WKSecureCodingURLWrapper is implemented in both /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit (0x117002158) and /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/TestWebKitAPI (0x102d84ed0). One of the two will be used. Which one is undefined. objc[18580]: Class WKSecureCodingCGColorWrapper is implemented in both /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit (0x117002180) and /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/TestWebKitAPI (0x102d84ef8). One of the two will be used. Which one is undefined. This seems to be due to the file be compiled in libWebKitPlatform.a and that is linked by both WebKit and TestWebKitAPI.
Regressed in bug 261361 https://github.com/WebKit/WebKit/pull/17617/files#diff-35ee6315eaf16be3c4c60df710ef539ab68a1979b4b9f74138fc188162f34535 The commit adds a test in WebKitTestAPI that uses both: - WebKit.framework - Source/WebKit internals via libWebKitPlatform.a This is incorrect. WebKitTestAPI cannot link to libWebKitPlatform.a as it links to WebKit.framework. The test needs to be separated to two different pieces: - Test that implements the test caller side in TestWebKitAPI - A new runner executable that runs the webpushd that contains the unit-tested responses
<rdar://problem/117841640>
*** Bug 271023 has been marked as a duplicate of this bug. ***