Build Information
Failed to build WWSideMenuViewController, reference 1.5.1 (a381ff), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 19:19:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme WWSideMenuViewController -destination generic/platform=watchOSBuild Log
217 | menuContainerView.translatesAutoresizingMaskIntoConstraints = false
218 |
219 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
220 | menuContainerView.topAnchor.constraint(equalTo: view.topAnchor),
221 | menuContainerView.bottomAnchor.constraint(equalTo: view.bottomAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64_32 Compiling\ WWMenuViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift:22:146: error: 'UIView' is unavailable in watchOS
20 | /// - curve: 動畫型式
21 | /// - Returns: Bool
22 | func backFirstItemViewController(with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .easeInOut) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
23 |
24 | guard let sideMenuViewController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift:40:53: error: 'UIViewController' is unavailable in watchOS
38 | /// - curve: 動畫型式
39 | /// - Returns: Bool
40 | func changeItemViewController(_ viewController: UIViewController, with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .easeInOut) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
41 |
42 | guard let sideMenuViewController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWMenuViewController.swift
SwiftCompile normal arm64_32 Compiling\ WWMenuViewControllerSegue.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWMenuViewControllerSegue.swift
SwiftCompile normal arm64_32 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:15:31: error: 'UIView' is unavailable in watchOS
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
14 | /// - Parameter view: [要設定的View](https://www.appcoda.com.tw/auto-layout-programmatically/)
15 | func _autolayout(on view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | removeFromSuperview()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:11:11: error: 'UIView' is unavailable in watchOS
9 |
10 | // MARK: - UIView
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:49: error: 'UIView' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIView' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:81: error: 'UIViewController' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:128: error: 'UIViewController' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:53:34: error: 'UIViewController' is unavailable in watchOS
51 | /// - Parameter viewController: UIViewController?
52 | /// - Returns: WWSideMenuController?
53 | func parentViewController<T: UIViewController>() -> T? {
| `- error: 'UIViewController' is unavailable in watchOS
54 |
55 | guard let parent = parent else { return nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:32:11: error: 'UIViewController' is unavailable in watchOS
30 |
31 | // MARK: - UIViewController
32 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
33 |
34 | /// [改變ContainerView](https://disp.cc/b/11-9XMd)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension.swift
SwiftCompile normal arm64_32 Compiling\ WWItemViewControllerSegue.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWItemViewControllerSegue.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWItemViewControllerSegue.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWItemViewControllerSegue.swift
SwiftCompile normal arm64_32 Compiling\ WWItemViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWItemViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift:11:34: error: 'UIViewController' is unavailable in watchOS
9 |
10 | // MARK: - 顯示畫面的ViewController
11 | open class WWItemViewController: UIViewController {}
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | // MARK: - 公開的函式
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift:22:130: error: 'UIView' is unavailable in watchOS
20 | /// - curve: 動畫型式
21 | /// - Returns: Bool
22 | func displayMenu(with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .linear) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
23 |
24 | guard let sideMenuController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWSideMenuViewController (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWItemViewControllerSegue.swift:11:39: error: 'UIStoryboardSegue' is unavailable in watchOS
9 |
10 | // MARK: - WWItemViewControllerSegue
11 | open class WWItemViewControllerSegue: UIStoryboardSegue {
| `- error: 'UIStoryboardSegue' is unavailable in watchOS
12 |
13 | override open func perform() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h:17:12: note: 'UIStoryboardSegue' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
17 | @interface UIStoryboardSegue : NSObject
| `- note: 'UIStoryboardSegue' has been explicitly marked unavailable here
18 |
19 | // Convenience constructor for returning a segue that performs a handler block in its -perform method.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift:11:39: error: 'UIStoryboardSegue' is unavailable in watchOS
9 |
10 | // MARK: - WWMenuViewControllerSegue
11 | open class WWMenuViewControllerSegue: UIStoryboardSegue {
| `- error: 'UIStoryboardSegue' is unavailable in watchOS
12 |
13 | override open func perform() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h:17:12: note: 'UIStoryboardSegue' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
17 | @interface UIStoryboardSegue : NSObject
| `- note: 'UIStoryboardSegue' has been explicitly marked unavailable here
18 |
19 | // Convenience constructor for returning a segue that performs a handler block in its -perform method.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:14:46: error: 'UIViewController' is unavailable in watchOS
12 |
13 | public typealias SegueIdentifier = (item: String, menu: String) // 側邊選單的Segue名稱
14 | public typealias ViewController = (item: UIViewController, menu: UIViewController) // 側邊選單的UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:14:70: error: 'UIViewController' is unavailable in watchOS
12 |
13 | public typealias SegueIdentifier = (item: String, menu: String) // 側邊選單的Segue名稱
14 | public typealias ViewController = (item: UIViewController, menu: UIViewController) // 側邊選單的UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:18:105: error: 'UIView' is unavailable in watchOS
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
17 | typealias MenuMovePosition = (from: CGPoint, to: CGPoint) // 側邊選單的移動位置 (從 / 到)
18 | typealias MenuAnimationInformation = (direction: MenuPopupDirection, duration: TimeInterval, curve: UIView.AnimationCurve) // 側邊選單動畫效果的相關資訊
| `- error: 'UIView' is unavailable in watchOS
19 | typealias BaseViewAlpha = (from: CGFloat, to: CGFloat) // 底部View透明度
20 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift:24:96: error: 'UIViewController' is unavailable in watchOS
22 | /// - previousViewController: 上一個ViewController
23 | /// - nextViewController: 下一個ViewController
24 | func sideMenu(_ sideMenuController: WWSideMenuViewController, from previousViewController: UIViewController?, to nextViewController: UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift:24:138: error: 'UIViewController' is unavailable in watchOS
22 | /// - previousViewController: 上一個ViewController
23 | /// - nextViewController: 下一個ViewController
24 | func sideMenu(_ sideMenuController: WWSideMenuViewController, from previousViewController: UIViewController?, to nextViewController: UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:15:31: error: 'UIView' is unavailable in watchOS
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
14 | /// - Parameter view: [要設定的View](https://www.appcoda.com.tw/auto-layout-programmatically/)
15 | func _autolayout(on view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | removeFromSuperview()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:11:11: error: 'UIView' is unavailable in watchOS
9 |
10 | // MARK: - UIView
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:49: error: 'UIView' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIView' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:81: error: 'UIViewController' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:128: error: 'UIViewController' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:53:34: error: 'UIViewController' is unavailable in watchOS
51 | /// - Parameter viewController: UIViewController?
52 | /// - Returns: WWSideMenuController?
53 | func parentViewController<T: UIViewController>() -> T? {
| `- error: 'UIViewController' is unavailable in watchOS
54 |
55 | guard let parent = parent else { return nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:32:11: error: 'UIViewController' is unavailable in watchOS
30 |
31 | // MARK: - UIViewController
32 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
33 |
34 | /// [改變ContainerView](https://disp.cc/b/11-9XMd)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift:11:34: error: 'UIViewController' is unavailable in watchOS
9 |
10 | // MARK: - 顯示畫面的ViewController
11 | open class WWItemViewController: UIViewController {}
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | // MARK: - 公開的函式
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift:22:130: error: 'UIView' is unavailable in watchOS
20 | /// - curve: 動畫型式
21 | /// - Returns: Bool
22 | func displayMenu(with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .linear) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
23 |
24 | guard let sideMenuController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift:36:130: error: 'UIView' is unavailable in watchOS
34 | /// - curve: 動畫型式
35 | /// - Returns: Bool
36 | func dismissMenu(with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .linear) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
37 |
38 | guard let sideMenuController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift:22:146: error: 'UIView' is unavailable in watchOS
20 | /// - curve: 動畫型式
21 | /// - Returns: Bool
22 | func backFirstItemViewController(with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .easeInOut) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
23 |
24 | guard let sideMenuViewController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift:40:53: error: 'UIViewController' is unavailable in watchOS
38 | /// - curve: 動畫型式
39 | /// - Returns: Bool
40 | func changeItemViewController(_ viewController: UIViewController, with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .easeInOut) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
41 |
42 | guard let sideMenuViewController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift:40:179: error: 'UIView' is unavailable in watchOS
38 | /// - curve: 動畫型式
39 | /// - Returns: Bool
40 | func changeItemViewController(_ viewController: UIViewController, with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .easeInOut) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
41 |
42 | guard let sideMenuViewController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:20:28: error: 'UIView' is unavailable in watchOS
18 |
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
| `- error: 'UIView' is unavailable in watchOS
21 | var menuContainerView: UIView = UIView()
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:20:37: error: 'UIView' is unavailable in watchOS
18 |
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
| `- error: 'UIView' is unavailable in watchOS
21 | var menuContainerView: UIView = UIView()
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:20:37: error: 'init()' is unavailable in watchOS
18 |
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
| `- error: 'init()' is unavailable in watchOS
21 | var menuContainerView: UIView = UIView()
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:21:28: error: 'UIView' is unavailable in watchOS
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
21 | var menuContainerView: UIView = UIView()
| `- error: 'UIView' is unavailable in watchOS
22 |
23 | var firstItemViewController: UIViewController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:21:37: error: 'UIView' is unavailable in watchOS
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
21 | var menuContainerView: UIView = UIView()
| `- error: 'UIView' is unavailable in watchOS
22 |
23 | var firstItemViewController: UIViewController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:21:37: error: 'init()' is unavailable in watchOS
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
21 | var menuContainerView: UIView = UIView()
| `- error: 'init()' is unavailable in watchOS
22 |
23 | var firstItemViewController: UIViewController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:23:34: error: 'UIViewController' is unavailable in watchOS
21 | var menuContainerView: UIView = UIView()
22 |
23 | var firstItemViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
24 | var previousItemViewController: UIViewController?
25 | var menuViewController: UIViewController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:24:37: error: 'UIViewController' is unavailable in watchOS
22 |
23 | var firstItemViewController: UIViewController?
24 | var previousItemViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
25 | var menuViewController: UIViewController?
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:25:29: error: 'UIViewController' is unavailable in watchOS
23 | var firstItemViewController: UIViewController?
24 | var previousItemViewController: UIViewController?
25 | var menuViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
26 |
27 | private var baseColor: UIColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:29:28: error: 'UIView' is unavailable in watchOS
27 | private var baseColor: UIColor = .clear
28 | private var menuPosition: MenuPosition = (.zero, .zero)
29 | private var baseView = UIView()
| `- error: 'UIView' is unavailable in watchOS
30 | private var currentState: WWSideMenuViewController.MenuState = .dismiss
31 | private var displayMenuAnimationInformation = MenuAnimationInformation(.right, 0, .easeInOut)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:29:28: error: 'init()' is unavailable in watchOS
27 | private var baseColor: UIColor = .clear
28 | private var menuPosition: MenuPosition = (.zero, .zero)
29 | private var baseView = UIView()
| `- error: 'init()' is unavailable in watchOS
30 | private var currentState: WWSideMenuViewController.MenuState = .dismiss
31 | private var displayMenuAnimationInformation = MenuAnimationInformation(.right, 0, .easeInOut)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:46:43: error: 'UIStoryboardSegue' is unavailable in watchOS
44 | }
45 |
46 | override open func prepare(for segue: UIStoryboardSegue, sender: Any?) {
| `- error: 'UIStoryboardSegue' is unavailable in watchOS
47 | recordViewControllers(for: segue)
48 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h:17:12: note: 'UIStoryboardSegue' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
17 | @interface UIStoryboardSegue : NSObject
| `- note: 'UIStoryboardSegue' has been explicitly marked unavailable here
18 |
19 | // Convenience constructor for returning a segue that performs a handler block in its -perform method.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:11:38: error: 'UIViewController' is unavailable in watchOS
9 |
10 | // MARK: - 側邊選單主體
11 | open class WWSideMenuViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | open override var prefersStatusBarHidden: Bool { return isStatusBarHidden }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:60:40: error: 'UITapGestureRecognizer' is unavailable in watchOS
58 | /// 點擊Item會退回選單
59 | /// - Parameter tap: UITapGestureRecognizer
60 | func handleVisualEffectView(_ tap: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
61 | dismiss(with: displayMenuAnimationInformation.direction, duration: displayMenuAnimationInformation.duration, curve: displayMenuAnimationInformation.curve)
62 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:142:85: error: 'UIView' is unavailable in watchOS
140 | /// - duration: 動畫時間
141 | /// - curve: 動畫型式
142 | func display(with direction: MenuPopupDirection, duration: TimeInterval, curve: UIView.AnimationCurve) {
| `- error: 'UIView' is unavailable in watchOS
143 | displayMenuAnimationInformation = (direction, duration, curve)
144 | menuAnimation(with: direction, displayPosition: displayPosition, duration: duration, curve: curve, state: .display)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:152:85: error: 'UIView' is unavailable in watchOS
150 | /// - duration: 動畫時間
151 | /// - curve: 動畫型式
152 | func dismiss(with direction: MenuPopupDirection, duration: TimeInterval, curve: UIView.AnimationCurve) {
| `- error: 'UIView' is unavailable in watchOS
153 | menuAnimation(with: direction, displayPosition: displayPosition, duration: duration, curve: curve, state: .dismiss)
154 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:168:57: error: 'UIViewController' is unavailable in watchOS
166 | /// - itemViewController: UIViewController
167 | /// - completion: 完成後的動作
168 | func changeItemViewController(_ itemViewController: UIViewController, completion: ((WWSideMenuViewController) -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
169 |
170 | _changeContainerView(at: itemContainerView, from: previousItemViewController, to: itemViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:181:57: error: 'UIViewController' is unavailable in watchOS
179 | /// - menuViewController: UIViewController
180 | /// - completion: 完成後的動作
181 | func changeMenuViewController(_ menuViewController: UIViewController, completion: ((WWSideMenuViewController) -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
182 |
183 | _changeContainerView(at: menuContainerView, from: nil, to: menuViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:207:44: error: 'UIView' is unavailable in watchOS
205 | /// - view: UIView
206 | /// - displayPosition: MenuDisplayPosition
207 | func menuContainerViewSetting(on view: UIView, displayPosition: MenuDisplayPosition) {
| `- error: 'UIView' is unavailable in watchOS
208 |
209 | self.displayPosition = displayPosition
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:247:129: error: 'UIView' is unavailable in watchOS
245 | /// - curve: 動畫型式
246 | /// - state: 選單狀態
247 | func menuAnimation(with direction: MenuPopupDirection, displayPosition: MenuDisplayPosition, duration: TimeInterval, curve: UIView.AnimationCurve, state: MenuState) {
| `- error: 'UIView' is unavailable in watchOS
248 |
249 | let alpha: BaseViewAlpha
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:381:43: error: 'UIStoryboardSegue' is unavailable in watchOS
379 |
380 | /// 記錄畫面跟選單的ViewController
381 | func recordViewControllers(for segue: UIStoryboardSegue) {
| `- error: 'UIStoryboardSegue' is unavailable in watchOS
382 | if segue.identifier == segueIdentifier.item { firstItemViewController = segue.destination; return }
383 | if segue.identifier == segueIdentifier.menu { menuViewController = segue.destination as? WWMenuViewController; return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h:17:12: note: 'UIStoryboardSegue' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
17 | @interface UIStoryboardSegue : NSObject
| `- note: 'UIStoryboardSegue' has been explicitly marked unavailable here
18 |
19 | // Convenience constructor for returning a segue that performs a handler block in its -perform method.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.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/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWItemViewControllerSegue.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.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/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWSideMenuViewController -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController.abi.json
SwiftCompile normal arm64_32 (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:14:46: error: 'UIViewController' is unavailable in watchOS
12 |
13 | public typealias SegueIdentifier = (item: String, menu: String) // 側邊選單的Segue名稱
14 | public typealias ViewController = (item: UIViewController, menu: UIViewController) // 側邊選單的UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:14:70: error: 'UIViewController' is unavailable in watchOS
12 |
13 | public typealias SegueIdentifier = (item: String, menu: String) // 側邊選單的Segue名稱
14 | public typealias ViewController = (item: UIViewController, menu: UIViewController) // 側邊選單的UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Constant.swift
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWSideMenuViewController (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64 (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-22 15:19:19.923 xcodebuild[668:4287] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWSideMenuViewController (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64_32 (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
Building workspace WWSideMenuViewController with scheme WWSideMenuViewController
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
WWSideMenuViewController: /Users/admin/builder/spi-builder-workspace
resolved source packages: WWSideMenuViewController
2026-09-22 15:19:25.978 xcodebuild[796:4763] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "WWSideMenuViewController",
"name" : "WWSideMenuViewController",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "WWSideMenuViewController",
"targets" : [
"WWSideMenuViewController"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "WWSideMenuViewController",
"module_type" : "SwiftTarget",
"name" : "WWSideMenuViewController",
"path" : "Sources/WWSideMenuViewController",
"product_memberships" : [
"WWSideMenuViewController"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Privacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Segue/WWItemViewControllerSegue.swift",
"Segue/WWMenuViewControllerSegue.swift",
"Utility/Constant.swift",
"Utility/Delegate.swift",
"Utility/Extension.swift",
"ViewController/WWItemViewController.swift",
"ViewController/WWMenuViewController.swift",
"WWSideMenuViewController.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
{
"workspace" : {
"name" : "WWSideMenuViewController",
"schemes" : [
"WWSideMenuViewController"
]
}
}
2026-09-22 15:19:27.134 xcodebuild[804:4836] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme WWSideMenuViewController -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.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 WWSideMenuViewController -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
WWSideMenuViewController: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'WWSideMenuViewController-product' in project 'WWSideMenuViewController'
➜ Explicit dependency on target 'WWSideMenuViewController' in project 'WWSideMenuViewController'
➜ Explicit dependency on target 'WWSideMenuViewController_WWSideMenuViewController' in project 'WWSideMenuViewController'
Target 'WWSideMenuViewController' in project 'WWSideMenuViewController'
➜ Explicit dependency on target 'WWSideMenuViewController_WWSideMenuViewController' in project 'WWSideMenuViewController'
Target 'WWSideMenuViewController_WWSideMenuViewController' in project 'WWSideMenuViewController' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver WWSideMenuViewController normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name WWSideMenuViewController -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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 -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-OutputFileMap.json -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/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController_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/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.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/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver WWSideMenuViewController normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name WWSideMenuViewController -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64/WWSideMenuViewController.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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 -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64/WWSideMenuViewController-OutputFileMap.json -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/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64/WWSideMenuViewController.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64/WWSideMenuViewController-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64/WWSideMenuViewController_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/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.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/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64/WWSideMenuViewController-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\ WWSideMenuViewController (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWItemViewControllerSegue.swift:11:39: error: 'UIStoryboardSegue' is unavailable in watchOS
9 |
10 | // MARK: - WWItemViewControllerSegue
11 | open class WWItemViewControllerSegue: UIStoryboardSegue {
| `- error: 'UIStoryboardSegue' is unavailable in watchOS
12 |
13 | override open func perform() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h:17:12: note: 'UIStoryboardSegue' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
17 | @interface UIStoryboardSegue : NSObject
| `- note: 'UIStoryboardSegue' has been explicitly marked unavailable here
18 |
19 | // Convenience constructor for returning a segue that performs a handler block in its -perform method.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift:11:39: error: 'UIStoryboardSegue' is unavailable in watchOS
9 |
10 | // MARK: - WWMenuViewControllerSegue
11 | open class WWMenuViewControllerSegue: UIStoryboardSegue {
| `- error: 'UIStoryboardSegue' is unavailable in watchOS
12 |
13 | override open func perform() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h:17:12: note: 'UIStoryboardSegue' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
17 | @interface UIStoryboardSegue : NSObject
| `- note: 'UIStoryboardSegue' has been explicitly marked unavailable here
18 |
19 | // Convenience constructor for returning a segue that performs a handler block in its -perform method.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:14:46: error: 'UIViewController' is unavailable in watchOS
12 |
13 | public typealias SegueIdentifier = (item: String, menu: String) // 側邊選單的Segue名稱
14 | public typealias ViewController = (item: UIViewController, menu: UIViewController) // 側邊選單的UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:14:70: error: 'UIViewController' is unavailable in watchOS
12 |
13 | public typealias SegueIdentifier = (item: String, menu: String) // 側邊選單的Segue名稱
14 | public typealias ViewController = (item: UIViewController, menu: UIViewController) // 側邊選單的UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:18:105: error: 'UIView' is unavailable in watchOS
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
17 | typealias MenuMovePosition = (from: CGPoint, to: CGPoint) // 側邊選單的移動位置 (從 / 到)
18 | typealias MenuAnimationInformation = (direction: MenuPopupDirection, duration: TimeInterval, curve: UIView.AnimationCurve) // 側邊選單動畫效果的相關資訊
| `- error: 'UIView' is unavailable in watchOS
19 | typealias BaseViewAlpha = (from: CGFloat, to: CGFloat) // 底部View透明度
20 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift:24:96: error: 'UIViewController' is unavailable in watchOS
22 | /// - previousViewController: 上一個ViewController
23 | /// - nextViewController: 下一個ViewController
24 | func sideMenu(_ sideMenuController: WWSideMenuViewController, from previousViewController: UIViewController?, to nextViewController: UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift:24:138: error: 'UIViewController' is unavailable in watchOS
22 | /// - previousViewController: 上一個ViewController
23 | /// - nextViewController: 下一個ViewController
24 | func sideMenu(_ sideMenuController: WWSideMenuViewController, from previousViewController: UIViewController?, to nextViewController: UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:15:31: error: 'UIView' is unavailable in watchOS
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
14 | /// - Parameter view: [要設定的View](https://www.appcoda.com.tw/auto-layout-programmatically/)
15 | func _autolayout(on view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | removeFromSuperview()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:11:11: error: 'UIView' is unavailable in watchOS
9 |
10 | // MARK: - UIView
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:49: error: 'UIView' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIView' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:81: error: 'UIViewController' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:128: error: 'UIViewController' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:53:34: error: 'UIViewController' is unavailable in watchOS
51 | /// - Parameter viewController: UIViewController?
52 | /// - Returns: WWSideMenuController?
53 | func parentViewController<T: UIViewController>() -> T? {
| `- error: 'UIViewController' is unavailable in watchOS
54 |
55 | guard let parent = parent else { return nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:32:11: error: 'UIViewController' is unavailable in watchOS
30 |
31 | // MARK: - UIViewController
32 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
33 |
34 | /// [改變ContainerView](https://disp.cc/b/11-9XMd)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift:11:34: error: 'UIViewController' is unavailable in watchOS
9 |
10 | // MARK: - 顯示畫面的ViewController
11 | open class WWItemViewController: UIViewController {}
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | // MARK: - 公開的函式
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift:22:130: error: 'UIView' is unavailable in watchOS
20 | /// - curve: 動畫型式
21 | /// - Returns: Bool
22 | func displayMenu(with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .linear) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
23 |
24 | guard let sideMenuController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift:36:130: error: 'UIView' is unavailable in watchOS
34 | /// - curve: 動畫型式
35 | /// - Returns: Bool
36 | func dismissMenu(with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .linear) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
37 |
38 | guard let sideMenuController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift:22:146: error: 'UIView' is unavailable in watchOS
20 | /// - curve: 動畫型式
21 | /// - Returns: Bool
22 | func backFirstItemViewController(with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .easeInOut) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
23 |
24 | guard let sideMenuViewController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift:40:53: error: 'UIViewController' is unavailable in watchOS
38 | /// - curve: 動畫型式
39 | /// - Returns: Bool
40 | func changeItemViewController(_ viewController: UIViewController, with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .easeInOut) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
41 |
42 | guard let sideMenuViewController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift:40:179: error: 'UIView' is unavailable in watchOS
38 | /// - curve: 動畫型式
39 | /// - Returns: Bool
40 | func changeItemViewController(_ viewController: UIViewController, with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .easeInOut) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
41 |
42 | guard let sideMenuViewController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:20:28: error: 'UIView' is unavailable in watchOS
18 |
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
| `- error: 'UIView' is unavailable in watchOS
21 | var menuContainerView: UIView = UIView()
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:20:37: error: 'UIView' is unavailable in watchOS
18 |
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
| `- error: 'UIView' is unavailable in watchOS
21 | var menuContainerView: UIView = UIView()
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:20:37: error: 'init()' is unavailable in watchOS
18 |
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
| `- error: 'init()' is unavailable in watchOS
21 | var menuContainerView: UIView = UIView()
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:21:28: error: 'UIView' is unavailable in watchOS
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
21 | var menuContainerView: UIView = UIView()
| `- error: 'UIView' is unavailable in watchOS
22 |
23 | var firstItemViewController: UIViewController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:21:37: error: 'UIView' is unavailable in watchOS
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
21 | var menuContainerView: UIView = UIView()
| `- error: 'UIView' is unavailable in watchOS
22 |
23 | var firstItemViewController: UIViewController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:21:37: error: 'init()' is unavailable in watchOS
19 | var isStatusBarHidden = false
20 | var itemContainerView: UIView = UIView()
21 | var menuContainerView: UIView = UIView()
| `- error: 'init()' is unavailable in watchOS
22 |
23 | var firstItemViewController: UIViewController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:23:34: error: 'UIViewController' is unavailable in watchOS
21 | var menuContainerView: UIView = UIView()
22 |
23 | var firstItemViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
24 | var previousItemViewController: UIViewController?
25 | var menuViewController: UIViewController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:24:37: error: 'UIViewController' is unavailable in watchOS
22 |
23 | var firstItemViewController: UIViewController?
24 | var previousItemViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
25 | var menuViewController: UIViewController?
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:25:29: error: 'UIViewController' is unavailable in watchOS
23 | var firstItemViewController: UIViewController?
24 | var previousItemViewController: UIViewController?
25 | var menuViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
26 |
27 | private var baseColor: UIColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:29:28: error: 'UIView' is unavailable in watchOS
27 | private var baseColor: UIColor = .clear
28 | private var menuPosition: MenuPosition = (.zero, .zero)
29 | private var baseView = UIView()
| `- error: 'UIView' is unavailable in watchOS
30 | private var currentState: WWSideMenuViewController.MenuState = .dismiss
31 | private var displayMenuAnimationInformation = MenuAnimationInformation(.right, 0, .easeInOut)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:29:28: error: 'init()' is unavailable in watchOS
27 | private var baseColor: UIColor = .clear
28 | private var menuPosition: MenuPosition = (.zero, .zero)
29 | private var baseView = UIView()
| `- error: 'init()' is unavailable in watchOS
30 | private var currentState: WWSideMenuViewController.MenuState = .dismiss
31 | private var displayMenuAnimationInformation = MenuAnimationInformation(.right, 0, .easeInOut)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:46:43: error: 'UIStoryboardSegue' is unavailable in watchOS
44 | }
45 |
46 | override open func prepare(for segue: UIStoryboardSegue, sender: Any?) {
| `- error: 'UIStoryboardSegue' is unavailable in watchOS
47 | recordViewControllers(for: segue)
48 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h:17:12: note: 'UIStoryboardSegue' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
17 | @interface UIStoryboardSegue : NSObject
| `- note: 'UIStoryboardSegue' has been explicitly marked unavailable here
18 |
19 | // Convenience constructor for returning a segue that performs a handler block in its -perform method.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:11:38: error: 'UIViewController' is unavailable in watchOS
9 |
10 | // MARK: - 側邊選單主體
11 | open class WWSideMenuViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | open override var prefersStatusBarHidden: Bool { return isStatusBarHidden }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:60:40: error: 'UITapGestureRecognizer' is unavailable in watchOS
58 | /// 點擊Item會退回選單
59 | /// - Parameter tap: UITapGestureRecognizer
60 | func handleVisualEffectView(_ tap: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
61 | dismiss(with: displayMenuAnimationInformation.direction, duration: displayMenuAnimationInformation.duration, curve: displayMenuAnimationInformation.curve)
62 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:142:85: error: 'UIView' is unavailable in watchOS
140 | /// - duration: 動畫時間
141 | /// - curve: 動畫型式
142 | func display(with direction: MenuPopupDirection, duration: TimeInterval, curve: UIView.AnimationCurve) {
| `- error: 'UIView' is unavailable in watchOS
143 | displayMenuAnimationInformation = (direction, duration, curve)
144 | menuAnimation(with: direction, displayPosition: displayPosition, duration: duration, curve: curve, state: .display)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:152:85: error: 'UIView' is unavailable in watchOS
150 | /// - duration: 動畫時間
151 | /// - curve: 動畫型式
152 | func dismiss(with direction: MenuPopupDirection, duration: TimeInterval, curve: UIView.AnimationCurve) {
| `- error: 'UIView' is unavailable in watchOS
153 | menuAnimation(with: direction, displayPosition: displayPosition, duration: duration, curve: curve, state: .dismiss)
154 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:168:57: error: 'UIViewController' is unavailable in watchOS
166 | /// - itemViewController: UIViewController
167 | /// - completion: 完成後的動作
168 | func changeItemViewController(_ itemViewController: UIViewController, completion: ((WWSideMenuViewController) -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
169 |
170 | _changeContainerView(at: itemContainerView, from: previousItemViewController, to: itemViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:181:57: error: 'UIViewController' is unavailable in watchOS
179 | /// - menuViewController: UIViewController
180 | /// - completion: 完成後的動作
181 | func changeMenuViewController(_ menuViewController: UIViewController, completion: ((WWSideMenuViewController) -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
182 |
183 | _changeContainerView(at: menuContainerView, from: nil, to: menuViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:207:44: error: 'UIView' is unavailable in watchOS
205 | /// - view: UIView
206 | /// - displayPosition: MenuDisplayPosition
207 | func menuContainerViewSetting(on view: UIView, displayPosition: MenuDisplayPosition) {
| `- error: 'UIView' is unavailable in watchOS
208 |
209 | self.displayPosition = displayPosition
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:247:129: error: 'UIView' is unavailable in watchOS
245 | /// - curve: 動畫型式
246 | /// - state: 選單狀態
247 | func menuAnimation(with direction: MenuPopupDirection, displayPosition: MenuDisplayPosition, duration: TimeInterval, curve: UIView.AnimationCurve, state: MenuState) {
| `- error: 'UIView' is unavailable in watchOS
248 |
249 | let alpha: BaseViewAlpha
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift:381:43: error: 'UIStoryboardSegue' is unavailable in watchOS
379 |
380 | /// 記錄畫面跟選單的ViewController
381 | func recordViewControllers(for segue: UIStoryboardSegue) {
| `- error: 'UIStoryboardSegue' is unavailable in watchOS
382 | if segue.identifier == segueIdentifier.item { firstItemViewController = segue.destination; return }
383 | if segue.identifier == segueIdentifier.menu { menuViewController = segue.destination as? WWMenuViewController; return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h:17:12: note: 'UIStoryboardSegue' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
17 | @interface UIStoryboardSegue : NSObject
| `- note: 'UIStoryboardSegue' has been explicitly marked unavailable here
18 |
19 | // Convenience constructor for returning a segue that performs a handler block in its -perform method.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.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/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWItemViewControllerSegue.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/WWSideMenuViewController.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.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/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWSideMenuViewController -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/Objects-normal/arm64_32/WWSideMenuViewController.abi.json
SwiftCompile normal arm64_32 Compiling\ Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:14:46: error: 'UIViewController' is unavailable in watchOS
12 |
13 | public typealias SegueIdentifier = (item: String, menu: String) // 側邊選單的Segue名稱
14 | public typealias ViewController = (item: UIViewController, menu: UIViewController) // 側邊選單的UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:14:70: error: 'UIViewController' is unavailable in watchOS
12 |
13 | public typealias SegueIdentifier = (item: String, menu: String) // 側邊選單的Segue名稱
14 | public typealias ViewController = (item: UIViewController, menu: UIViewController) // 側邊選單的UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 Compiling\ WWMenuViewControllerSegue.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWMenuViewControllerSegue.swift
SwiftCompile normal arm64_32 Compiling\ Delegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift:24:96: error: 'UIViewController' is unavailable in watchOS
22 | /// - previousViewController: 上一個ViewController
23 | /// - nextViewController: 下一個ViewController
24 | func sideMenu(_ sideMenuController: WWSideMenuViewController, from previousViewController: UIViewController?, to nextViewController: UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Delegate.swift
SwiftCompile normal arm64_32 Compiling\ WWItemViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift:11:34: error: 'UIViewController' is unavailable in watchOS
9 |
10 | // MARK: - 顯示畫面的ViewController
11 | open class WWItemViewController: UIViewController {}
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | // MARK: - 公開的函式
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift:22:130: error: 'UIView' is unavailable in watchOS
20 | /// - curve: 動畫型式
21 | /// - Returns: Bool
22 | func displayMenu(with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .linear) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
23 |
24 | guard let sideMenuController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWItemViewController.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWItemViewController.swift
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWSideMenuViewController.build/Debug-watchos/WWSideMenuViewController-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:15:31: error: 'UIView' is unavailable in watchOS
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
14 | /// - Parameter view: [要設定的View](https://www.appcoda.com.tw/auto-layout-programmatically/)
15 | func _autolayout(on view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | removeFromSuperview()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:11:11: error: 'UIView' is unavailable in watchOS
9 |
10 | // MARK: - UIView
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:49: error: 'UIView' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIView' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:81: error: 'UIViewController' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:128: error: 'UIViewController' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:53:34: error: 'UIViewController' is unavailable in watchOS
51 | /// - Parameter viewController: UIViewController?
52 | /// - Returns: WWSideMenuController?
53 | func parentViewController<T: UIViewController>() -> T? {
| `- error: 'UIViewController' is unavailable in watchOS
54 |
55 | guard let parent = parent else { return nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:32:11: error: 'UIViewController' is unavailable in watchOS
30 |
31 | // MARK: - UIViewController
32 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
33 |
34 | /// [改變ContainerView](https://disp.cc/b/11-9XMd)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension.swift
SwiftCompile normal arm64_32 Compiling\ WWMenuViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift:22:146: error: 'UIView' is unavailable in watchOS
20 | /// - curve: 動畫型式
21 | /// - Returns: Bool
22 | func backFirstItemViewController(with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .easeInOut) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
23 |
24 | guard let sideMenuViewController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift:40:53: error: 'UIViewController' is unavailable in watchOS
38 | /// - curve: 動畫型式
39 | /// - Returns: Bool
40 | func changeItemViewController(_ viewController: UIViewController, with direction: WWSideMenuViewController.MenuPopupDirection = .right, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .easeInOut) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
41 |
42 | guard let sideMenuViewController = parentViewController() as WWSideMenuViewController? else { return false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/ViewController/WWMenuViewController.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWMenuViewController.swift
SwiftCompile normal arm64_32 Compiling\ WWItemViewControllerSegue.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWItemViewControllerSegue.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWItemViewControllerSegue.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWItemViewControllerSegue.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWSideMenuViewController (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWItemViewControllerSegue.swift:11:39: error: 'UIStoryboardSegue' is unavailable in watchOS
9 |
10 | // MARK: - WWItemViewControllerSegue
11 | open class WWItemViewControllerSegue: UIStoryboardSegue {
| `- error: 'UIStoryboardSegue' is unavailable in watchOS
12 |
13 | override open func perform() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h:17:12: note: 'UIStoryboardSegue' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
17 | @interface UIStoryboardSegue : NSObject
| `- note: 'UIStoryboardSegue' has been explicitly marked unavailable here
18 |
19 | // Convenience constructor for returning a segue that performs a handler block in its -perform method.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift:11:39: error: 'UIStoryboardSegue' is unavailable in watchOS
9 |
10 | // MARK: - WWMenuViewControllerSegue
11 | open class WWMenuViewControllerSegue: UIStoryboardSegue {
| `- error: 'UIStoryboardSegue' is unavailable in watchOS
12 |
13 | override open func perform() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h:17:12: note: 'UIStoryboardSegue' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
17 | @interface UIStoryboardSegue : NSObject
| `- note: 'UIStoryboardSegue' has been explicitly marked unavailable here
18 |
19 | // Convenience constructor for returning a segue that performs a handler block in its -perform method.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:14:46: error: 'UIViewController' is unavailable in watchOS
12 |
13 | public typealias SegueIdentifier = (item: String, menu: String) // 側邊選單的Segue名稱
14 | public typealias ViewController = (item: UIViewController, menu: UIViewController) // 側邊選單的UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:14:70: error: 'UIViewController' is unavailable in watchOS
12 |
13 | public typealias SegueIdentifier = (item: String, menu: String) // 側邊選單的Segue名稱
14 | public typealias ViewController = (item: UIViewController, menu: UIViewController) // 側邊選單的UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Constant.swift:18:105: error: 'UIView' is unavailable in watchOS
16 | typealias MenuPosition = (display: CGPoint, dismiss: CGPoint) // 側邊選單的位置 (顯示 / 隱藏)
17 | typealias MenuMovePosition = (from: CGPoint, to: CGPoint) // 側邊選單的移動位置 (從 / 到)
18 | typealias MenuAnimationInformation = (direction: MenuPopupDirection, duration: TimeInterval, curve: UIView.AnimationCurve) // 側邊選單動畫效果的相關資訊
| `- error: 'UIView' is unavailable in watchOS
19 | typealias BaseViewAlpha = (from: CGFloat, to: CGFloat) // 底部View透明度
20 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift:24:96: error: 'UIViewController' is unavailable in watchOS
22 | /// - previousViewController: 上一個ViewController
23 | /// - nextViewController: 下一個ViewController
24 | func sideMenu(_ sideMenuController: WWSideMenuViewController, from previousViewController: UIViewController?, to nextViewController: UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Delegate.swift:24:138: error: 'UIViewController' is unavailable in watchOS
22 | /// - previousViewController: 上一個ViewController
23 | /// - nextViewController: 下一個ViewController
24 | func sideMenu(_ sideMenuController: WWSideMenuViewController, from previousViewController: UIViewController?, to nextViewController: UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:15:31: error: 'UIView' is unavailable in watchOS
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
14 | /// - Parameter view: [要設定的View](https://www.appcoda.com.tw/auto-layout-programmatically/)
15 | func _autolayout(on view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | removeFromSuperview()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:11:11: error: 'UIView' is unavailable in watchOS
9 |
10 | // MARK: - UIView
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:49: error: 'UIView' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIView' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:81: error: 'UIViewController' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Utility/Extension.swift:39:128: error: 'UIViewController' is unavailable in watchOS
37 | /// - oldViewController: 舊的ViewController
38 | /// - newViewController: 新的ViewController
39 | func _changeContainerView(at containerView: UIView, from oldViewController: UIViewController? = nil, to newViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
40 |
41 | oldViewController?.willMove(toParent: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ WWMenuViewControllerSegue.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWSideMenuViewController/Segue/WWMenuViewControllerSegue.swift (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWMenuViewControllerSegue.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-22 15:19:28.032 xcodebuild[805:4863] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWSideMenuViewController (in target 'WWSideMenuViewController' from project 'WWSideMenuViewController')
Building workspace WWSideMenuViewController with scheme WWSideMenuViewController
(3 failures)
BUILD FAILURE 6.4 watchOS