Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3df99abd2c4b14170e3eae3d0a732f5d76b98382
https://github.com/WebKit/WebKit/commit/3df99abd2c4b14170e3eae3d0a732f5d76b98382
Author: Elliott Williams <[email protected]>
Date: 2025-10-27 (Mon, 27 Oct 2025)
Changed paths:
M Tools/Scripts/extract-tbds-from-internal-sdk
R
WebKitLibraries/SDKs/xros26.0-additions.sdk/System/Library/PrivateFrameworks/LinearMediaKit.framework/LinearMediaKit.tbd
R
WebKitLibraries/SDKs/xrsimulator26.0-additions.sdk/System/Library/PrivateFrameworks/LinearMediaKit.framework/LinearMediaKit.tbd
Log Message:
-----------
[Xcode] extract-tbds-from-internal-sdk should ignore libraries which are
reexported from public frameworks
https://bugs.webkit.org/show_bug.cgi?id=301291
rdar://163206764
Reviewed by Jonathan Bedard.
TBDs may contain multiple libraries. By convention, some public SDK
frameworks reexport private frameworks, and merge their library stubs
into one big public TBD. extract-tbds-from-internal-sdk should detect
this and avoid extracting or copying from the private framework stubs in
question.
Have the script read all TBDs in the public SDK, build up a set of all
known libraries in the public SDK (which will included reexported
private libraries), and use it to decide whether to copy and thin a
candiate TBD.
Also, make the base SDK lookup logic aware of the SDK platform dir,
which contains libraries that are used for development but not installed
on the target (such as XCTest). This prevents the script from copying
XCTest and Testing.framework when it discovers test bundles.
As a drive-by improvement, truncate the command logging so that (very
long) shell commands do not spew onto stdout. Passing --verbose shows
the entire command.
* Tools/Scripts/extract-tbds-from-internal-sdk:
*
WebKitLibraries/SDKs/iphoneos26.0-additions.sdk/System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation.tbd:
Removed.
*
WebKitLibraries/SDKs/iphonesimulator26.0-additions.sdk/System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation.tbd:
Removed.
*
WebKitLibraries/SDKs/xros26.0-additions.sdk/System/Library/PrivateFrameworks/LinearMediaKit.framework/LinearMediaKit.tbd:
Removed.
*
WebKitLibraries/SDKs/xros26.0-additions.sdk/System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation.tbd:
Removed.
*
WebKitLibraries/SDKs/xrsimulator26.0-additions.sdk/System/Library/PrivateFrameworks/LinearMediaKit.framework/LinearMediaKit.tbd:
Removed.
*
WebKitLibraries/SDKs/xrsimulator26.0-additions.sdk/System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation.tbd:
Removed.
Canonical link: https://commits.webkit.org/302197@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications