Bug 224605
Summary: | 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 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ap, jbedard, thorton |
Priority: | P2 | ||
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 224603, 224602, 224606 |
Kimmo Kinnunen
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
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.
Kimmo Kinnunen
TestWebKitAPI if I understand the output correctly
Tim Horton
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.
Tim Horton
There's a fix for this in 224606
*** This bug has been marked as a duplicate of bug 224606 ***