Bug 224605 - MacCatalyst build appears inconsistent: ld: warning: building for Mac Catalyst, but linking in .tbd file (..../System/Library/Frameworks/Cocoa.framework/Cocoa.tbd) built for macOS
Summary: MacCatalyst build appears inconsistent: ld: warning: building for Mac Catalys...
Status: RESOLVED DUPLICATE of bug 224606
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 224603 224602 224606
  Show dependency treegraph
 
Reported: 2021-04-15 05:40 PDT by Kimmo Kinnunen
Modified: 2021-04-20 15:39 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2021-04-15 05:40:21 PDT
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.
Comment 1 Alexey Proskuryakov 2021-04-15 15:13:54 PDT
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.
Comment 2 Kimmo Kinnunen 2021-04-18 22:53:54 PDT
TestWebKitAPI if I understand the output correctly
Comment 3 Tim Horton 2021-04-20 15:17:13 PDT
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.
Comment 4 Tim Horton 2021-04-20 15:39:49 PDT
There's a fix for this in 224606

*** This bug has been marked as a duplicate of bug 224606 ***