Build Information
Failed to build BetterMenus, reference main (f7d479), with Swift 6.2 for watchOS using Xcode 26.0 on 20 Sep 2025 16:21:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme BetterMenus -destination generic/platform=watchOSBuild Log
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:711:21: error: 'UIMenu' is unavailable in watchOS
var identifier: UIMenu.Identifier? = nil
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:714:44: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let body: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:717:77: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:723:42: error: 'UIMenu' is unavailable in watchOS
public func identifier(_ identifier: UIMenu.Identifier?) -> Self {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:702:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Section: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:752:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:757:48: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let controls: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:760:59: error: 'UIMenu' is unavailable in watchOS
public init(@BUIMenuBuilder controls: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:751:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct ControlGroup: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:774:32: error: 'UIDeferredMenuElement' is unavailable in watchOS
case uiDeferredElement(UIDeferredMenuElement)
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h:16:12: note: 'UIDeferredMenuElement' has been explicitly marked unavailable here
@interface UIDeferredMenuElement : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:881:33: error: 'UIDeferredMenuElement' is unavailable in watchOS
public var uiKitEquivalent: UIDeferredMenuElement {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h:16:12: note: 'UIDeferredMenuElement' has been explicitly marked unavailable here
@interface UIDeferredMenuElement : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:949:66: error: 'UIMenuElement' is unavailable in watchOS
public static func cleanCache(where condition: (AnyHashable, UIMenuElement) -> Bool) {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:976:50: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let body: (Result) -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:985:105: error: 'UIMenu' is unavailable in watchOS
public init(_ asyncFetch: @escaping () async -> Result, @BUIMenuBuilder body: @escaping (Result) -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:880:15: warning: unavailable class 'UIDeferredMenuElement' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Async<Result>: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h:16:12: note: 'UIDeferredMenuElement' declared here
@interface UIDeferredMenuElement : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1045:33: error: 'UIMenu' is unavailable in watchOS
public var currentMenu: UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1047:37: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public var previewProvider: UIContextMenuContentPreviewProvider?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1049:34: error: 'UIMenu' is unavailable in watchOS
public init(currentMenu: UIMenu, previewProvider: UIContextMenuContentPreviewProvider?) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1049:59: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public init(currentMenu: UIMenu, previewProvider: UIContextMenuContentPreviewProvider?) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1054:59: error: 'UIContextMenuInteraction' is unavailable in watchOS
public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration? {
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
@interface UIContextMenuInteraction : NSObject <UIInteraction>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1054:138: error: 'UIContextMenuConfiguration' is unavailable in watchOS
public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration? {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
@interface UIContextMenuConfiguration : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1065:28: error: 'UIMenu' is unavailable in watchOS
public let body: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1068:33: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public var previewProvider: UIContextMenuContentPreviewProvider? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1075:30: error: 'UIMenu' is unavailable in watchOS
private var currentMenu: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1093:55: error: 'UIMenu' is unavailable in watchOS
public func reloadMenu(withIdentifier identifier: UIMenu.Identifier? = nil) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1149:55: error: 'UIMenu' is unavailable in watchOS
public init(@BUIMenuBuilder body: @escaping () -> UIMenu, previewProvider: UIContextMenuContentPreviewProvider? = nil, delegate: BetterUIContextMenuInteractionDelegate? = nil) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1149:80: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public init(@BUIMenuBuilder body: @escaping () -> UIMenu, previewProvider: UIContextMenuContentPreviewProvider? = nil, delegate: BetterUIContextMenuInteractionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1042:44: error: 'UIContextMenuInteraction' is unavailable in watchOS
public class BetterContextMenuInteraction: UIContextMenuInteraction {
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
@interface UIContextMenuInteraction : NSObject <UIInteraction>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1174:22: error: 'UIMenu' is unavailable in watchOS
var currentMenu: UIMenu { get set }
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1176:26: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
var previewProvider: UIContextMenuContentPreviewProvider? { get set }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1178:48: error: 'UIContextMenuInteraction' is unavailable in watchOS
func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration?
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
@interface UIContextMenuInteraction : NSObject <UIInteraction>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1178:127: error: 'UIContextMenuConfiguration' is unavailable in watchOS
func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration?
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
@interface UIContextMenuConfiguration : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1173:57: error: 'UIContextMenuInteractionDelegate' is unavailable in watchOS
public protocol BetterUIContextMenuInteractionDelegate: UIContextMenuInteractionDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
@protocol UIContextMenuInteractionDelegate <NSObject>
^
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift -target arm64-apple-watchos9.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BetterMenus -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name watchos26.0 -clang-target arm64-apple-watchos26.0 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus.abi.json
SwiftCompile normal arm64 Compiling\ BetterMenus.swift /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ BetterMenus (in target 'BetterMenus' from project 'BetterMenus')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ BetterMenus.swift /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
SwiftEmitModule normal arm64 Emitting\ module\ for\ BetterMenus (in target 'BetterMenus' from project 'BetterMenus')
Building workspace spi-builder-workspace with scheme BetterMenus
(3 failures)
Command line invocation:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
swift-collections: https://github.com/apple/swift-collections.git @ 1.2.1
BetterMenus: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-collections, BetterMenus
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "1.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "BetterMenus",
"name" : "BetterMenus",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "BetterMenus",
"targets" : [
"BetterMenus"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BetterMenus",
"module_type" : "SwiftTarget",
"name" : "BetterMenus",
"path" : "Sources/BetterMenus",
"product_dependencies" : [
"OrderedCollections"
],
"product_memberships" : [
"BetterMenus"
],
"sources" : [
"BetterMenus.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"BetterMenus"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme BetterMenus -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme BetterMenus -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
swift-collections: https://github.com/apple/swift-collections.git @ 1.2.1
BetterMenus: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
Target 'BetterMenus' in project 'BetterMenus'
➜ Explicit dependency on target 'BetterMenus' in project 'BetterMenus'
➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
Target 'BetterMenus' in project 'BetterMenus'
➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
Target 'OrderedCollections' in project 'swift-collections'
➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
Target 'OrderedCollections' in project 'swift-collections'
➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
Target 'InternalCollectionsUtilities' in project 'swift-collections' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache
SwiftDriver BetterMenus normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'BetterMenus' from project 'BetterMenus')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name BetterMenus -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver BetterMenus normal arm64 com.apple.xcode.tools.swift.compiler (in target 'BetterMenus' from project 'BetterMenus')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name BetterMenus -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ BetterMenus (in target 'BetterMenus' from project 'BetterMenus')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:29:74: error: 'UIMenu' is unavailable in watchOS
public static func buildArray(_ components: [MenuBuilderElement]) -> UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:29:50: warning: use of protocol 'MenuBuilderElement' as a type must be written 'any MenuBuilderElement'; this will be an error in a future Swift language mode
public static func buildArray(_ components: [MenuBuilderElement]) -> UIMenu {
^~~~~~~~~~~~~~~~~~
any MenuBuilderElement
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:57:79: error: 'UIMenu' is unavailable in watchOS
public static func buildBlock(_ components: any MenuBuilderElement...) -> UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:69:81: error: 'UIMenu' is unavailable in watchOS
public static func buildFinalResult(_ component: any MenuBuilderElement) -> UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:91:25: error: 'UIMenu' is unavailable in watchOS
var identifier: UIMenu.Identifier?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:94:22: error: 'UIMenu' is unavailable in watchOS
var options: UIMenu.Options
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:97:35: error: 'UIMenu' is unavailable in watchOS
var preferredElementSize: UIMenu.ElementSize
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:100:24: error: 'UIMenuElement' is unavailable in watchOS
var children: [UIMenuElement]
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:106:94: error: 'UIMenu' is unavailable in watchOS
init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), children: [UIMenuElement] = []) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:106:129: error: 'UIMenu' is unavailable in watchOS
init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), children: [UIMenuElement] = []) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:106:172: error: 'UIMenu' is unavailable in watchOS
init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), children: [UIMenuElement] = []) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:106:294: error: 'UIMenuElement' is unavailable in watchOS
init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), children: [UIMenuElement] = []) {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:106:250: error: 'automatic' is unavailable in watchOS
init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), children: [UIMenuElement] = []) {
^~~~~~~~~
UIKit.UIMenu.ElementSize.automatic:4:10: note: 'automatic' has been explicitly marked unavailable here
case automatic }
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:119:28: error: 'UIMenu' is unavailable in watchOS
func makeMenu() -> UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:136:57: error: 'UIMenu' is unavailable in watchOS
public func findChildren(withIdentifier identifier: UIMenu.Identifier) -> UIMenu? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:136:79: error: 'UIMenu' is unavailable in watchOS
public func findChildren(withIdentifier identifier: UIMenu.Identifier) -> UIMenu? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:128:11: error: 'UIMenu' is unavailable in watchOS
extension UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:37: error: 'UIMenuElement' is unavailable in watchOS
associatedtype MenuElementType: UIMenuElement
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:166:33: error: 'UIMenuElement' is unavailable in watchOS
public var uiKitEquivalent: UIMenuElement { self }
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:165:1: warning: unavailable class 'UIMenuElement' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
extension UIMenuElement: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' declared here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:165:11: error: 'UIMenuElement' is unavailable in watchOS
extension UIMenuElement: MenuBuilderElement {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:170:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:169:1: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
extension Array: MenuBuilderElement where Element: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:181:11: error: 'UIMenuElement' is unavailable in watchOS
extension UIMenuElement.State: UIActionBackedMenuBuilderElementState {}
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:188:21: error: 'UIAction' is unavailable in watchOS
var identifier: UIAction.Identifier? { get set }
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:194:16: error: 'UIMenuElement' is unavailable in watchOS
var style: UIMenuElement.Attributes { get set }
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:200:35: error: 'UIAction' is unavailable in watchOS
func identifier(_ identifier: UIAction.Identifier?) -> Self
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:206:25: error: 'UIMenuElement' is unavailable in watchOS
func style(_ style: UIMenuElement.Attributes) -> Self
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:184:93: error: 'UIAction' is unavailable in watchOS
public protocol UIActionBackedMenuBuilderElement: MenuBuilderElement where MenuElementType: UIAction {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:213:35: error: 'UIAction' is unavailable in watchOS
func identifier(_ identifier: UIAction.Identifier?) -> Self {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:225:25: error: 'UIMenuElement' is unavailable in watchOS
func style(_ style: UIMenuElement.Attributes) -> Self {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:286:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu { UIMenu(title: "", image: .init(systemName: "cube"), options: .displayInline) } // arbitrary image otherwise it won't show the divider
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:285:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Divider: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:304:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:318:28: error: 'UIMenu' is unavailable in watchOS
public var identifier: UIMenu.Identifier? = nil
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:321:25: error: 'UIMenu' is unavailable in watchOS
public var options: UIMenu.Options = []
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:324:38: error: 'UIMenu' is unavailable in watchOS
public var preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:324:116: error: 'automatic' is unavailable in watchOS
public var preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }()
^~~~~~~~~
UIKit.UIMenu.ElementSize.automatic:4:10: note: 'automatic' has been explicitly marked unavailable here
case automatic }
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:327:44: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let body: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:340:99: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:340:134: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:340:177: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:340:326: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:340:255: error: 'automatic' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~~~~
UIKit.UIMenu.ElementSize.automatic:4:10: note: 'automatic' has been explicitly marked unavailable here
case automatic }
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:357:125: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:364:42: error: 'UIMenu' is unavailable in watchOS
public func identifier(_ identifier: UIMenu.Identifier?) -> Self {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:376:36: error: 'UIMenu' is unavailable in watchOS
public func options(_ options: UIMenu.Options?) -> Self {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:382:62: error: 'UIMenu' is unavailable in watchOS
public func preferredElementSize(_ preferredElementSize: UIMenu.ElementSize) -> Self {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:303:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Menu: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:401:33: error: 'UIAction' is unavailable in watchOS
public var uiKitEquivalent: UIAction {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:412:28: error: 'UIAction' is unavailable in watchOS
public var identifier: UIAction.Identifier? = nil
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:418:23: error: 'UIMenuElement' is unavailable in watchOS
public var style: UIMenuElement.Attributes = []
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:421:23: error: 'UIMenuElement' is unavailable in watchOS
public var state: UIMenuElement.State = .off
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:424:26: error: 'UIAction' is unavailable in watchOS
public let handler: (UIAction) -> Void
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:427:84: error: 'UIAction' is unavailable in watchOS
public init(_ title: String = "", image: UIImage? = nil, _ handler: @escaping (UIAction) -> Void) {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:400:15: warning: unavailable enum 'State' was used to satisfy a requirement of protocol 'UIActionBackedMenuBuilderElement'; this will be an error in a future Swift language mode
public struct Button: UIActionBackedMenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:14:28: note: 'State' declared here
typedef NS_ENUM(NSInteger, UIMenuElementState) {
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:185:20: note: requirement 'StateType' declared here
associatedtype StateType: UIActionBackedMenuBuilderElementState
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:400:15: warning: unavailable class 'UIAction' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Button: UIActionBackedMenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' declared here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:452:33: error: 'UIAction' is unavailable in watchOS
public var uiKitEquivalent: UIAction {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:465:28: error: 'UIAction' is unavailable in watchOS
public var identifier: UIAction.Identifier? = nil
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:471:23: error: 'UIMenuElement' is unavailable in watchOS
public var style: UIMenuElement.Attributes = []
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:477:26: error: 'UIAction' is unavailable in watchOS
public let handler: (UIAction, _ newValue: Bool) -> Void
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:480:111: error: 'UIAction' is unavailable in watchOS
public init(_ title: String = "", image: UIImage? = nil, state: ToggleState = .off, _ handler: @escaping (UIAction, _ newValue: Bool) -> Void) {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:492:40: error: 'UIMenuElement' is unavailable in watchOS
public var uiMenuElementState: UIMenuElement.State {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:510:60: error: 'UIMenuElement' is unavailable in watchOS
public static func fromUIMenuElementState(_ state: UIMenuElement.State) -> Self? {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:450:15: warning: unavailable class 'UIAction' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Toggle: UIActionBackedMenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' declared here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:540:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:553:45: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let body: (T) -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:556:73: error: 'UIMenu' is unavailable in watchOS
public init(_ elements: [T], @BUIMenuBuilder body: @escaping (T) -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:539:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct ForEach<T>: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:574:33: error: 'UIAction' is unavailable in watchOS
public var uiKitEquivalent: UIAction {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:585:28: error: 'UIAction' is unavailable in watchOS
public var identifier: UIAction.Identifier? = nil
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:591:23: error: 'UIMenuElement' is unavailable in watchOS
public var style: UIMenuElement.Attributes = [.keepsMenuPresented]
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:591:52: error: 'keepsMenuPresented' is unavailable in watchOS
public var style: UIMenuElement.Attributes = [.keepsMenuPresented]
^~~~~~~~~~~~~~~~~~
UIKit.UIMenuElement.Attributes.keepsMenuPresented:4:23: note: 'keepsMenuPresented' has been explicitly marked unavailable here
public static var keepsMenuPresented: UIMenuElement.Attributes { get } }
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:594:23: error: 'UIMenuElement' is unavailable in watchOS
public var state: UIMenuElement.State = .off
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:573:15: warning: unavailable enum 'State' was used to satisfy a requirement of protocol 'UIActionBackedMenuBuilderElement'; this will be an error in a future Swift language mode
public struct Text: UIActionBackedMenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:14:28: note: 'State' declared here
typedef NS_ENUM(NSInteger, UIMenuElementState) {
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:185:20: note: requirement 'StateType' declared here
associatedtype StateType: UIActionBackedMenuBuilderElementState
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:573:15: warning: unavailable class 'UIAction' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Text: UIActionBackedMenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' declared here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:619:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:618:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Stepper<T>: MenuBuilderElement where T: Strideable {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:703:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:711:21: error: 'UIMenu' is unavailable in watchOS
var identifier: UIMenu.Identifier? = nil
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:714:44: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let body: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:717:77: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:723:42: error: 'UIMenu' is unavailable in watchOS
public func identifier(_ identifier: UIMenu.Identifier?) -> Self {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:702:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Section: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:752:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:757:48: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let controls: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:760:59: error: 'UIMenu' is unavailable in watchOS
public init(@BUIMenuBuilder controls: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:751:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct ControlGroup: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:774:32: error: 'UIDeferredMenuElement' is unavailable in watchOS
case uiDeferredElement(UIDeferredMenuElement)
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h:16:12: note: 'UIDeferredMenuElement' has been explicitly marked unavailable here
@interface UIDeferredMenuElement : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:881:33: error: 'UIDeferredMenuElement' is unavailable in watchOS
public var uiKitEquivalent: UIDeferredMenuElement {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h:16:12: note: 'UIDeferredMenuElement' has been explicitly marked unavailable here
@interface UIDeferredMenuElement : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:949:66: error: 'UIMenuElement' is unavailable in watchOS
public static func cleanCache(where condition: (AnyHashable, UIMenuElement) -> Bool) {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:976:50: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let body: (Result) -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:985:105: error: 'UIMenu' is unavailable in watchOS
public init(_ asyncFetch: @escaping () async -> Result, @BUIMenuBuilder body: @escaping (Result) -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:880:15: warning: unavailable class 'UIDeferredMenuElement' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Async<Result>: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h:16:12: note: 'UIDeferredMenuElement' declared here
@interface UIDeferredMenuElement : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1045:33: error: 'UIMenu' is unavailable in watchOS
public var currentMenu: UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1047:37: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public var previewProvider: UIContextMenuContentPreviewProvider?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1049:34: error: 'UIMenu' is unavailable in watchOS
public init(currentMenu: UIMenu, previewProvider: UIContextMenuContentPreviewProvider?) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1049:59: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public init(currentMenu: UIMenu, previewProvider: UIContextMenuContentPreviewProvider?) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1054:59: error: 'UIContextMenuInteraction' is unavailable in watchOS
public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration? {
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
@interface UIContextMenuInteraction : NSObject <UIInteraction>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1054:138: error: 'UIContextMenuConfiguration' is unavailable in watchOS
public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration? {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
@interface UIContextMenuConfiguration : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1065:28: error: 'UIMenu' is unavailable in watchOS
public let body: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1068:33: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public var previewProvider: UIContextMenuContentPreviewProvider? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1075:30: error: 'UIMenu' is unavailable in watchOS
private var currentMenu: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1093:55: error: 'UIMenu' is unavailable in watchOS
public func reloadMenu(withIdentifier identifier: UIMenu.Identifier? = nil) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1149:55: error: 'UIMenu' is unavailable in watchOS
public init(@BUIMenuBuilder body: @escaping () -> UIMenu, previewProvider: UIContextMenuContentPreviewProvider? = nil, delegate: BetterUIContextMenuInteractionDelegate? = nil) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1149:80: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public init(@BUIMenuBuilder body: @escaping () -> UIMenu, previewProvider: UIContextMenuContentPreviewProvider? = nil, delegate: BetterUIContextMenuInteractionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1042:44: error: 'UIContextMenuInteraction' is unavailable in watchOS
public class BetterContextMenuInteraction: UIContextMenuInteraction {
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
@interface UIContextMenuInteraction : NSObject <UIInteraction>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1174:22: error: 'UIMenu' is unavailable in watchOS
var currentMenu: UIMenu { get set }
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1176:26: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
var previewProvider: UIContextMenuContentPreviewProvider? { get set }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1178:48: error: 'UIContextMenuInteraction' is unavailable in watchOS
func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration?
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
@interface UIContextMenuInteraction : NSObject <UIInteraction>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1178:127: error: 'UIContextMenuConfiguration' is unavailable in watchOS
func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration?
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
@interface UIContextMenuConfiguration : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1173:57: error: 'UIContextMenuInteractionDelegate' is unavailable in watchOS
public protocol BetterUIContextMenuInteractionDelegate: UIContextMenuInteractionDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
@protocol UIContextMenuInteractionDelegate <NSObject>
^
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift -target arm64_32-apple-watchos9.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BetterMenus -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name watchos26.0 -clang-target arm64_32-apple-watchos26.0 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64_32/BetterMenus.abi.json
SwiftCompile normal arm64_32 Compiling\ BetterMenus.swift /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ BetterMenus.swift /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ BetterMenus (in target 'BetterMenus' from project 'BetterMenus')
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift -target arm64-apple-watchos9.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BetterMenus -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name watchos26.0 -clang-target arm64-apple-watchos26.0 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BetterMenus.build/Debug-watchos/BetterMenus.build/Objects-normal/arm64/BetterMenus.abi.json
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:29:74: error: 'UIMenu' is unavailable in watchOS
public static func buildArray(_ components: [MenuBuilderElement]) -> UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:29:50: warning: use of protocol 'MenuBuilderElement' as a type must be written 'any MenuBuilderElement'; this will be an error in a future Swift language mode
public static func buildArray(_ components: [MenuBuilderElement]) -> UIMenu {
^~~~~~~~~~~~~~~~~~
any MenuBuilderElement
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:57:79: error: 'UIMenu' is unavailable in watchOS
public static func buildBlock(_ components: any MenuBuilderElement...) -> UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:69:81: error: 'UIMenu' is unavailable in watchOS
public static func buildFinalResult(_ component: any MenuBuilderElement) -> UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:91:25: error: 'UIMenu' is unavailable in watchOS
var identifier: UIMenu.Identifier?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:94:22: error: 'UIMenu' is unavailable in watchOS
var options: UIMenu.Options
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:97:35: error: 'UIMenu' is unavailable in watchOS
var preferredElementSize: UIMenu.ElementSize
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:100:24: error: 'UIMenuElement' is unavailable in watchOS
var children: [UIMenuElement]
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:106:94: error: 'UIMenu' is unavailable in watchOS
init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), children: [UIMenuElement] = []) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:106:129: error: 'UIMenu' is unavailable in watchOS
init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), children: [UIMenuElement] = []) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:106:172: error: 'UIMenu' is unavailable in watchOS
init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), children: [UIMenuElement] = []) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:106:294: error: 'UIMenuElement' is unavailable in watchOS
init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), children: [UIMenuElement] = []) {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:106:250: error: 'automatic' is unavailable in watchOS
init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), children: [UIMenuElement] = []) {
^~~~~~~~~
UIKit.UIMenu.ElementSize.automatic:4:10: note: 'automatic' has been explicitly marked unavailable here
case automatic }
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:119:28: error: 'UIMenu' is unavailable in watchOS
func makeMenu() -> UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:136:57: error: 'UIMenu' is unavailable in watchOS
public func findChildren(withIdentifier identifier: UIMenu.Identifier) -> UIMenu? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:136:79: error: 'UIMenu' is unavailable in watchOS
public func findChildren(withIdentifier identifier: UIMenu.Identifier) -> UIMenu? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:128:11: error: 'UIMenu' is unavailable in watchOS
extension UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:37: error: 'UIMenuElement' is unavailable in watchOS
associatedtype MenuElementType: UIMenuElement
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:166:33: error: 'UIMenuElement' is unavailable in watchOS
public var uiKitEquivalent: UIMenuElement { self }
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:165:1: warning: unavailable class 'UIMenuElement' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
extension UIMenuElement: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' declared here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:165:11: error: 'UIMenuElement' is unavailable in watchOS
extension UIMenuElement: MenuBuilderElement {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:170:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:169:1: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
extension Array: MenuBuilderElement where Element: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:181:11: error: 'UIMenuElement' is unavailable in watchOS
extension UIMenuElement.State: UIActionBackedMenuBuilderElementState {}
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:188:21: error: 'UIAction' is unavailable in watchOS
var identifier: UIAction.Identifier? { get set }
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:194:16: error: 'UIMenuElement' is unavailable in watchOS
var style: UIMenuElement.Attributes { get set }
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:200:35: error: 'UIAction' is unavailable in watchOS
func identifier(_ identifier: UIAction.Identifier?) -> Self
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:206:25: error: 'UIMenuElement' is unavailable in watchOS
func style(_ style: UIMenuElement.Attributes) -> Self
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:184:93: error: 'UIAction' is unavailable in watchOS
public protocol UIActionBackedMenuBuilderElement: MenuBuilderElement where MenuElementType: UIAction {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:213:35: error: 'UIAction' is unavailable in watchOS
func identifier(_ identifier: UIAction.Identifier?) -> Self {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:225:25: error: 'UIMenuElement' is unavailable in watchOS
func style(_ style: UIMenuElement.Attributes) -> Self {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:286:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu { UIMenu(title: "", image: .init(systemName: "cube"), options: .displayInline) } // arbitrary image otherwise it won't show the divider
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:285:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Divider: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:304:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:318:28: error: 'UIMenu' is unavailable in watchOS
public var identifier: UIMenu.Identifier? = nil
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:321:25: error: 'UIMenu' is unavailable in watchOS
public var options: UIMenu.Options = []
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:324:38: error: 'UIMenu' is unavailable in watchOS
public var preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:324:116: error: 'automatic' is unavailable in watchOS
public var preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }()
^~~~~~~~~
UIKit.UIMenu.ElementSize.automatic:4:10: note: 'automatic' has been explicitly marked unavailable here
case automatic }
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:327:44: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let body: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:340:99: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:340:134: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:340:177: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:340:326: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:340:255: error: 'automatic' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, identifier: UIMenu.Identifier? = nil, options: UIMenu.Options = [], preferredElementSize: UIMenu.ElementSize = { if #available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) { .automatic } else { .large } }(), @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~~~~
UIKit.UIMenu.ElementSize.automatic:4:10: note: 'automatic' has been explicitly marked unavailable here
case automatic }
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:357:125: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", subtitle: String? = nil, image: UIImage? = nil, @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:364:42: error: 'UIMenu' is unavailable in watchOS
public func identifier(_ identifier: UIMenu.Identifier?) -> Self {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:376:36: error: 'UIMenu' is unavailable in watchOS
public func options(_ options: UIMenu.Options?) -> Self {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:382:62: error: 'UIMenu' is unavailable in watchOS
public func preferredElementSize(_ preferredElementSize: UIMenu.ElementSize) -> Self {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:303:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Menu: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:401:33: error: 'UIAction' is unavailable in watchOS
public var uiKitEquivalent: UIAction {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:412:28: error: 'UIAction' is unavailable in watchOS
public var identifier: UIAction.Identifier? = nil
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:418:23: error: 'UIMenuElement' is unavailable in watchOS
public var style: UIMenuElement.Attributes = []
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:421:23: error: 'UIMenuElement' is unavailable in watchOS
public var state: UIMenuElement.State = .off
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:424:26: error: 'UIAction' is unavailable in watchOS
public let handler: (UIAction) -> Void
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:427:84: error: 'UIAction' is unavailable in watchOS
public init(_ title: String = "", image: UIImage? = nil, _ handler: @escaping (UIAction) -> Void) {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:400:15: warning: unavailable enum 'State' was used to satisfy a requirement of protocol 'UIActionBackedMenuBuilderElement'; this will be an error in a future Swift language mode
public struct Button: UIActionBackedMenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:14:28: note: 'State' declared here
typedef NS_ENUM(NSInteger, UIMenuElementState) {
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:185:20: note: requirement 'StateType' declared here
associatedtype StateType: UIActionBackedMenuBuilderElementState
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:400:15: warning: unavailable class 'UIAction' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Button: UIActionBackedMenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' declared here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:452:33: error: 'UIAction' is unavailable in watchOS
public var uiKitEquivalent: UIAction {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:465:28: error: 'UIAction' is unavailable in watchOS
public var identifier: UIAction.Identifier? = nil
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:471:23: error: 'UIMenuElement' is unavailable in watchOS
public var style: UIMenuElement.Attributes = []
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:477:26: error: 'UIAction' is unavailable in watchOS
public let handler: (UIAction, _ newValue: Bool) -> Void
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:480:111: error: 'UIAction' is unavailable in watchOS
public init(_ title: String = "", image: UIImage? = nil, state: ToggleState = .off, _ handler: @escaping (UIAction, _ newValue: Bool) -> Void) {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:492:40: error: 'UIMenuElement' is unavailable in watchOS
public var uiMenuElementState: UIMenuElement.State {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:510:60: error: 'UIMenuElement' is unavailable in watchOS
public static func fromUIMenuElementState(_ state: UIMenuElement.State) -> Self? {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:450:15: warning: unavailable class 'UIAction' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Toggle: UIActionBackedMenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' declared here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:540:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:553:45: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let body: (T) -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:556:73: error: 'UIMenu' is unavailable in watchOS
public init(_ elements: [T], @BUIMenuBuilder body: @escaping (T) -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:539:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct ForEach<T>: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:574:33: error: 'UIAction' is unavailable in watchOS
public var uiKitEquivalent: UIAction {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:585:28: error: 'UIAction' is unavailable in watchOS
public var identifier: UIAction.Identifier? = nil
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:591:23: error: 'UIMenuElement' is unavailable in watchOS
public var style: UIMenuElement.Attributes = [.keepsMenuPresented]
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:591:52: error: 'keepsMenuPresented' is unavailable in watchOS
public var style: UIMenuElement.Attributes = [.keepsMenuPresented]
^~~~~~~~~~~~~~~~~~
UIKit.UIMenuElement.Attributes.keepsMenuPresented:4:23: note: 'keepsMenuPresented' has been explicitly marked unavailable here
public static var keepsMenuPresented: UIMenuElement.Attributes { get } }
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:594:23: error: 'UIMenuElement' is unavailable in watchOS
public var state: UIMenuElement.State = .off
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:573:15: warning: unavailable enum 'State' was used to satisfy a requirement of protocol 'UIActionBackedMenuBuilderElement'; this will be an error in a future Swift language mode
public struct Text: UIActionBackedMenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:14:28: note: 'State' declared here
typedef NS_ENUM(NSInteger, UIMenuElementState) {
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:185:20: note: requirement 'StateType' declared here
associatedtype StateType: UIActionBackedMenuBuilderElementState
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:573:15: warning: unavailable class 'UIAction' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Text: UIActionBackedMenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' declared here
@interface UIAction : UIMenuElement <UIMenuLeaf>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:619:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:618:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Stepper<T>: MenuBuilderElement where T: Strideable {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:703:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:711:21: error: 'UIMenu' is unavailable in watchOS
var identifier: UIMenu.Identifier? = nil
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:714:44: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let body: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:717:77: error: 'UIMenu' is unavailable in watchOS
public init(_ title: String = "", @BUIMenuBuilder body: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:723:42: error: 'UIMenu' is unavailable in watchOS
public func identifier(_ identifier: UIMenu.Identifier?) -> Self {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:702:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Section: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:752:33: error: 'UIMenu' is unavailable in watchOS
public var uiKitEquivalent: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:757:48: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let controls: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:760:59: error: 'UIMenu' is unavailable in watchOS
public init(@BUIMenuBuilder controls: @escaping () -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:751:15: warning: unavailable class 'UIMenu' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct ControlGroup: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' declared here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:774:32: error: 'UIDeferredMenuElement' is unavailable in watchOS
case uiDeferredElement(UIDeferredMenuElement)
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h:16:12: note: 'UIDeferredMenuElement' has been explicitly marked unavailable here
@interface UIDeferredMenuElement : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:881:33: error: 'UIDeferredMenuElement' is unavailable in watchOS
public var uiKitEquivalent: UIDeferredMenuElement {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h:16:12: note: 'UIDeferredMenuElement' has been explicitly marked unavailable here
@interface UIDeferredMenuElement : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:949:66: error: 'UIMenuElement' is unavailable in watchOS
public static func cleanCache(where condition: (AnyHashable, UIMenuElement) -> Bool) {
^~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
@interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:976:50: error: 'UIMenu' is unavailable in watchOS
@BUIMenuBuilder public let body: (Result) -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:985:105: error: 'UIMenu' is unavailable in watchOS
public init(_ asyncFetch: @escaping () async -> Result, @BUIMenuBuilder body: @escaping (Result) -> UIMenu) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:880:15: warning: unavailable class 'UIDeferredMenuElement' was used to satisfy a requirement of protocol 'MenuBuilderElement'; this will be an error in a future Swift language mode
public struct Async<Result>: MenuBuilderElement {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h:16:12: note: 'UIDeferredMenuElement' declared here
@interface UIDeferredMenuElement : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:155:20: note: requirement 'MenuElementType' declared here
associatedtype MenuElementType: UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1045:33: error: 'UIMenu' is unavailable in watchOS
public var currentMenu: UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1047:37: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public var previewProvider: UIContextMenuContentPreviewProvider?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1049:34: error: 'UIMenu' is unavailable in watchOS
public init(currentMenu: UIMenu, previewProvider: UIContextMenuContentPreviewProvider?) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1049:59: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public init(currentMenu: UIMenu, previewProvider: UIContextMenuContentPreviewProvider?) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1054:59: error: 'UIContextMenuInteraction' is unavailable in watchOS
public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration? {
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
@interface UIContextMenuInteraction : NSObject <UIInteraction>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1054:138: error: 'UIContextMenuConfiguration' is unavailable in watchOS
public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration? {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
@interface UIContextMenuConfiguration : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1065:28: error: 'UIMenu' is unavailable in watchOS
public let body: () -> UIMenu
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1068:33: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public var previewProvider: UIContextMenuContentPreviewProvider? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1075:30: error: 'UIMenu' is unavailable in watchOS
private var currentMenu: UIMenu {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1093:55: error: 'UIMenu' is unavailable in watchOS
public func reloadMenu(withIdentifier identifier: UIMenu.Identifier? = nil) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1149:55: error: 'UIMenu' is unavailable in watchOS
public init(@BUIMenuBuilder body: @escaping () -> UIMenu, previewProvider: UIContextMenuContentPreviewProvider? = nil, delegate: BetterUIContextMenuInteractionDelegate? = nil) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1149:80: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
public init(@BUIMenuBuilder body: @escaping () -> UIMenu, previewProvider: UIContextMenuContentPreviewProvider? = nil, delegate: BetterUIContextMenuInteractionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1042:44: error: 'UIContextMenuInteraction' is unavailable in watchOS
public class BetterContextMenuInteraction: UIContextMenuInteraction {
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
@interface UIContextMenuInteraction : NSObject <UIInteraction>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1174:22: error: 'UIMenu' is unavailable in watchOS
var currentMenu: UIMenu { get set }
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
@interface UIMenu : UIMenuElement
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1176:26: error: 'UIContextMenuContentPreviewProvider' is unavailable in watchOS
var previewProvider: UIContextMenuContentPreviewProvider? { get set }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:35:40: note: 'UIContextMenuContentPreviewProvider' has been explicitly marked unavailable here
typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1178:48: error: 'UIContextMenuInteraction' is unavailable in watchOS
func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration?
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
@interface UIContextMenuInteraction : NSObject <UIInteraction>
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1178:127: error: 'UIContextMenuConfiguration' is unavailable in watchOS
func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration?
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
@interface UIContextMenuConfiguration : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:1173:57: error: 'UIContextMenuInteractionDelegate' is unavailable in watchOS
public protocol BetterUIContextMenuInteractionDelegate: UIContextMenuInteractionDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
@protocol UIContextMenuInteractionDelegate <NSObject>
^
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ BetterMenus (in target 'BetterMenus' from project 'BetterMenus')
SwiftEmitModule normal arm64 Emitting\ module\ for\ BetterMenus (in target 'BetterMenus' from project 'BetterMenus')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift (in target 'BetterMenus' from project 'BetterMenus')
Building workspace spi-builder-workspace with scheme BetterMenus
(5 failures)
BUILD FAILURE 6.2 watchOS