ld: warning: building for Mac Catalyst, but linking in .tbd file (..../System/Library/Frameworks/Cocoa.framework/Cocoa.tbd) built for macOS It appears as if the MacCatalyst build is inconsistent, making it hard to understand, for example, why a symbol is missing or why tests assert on NSApplication missing.
What project does this? There is no macCatalyst version of Cocoa.framework, and I think that Catalyst targets must not be linking it at all.
TestWebKitAPI if I understand the output correctly
FWIW, this is actually TestWTF; TestWebKitAPI.xcconfig does the right thing (does not link Cocoa in macCatalyst builds), but TestWTF seems to have not gotten the same adjustment.
There's a fix for this in 224606 *** This bug has been marked as a duplicate of bug 224606 ***