RESOLVED FIXED309837
REGRESSION(303293@main): Broke watchOS debug build ('UIContextMenuInteractionDelegate' is unavailable)
https://bugs.webkit.org/show_bug.cgi?id=309837
Summary REGRESSION(303293@main): Broke watchOS debug build ('UIContextMenuInteraction...
Abrar Rahman Protyasha
Reported 2026-03-12 15:26:36 PDT
This is the error dump: ``` /Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:66:48: error: 'UIContextMenuInteractionDelegate' is unavailable: not available on watchOS 66 | @interface TestContextMenuDelegate : NSObject <UIContextMenuInteractionDelegate> In file included from /Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:26: In file included from /Tools/TestWebKitAPI/config.h:72: In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WebKit.h:41: In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKFrameInfo.h:30: In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKWebView.h:29: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h:29: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:635: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibility.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibilityAdditions.h:11: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIScrollView.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIRefreshControl.h:9: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIControl.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIContextMenuInteraction.h:98:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here 98 | @protocol UIContextMenuInteractionDelegate <NSObject> /Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:70:4: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS 70 | - (UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location { In file included from /Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:26: In file included from /Tools/TestWebKitAPI/config.h:72: In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WebKit.h:41: In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKFrameInfo.h:30: In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKWebView.h:29: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h:29: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:635: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibility.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibilityAdditions.h:11: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIScrollView.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIRefreshControl.h:9: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIControl.h:11: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIContextMenuInteraction.h:12: /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIContextMenuConfiguration.h:38:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here 38 | @interface UIContextMenuConfiguration : NSObject /Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:70:57: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS 70 | - (UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location { In file included from /Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:26: In file included from /Tools/TestWebKitAPI/config.h:72: In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WebKit.h:41: In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKFrameInfo.h:30: In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKWebView.h:29: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h:29: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:635: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibility.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibilityAdditions.h:11: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIScrollView.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIRefreshControl.h:9: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIControl.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIContextMenuInteraction.h:31:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here 31 | @interface UIContextMenuInteraction : NSObject <UIInteraction> 3 errors generated. ```
Attachments
Radar WebKit Bug Importer
Comment 1 2026-03-12 15:26:41 PDT
Abrar Rahman Protyasha
Comment 2 2026-03-12 15:35:47 PDT
EWS
Comment 3 2026-03-13 00:05:21 PDT
Committed 309185@main (e03b1b975a22): <https://commits.webkit.org/309185@main> Reviewed commits have been landed. Closing PR #60510 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.