Build Information
Failed to build ViewControllerPresentationSpy, reference main (6d9c92), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 13:51:53 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 ViewControllerPresentationSpy -destination generic/platform=watchOSBuild Log
84 | }
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift:88:92: error: 'UIViewController' is unavailable in watchOS
86 | @objc private func alertControllerWasPresented(_ notification: Notification) {
87 | presentedCount += 1
88 | presentingViewController = notification.userInfo?[presentingViewControllerKey] as? UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
89 | animated = (notification.userInfo?[animatedKey] as? NSNumber)?.boolValue ?? false
90 | let closureContainer = notification.userInfo?[completionKey] as? ClosureContainer
/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 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AlertVerifier.swift
SwiftCompile normal arm64 Compiling\ ClosureContainer.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/ClosureContainer.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/ClosureContainer.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ClosureContainer.swift
SwiftCompile normal arm64 Compiling\ PresentationVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/PresentationVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:21:47: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var presentedCount = 0
20 |
21 | @objc public var presentedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var presentingViewController: UIViewController?
23 | @objc public var animated: Bool = 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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:22:48: error: 'UIViewController' is unavailable in watchOS
20 |
21 | @objc public var presentedViewController: UIViewController?
22 | @objc public var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
23 | @objc public var animated: Bool = false
24 |
/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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:104:40: error: 'UIViewController' is unavailable in watchOS
102 | Verifies presentation of one view controller.
103 | */
104 | @discardableResult func verify<VC: UIViewController>(
| `- error: 'UIViewController' is unavailable in watchOS
105 | animated: Bool,
106 | presentingViewController: UIViewController? = 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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:106:35: error: 'UIViewController' is unavailable in watchOS
104 | @discardableResult func verify<VC: UIViewController>(
105 | animated: Bool,
106 | presentingViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
107 | fileID: String = #fileID,
108 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:83:9: error: 'UIViewController' is unavailable in watchOS
81 |
82 | @objc private static func swizzleMocks() {
83 | UIViewController.swizzleCapturePresent()
| `- error: 'UIViewController' is unavailable in watchOS
84 | PresentationVerifier.isSwizzled.toggle()
85 | }
/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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:89:59: error: 'UIViewController' is unavailable in watchOS
87 | @objc private func viewControllerWasPresented(_ notification: Notification) {
88 | presentedCount += 1
89 | presentedViewController = notification.object as? UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
90 | presentingViewController = notification.userInfo?[presentingViewControllerKey] as? UIViewController
91 | animated = (notification.userInfo?[animatedKey] as? NSNumber)?.boolValue ?? 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 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/PresentationVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PresentationVerifier.swift
SwiftCompile normal arm64 Compiling\ DismissalVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/DismissalVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/DismissalVerifier.swift:21:47: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var dismissedCount = 0
20 |
21 | @objc public var dismissedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var animated: Bool = false
23 |
/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/Source/ViewControllerPresentationSpy/DismissalVerifier.swift:91:34: error: 'UIViewController' is unavailable in watchOS
89 | func verify(
90 | animated: Bool,
91 | dismissedViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
92 | fileID: String = #fileID,
93 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/DismissalVerifier.swift:69:9: error: 'UIViewController' is unavailable in watchOS
67 |
68 | @objc private static func swizzleMocks() {
69 | UIViewController.swizzleCaptureDismiss()
| `- error: 'UIViewController' is unavailable in watchOS
70 | DismissalVerifier.isSwizzled.toggle()
71 | }
/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 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/DismissalVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DismissalVerifier.swift
SwiftCompile normal arm64 Compiling\ UIAlertAction+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIAlertAction+Mocking.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:66: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:98: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:127: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:22:25: error: 'UIAlertAction' is unavailable in watchOS
20 | }
21 |
22 | func handler() -> ((UIAlertAction) -> Void)? {
| `- error: 'UIAlertAction' is unavailable in watchOS
23 | guard let extraProperties: UIAlertActionExtraProperties = objc_getAssociatedObject(self, UIAlertActionExtraProperties.associatedObjectKey)
24 | as? UIAlertActionExtraProperties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:7:11: error: 'UIAlertAction' is unavailable in watchOS
5 | import UIKit
6 |
7 | extension UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
8 | static func swizzle() {
9 | replaceClassMethod(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:35:27: error: 'UIAlertAction' is unavailable in watchOS
33 | @MainActor fileprivate static let associatedObjectKey = UnsafeMutableRawPointer.allocate(byteCount: 1, alignment: 1)
34 |
35 | public let handler: ((UIAlertAction) -> Void)?
| `- error: 'UIAlertAction' is unavailable in watchOS
36 |
37 | init(handler: ((UIAlertAction) -> Void)?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
SwiftCompile normal arm64 Compiling\ VerifyHelpers.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/VerifyHelpers.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/VerifyHelpers.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VerifyHelpers.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ViewControllerPresentationSpy (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:21:48: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var presentedCount = 0
20 |
21 | @objc public var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var animated: Bool = false
23 | @objc public var title: String?
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift:25:38: error: 'UIAlertController' is unavailable in watchOS
23 | @objc public var title: String?
24 | @objc public var message: String?
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
| `- error: 'UIAlertController' is unavailable in watchOS
26 | @objc public var actions: [UIAlertAction] = []
27 | @objc public var preferredAction: UIAlertAction?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:26:32: error: 'UIAlertAction' is unavailable in watchOS
24 | @objc public var message: String?
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
26 | @objc public var actions: [UIAlertAction] = []
| `- error: 'UIAlertAction' is unavailable in watchOS
27 | @objc public var preferredAction: UIAlertAction?
28 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:27:39: error: 'UIAlertAction' is unavailable in watchOS
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
26 | @objc public var actions: [UIAlertAction] = []
27 | @objc public var preferredAction: UIAlertAction?
| `- error: 'UIAlertAction' is unavailable in watchOS
28 | #if os(iOS)
29 | @objc public var popover: UIPopoverPresentationController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:31:35: error: 'UITextField' is unavailable in watchOS
29 | @objc public var popover: UIPopoverPresentationController?
30 | #endif
31 | @objc public var textFields: [UITextField]?
| `- error: 'UITextField' is unavailable in watchOS
32 |
33 | private(set) static var isSwizzled = 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/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:120:61: error: 'UIAlertAction' is unavailable in watchOS
118 | }
119 |
120 | private func actionWithTitle(_ title: String) throws -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
121 | for action in actions {
122 | if action.title == title {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:139:25: error: 'UIAlertController' is unavailable in watchOS
137 | animated: Bool,
138 | actions: [Action],
139 | preferredStyle: UIAlertController.Style = .alert,
| `- error: 'UIAlertController' is unavailable in watchOS
140 | presentingViewController: UIViewController? = nil,
141 | fileID: String = #fileID,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:140:35: error: 'UIViewController' is unavailable in watchOS
138 | actions: [Action],
139 | preferredStyle: UIAlertController.Style = .alert,
140 | presentingViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
141 | fileID: String = #fileID,
142 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift:263:19: error: 'UIAlertController' is unavailable in watchOS
261 |
262 | private func verifyPreferredStyle(
263 | expected: UIAlertController.Style,
| `- error: 'UIAlertController' is unavailable in watchOS
264 | fileID: String = #fileID,
265 | filePath: StaticString = #filePath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/DismissalVerifier.swift:21:47: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var dismissedCount = 0
20 |
21 | @objc public var dismissedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var animated: Bool = false
23 |
/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/Source/ViewControllerPresentationSpy/DismissalVerifier.swift:91:34: error: 'UIViewController' is unavailable in watchOS
89 | func verify(
90 | animated: Bool,
91 | dismissedViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
92 | fileID: String = #fileID,
93 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:21:47: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var presentedCount = 0
20 |
21 | @objc public var presentedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var presentingViewController: UIViewController?
23 | @objc public var animated: Bool = 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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:22:48: error: 'UIViewController' is unavailable in watchOS
20 |
21 | @objc public var presentedViewController: UIViewController?
22 | @objc public var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
23 | @objc public var animated: Bool = false
24 |
/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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:104:40: error: 'UIViewController' is unavailable in watchOS
102 | Verifies presentation of one view controller.
103 | */
104 | @discardableResult func verify<VC: UIViewController>(
| `- error: 'UIViewController' is unavailable in watchOS
105 | animated: Bool,
106 | presentingViewController: UIViewController? = 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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:106:35: error: 'UIViewController' is unavailable in watchOS
104 | @discardableResult func verify<VC: UIViewController>(
105 | animated: Bool,
106 | presentingViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
107 | fileID: String = #fileID,
108 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:66: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:98: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:127: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:22:25: error: 'UIAlertAction' is unavailable in watchOS
20 | }
21 |
22 | func handler() -> ((UIAlertAction) -> Void)? {
| `- error: 'UIAlertAction' is unavailable in watchOS
23 | guard let extraProperties: UIAlertActionExtraProperties = objc_getAssociatedObject(self, UIAlertActionExtraProperties.associatedObjectKey)
24 | as? UIAlertActionExtraProperties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:7:11: error: 'UIAlertAction' is unavailable in watchOS
5 | import UIKit
6 |
7 | extension UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
8 | static func swizzle() {
9 | replaceClassMethod(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:35:27: error: 'UIAlertAction' is unavailable in watchOS
33 | @MainActor fileprivate static let associatedObjectKey = UnsafeMutableRawPointer.allocate(byteCount: 1, alignment: 1)
34 |
35 | public let handler: ((UIAlertAction) -> Void)?
| `- error: 'UIAlertAction' is unavailable in watchOS
36 |
37 | init(handler: ((UIAlertAction) -> Void)?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:37:21: error: 'UIAlertAction' is unavailable in watchOS
35 | public let handler: ((UIAlertAction) -> Void)?
36 |
37 | init(handler: ((UIAlertAction) -> Void)?) {
| `- error: 'UIAlertAction' is unavailable in watchOS
38 | self.handler = handler
39 | super.init()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:30:25: error: 'UIAlertController' is unavailable in watchOS
28 | title: String,
29 | message: String,
30 | preferredStyle: UIAlertController.Style
| `- error: 'UIAlertController' is unavailable in watchOS
31 | ) -> UIAlertController {
32 | UIAlertController(mockWithTitle: title, message: message, preferredStyle: preferredStyle)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:31:10: error: 'UIAlertController' is unavailable in watchOS
29 | message: String,
30 | preferredStyle: UIAlertController.Style
31 | ) -> UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
32 | UIAlertController(mockWithTitle: title, message: message, preferredStyle: preferredStyle)
33 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:35:90: error: 'UIAlertController' is unavailable in watchOS
33 | }
34 |
35 | convenience init(mockWithTitle title: String, message: String, preferredStyle style: UIAlertController.Style) {
| `- error: 'UIAlertController' is unavailable in watchOS
36 | self.init()
37 | self.title = title
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:42:39: error: 'Style' is unavailable in watchOS
40 | }
41 |
42 | func attachExtraProperties(style: Style) {
| `- error: 'Style' is unavailable in watchOS
43 | objc_setAssociatedObject(
44 | 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/UIAlertController.h:21:28: note: 'Style' has been explicitly marked unavailable here
19 | } API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
20 |
21 | typedef NS_ENUM(NSInteger, UIAlertControllerStyle) {
| `- note: 'Style' has been explicitly marked unavailable here
22 | UIAlertControllerStyleActionSheet = 0,
23 | UIAlertControllerStyleAlert
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:51:36: error: 'UIAlertController' is unavailable in watchOS
49 | }
50 |
51 | @objc var mock_preferredStyle: UIAlertController.Style {
| `- error: 'UIAlertController' is unavailable in watchOS
52 | guard let extraProperties = objc_getAssociatedObject(self, UIAlertControllerExtraProperties.associatedObjectKey)
53 | as? UIAlertControllerExtraProperties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:7:11: error: 'UIAlertController' is unavailable in watchOS
5 | import UIKit
6 |
7 | extension UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
8 | static func swizzle() {
9 | replaceClassMethod(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:76:25: error: 'UIAlertController' is unavailable in watchOS
74 | @MainActor fileprivate static let associatedObjectKey = UnsafeMutableRawPointer.allocate(byteCount: 1, alignment: 1)
75 |
76 | let preferredStyle: UIAlertController.Style
| `- error: 'UIAlertController' is unavailable in watchOS
77 | #if os(iOS)
78 | var popover: UIPopoverPresentationController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:82:26: error: 'UIAlertController' is unavailable in watchOS
80 |
81 | @MainActor
82 | init(preferredStyle: UIAlertController.Style, alertController: UIAlertController) {
| `- error: 'UIAlertController' is unavailable in watchOS
83 | self.preferredStyle = preferredStyle
84 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:82:68: error: 'UIAlertController' is unavailable in watchOS
80 |
81 | @MainActor
82 | init(preferredStyle: UIAlertController.Style, alertController: UIAlertController) {
| `- error: 'UIAlertController' is unavailable in watchOS
83 | self.preferredStyle = preferredStyle
84 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIViewController+Mocking.swift:40:34: error: 'UIViewController' is unavailable in watchOS
38 |
39 | @objc func mock_presentViewControllerCapturingAlert(
40 | viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)?
| `- error: 'UIViewController' is unavailable in watchOS
41 | ) {
42 | guard viewControllerToPresent.isKind(of: UIAlertController.self) else { 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/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/Source/ViewControllerPresentationSpy/UIViewController+Mocking.swift:58:34: error: 'UIViewController' is unavailable in watchOS
56 |
57 | @objc func mock_presentViewControllerCapturingIt(
58 | viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)?
| `- error: 'UIViewController' is unavailable in watchOS
59 | ) {
60 | viewControllerToPresent.loadViewIfNeeded()
/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/Source/ViewControllerPresentationSpy/UIViewController+Mocking.swift:17:11: error: 'UIViewController' is unavailable in watchOS
15 | }
16 |
17 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
18 | static func swizzleCaptureAlert() {
19 | replaceInstanceMethod(
/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 | /*
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/Source/ViewControllerPresentationSpy/AlertVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/ClosureContainer.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/DismissalVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/NSObject+Swizzling.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/PresentationVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIViewController+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/VerifyHelpers.swift -target arm64-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 -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing/libTestingMacros.dylib\#\#TestingMacros -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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -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/PackageFrameworks -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_UNAVAILABLE -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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ViewControllerPresentationSpy -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy_const_extract_protocols.json -disable-clang-spi -clang-target arm64-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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy.abi.json
SwiftCompile normal arm64 (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ViewControllerPresentationSpy (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64_32 (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling NSObject+Swizzling.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64_32 Compiling\ UIAlertAction+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIAlertAction+Mocking.swift
SwiftDriverJobDiscovery normal arm64 Compiling ClosureContainer.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64 Compiling\ UIViewController+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIViewController+Mocking.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIViewController+Mocking.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewController+Mocking.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-22 09:51:41.278 xcodebuild[690:4415] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ ViewControllerPresentationSpy (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64 (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
Building workspace ViewControllerPresentationSpy with scheme ViewControllerPresentationSpy
(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:
FailKit: https://github.com/jonreid/FailKit.git @ 1.1.0
ViewControllerPresentationSpy: /Users/admin/builder/spi-builder-workspace
resolved source packages: FailKit, ViewControllerPresentationSpy
2026-09-22 09:51:49.353 xcodebuild[857:5165] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "failkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jonreid/FailKit.git"
}
],
"manifest_display_name" : "ViewControllerPresentationSpy",
"name" : "ViewControllerPresentationSpy",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "ViewControllerPresentationSpy",
"targets" : [
"ViewControllerPresentationSpy"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ViewControllerPresentationSpy",
"module_type" : "SwiftTarget",
"name" : "ViewControllerPresentationSpy",
"path" : "Source",
"product_dependencies" : [
"FailKit"
],
"product_memberships" : [
"ViewControllerPresentationSpy"
],
"sources" : [
"ViewControllerPresentationSpy/AlertVerifier.swift",
"ViewControllerPresentationSpy/ClosureContainer.swift",
"ViewControllerPresentationSpy/DismissalVerifier.swift",
"ViewControllerPresentationSpy/NSObject+Swizzling.swift",
"ViewControllerPresentationSpy/PresentationVerifier.swift",
"ViewControllerPresentationSpy/UIAlertAction+Mocking.swift",
"ViewControllerPresentationSpy/UIAlertController+Mocking.swift",
"ViewControllerPresentationSpy/UIViewController+Mocking.swift",
"ViewControllerPresentationSpy/VerifyHelpers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
{
"workspace" : {
"name" : "ViewControllerPresentationSpy",
"schemes" : [
"ViewControllerPresentationSpy"
]
}
}
2026-09-22 09:51:50.564 xcodebuild[865:5233] [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 ViewControllerPresentationSpy -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 ViewControllerPresentationSpy -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
FailKit: https://github.com/jonreid/FailKit.git @ 1.1.0
ViewControllerPresentationSpy: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
Target 'ViewControllerPresentationSpy-product' in project 'ViewControllerPresentationSpy'
➜ Explicit dependency on target 'ViewControllerPresentationSpy' in project 'ViewControllerPresentationSpy'
➜ Explicit dependency on target 'FailKit-product' in project 'FailKit'
Target 'ViewControllerPresentationSpy' in project 'ViewControllerPresentationSpy'
➜ Explicit dependency on target 'FailKit-product' in project 'FailKit'
Target 'FailKit-product' in project 'FailKit'
➜ Explicit dependency on target 'FailKit' in project 'FailKit'
Target 'FailKit' in project 'FailKit' (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 ViewControllerPresentationSpy normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
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 ViewControllerPresentationSpy -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/PackageFrameworks -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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy-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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy-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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy_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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ViewControllerPresentationSpy normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
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 ViewControllerPresentationSpy -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/PackageFrameworks -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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy-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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy-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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy_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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64/ViewControllerPresentationSpy-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver FailKit normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'FailKit' from project 'FailKit')
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 FailKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64_32/FailKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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 -suppress-warnings -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/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64_32/FailKit-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/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64_32/FailKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64_32/FailKit-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/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64_32/FailKit_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/FailKit.build/Debug-watchos/FailKit-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FailKit.build/Debug-watchos/FailKit-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FailKit.build/Debug-watchos/FailKit-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/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64_32/FailKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver FailKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'FailKit' from project 'FailKit')
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 FailKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64/FailKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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 -suppress-warnings -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/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64/FailKit-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/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64/FailKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64/FailKit-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/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64/FailKit_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/FailKit.build/Debug-watchos/FailKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FailKit.build/Debug-watchos/FailKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FailKit.build/Debug-watchos/FailKit-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/FailKit.build/Debug-watchos/FailKit-t.build/Objects-normal/arm64/FailKit-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\ FailKit (in target 'FailKit' from project 'FailKit')
SwiftCompile normal arm64_32 (in target 'FailKit' from project 'FailKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ Fail.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/FailKit/Sources/FailKit/Failing/Fail.swift (in target 'FailKit' from project 'FailKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/FailKit/Sources/FailKit/Failing/Fail.swift (in target 'FailKit' from project 'FailKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Fail.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ViewControllerPresentationSpy (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:21:48: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var presentedCount = 0
20 |
21 | @objc public var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var animated: Bool = false
23 | @objc public var title: String?
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift:25:38: error: 'UIAlertController' is unavailable in watchOS
23 | @objc public var title: String?
24 | @objc public var message: String?
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
| `- error: 'UIAlertController' is unavailable in watchOS
26 | @objc public var actions: [UIAlertAction] = []
27 | @objc public var preferredAction: UIAlertAction?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:26:32: error: 'UIAlertAction' is unavailable in watchOS
24 | @objc public var message: String?
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
26 | @objc public var actions: [UIAlertAction] = []
| `- error: 'UIAlertAction' is unavailable in watchOS
27 | @objc public var preferredAction: UIAlertAction?
28 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:27:39: error: 'UIAlertAction' is unavailable in watchOS
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
26 | @objc public var actions: [UIAlertAction] = []
27 | @objc public var preferredAction: UIAlertAction?
| `- error: 'UIAlertAction' is unavailable in watchOS
28 | #if os(iOS)
29 | @objc public var popover: UIPopoverPresentationController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:31:35: error: 'UITextField' is unavailable in watchOS
29 | @objc public var popover: UIPopoverPresentationController?
30 | #endif
31 | @objc public var textFields: [UITextField]?
| `- error: 'UITextField' is unavailable in watchOS
32 |
33 | private(set) static var isSwizzled = 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/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:120:61: error: 'UIAlertAction' is unavailable in watchOS
118 | }
119 |
120 | private func actionWithTitle(_ title: String) throws -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
121 | for action in actions {
122 | if action.title == title {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:139:25: error: 'UIAlertController' is unavailable in watchOS
137 | animated: Bool,
138 | actions: [Action],
139 | preferredStyle: UIAlertController.Style = .alert,
| `- error: 'UIAlertController' is unavailable in watchOS
140 | presentingViewController: UIViewController? = nil,
141 | fileID: String = #fileID,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:140:35: error: 'UIViewController' is unavailable in watchOS
138 | actions: [Action],
139 | preferredStyle: UIAlertController.Style = .alert,
140 | presentingViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
141 | fileID: String = #fileID,
142 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift:263:19: error: 'UIAlertController' is unavailable in watchOS
261 |
262 | private func verifyPreferredStyle(
263 | expected: UIAlertController.Style,
| `- error: 'UIAlertController' is unavailable in watchOS
264 | fileID: String = #fileID,
265 | filePath: StaticString = #filePath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/DismissalVerifier.swift:21:47: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var dismissedCount = 0
20 |
21 | @objc public var dismissedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var animated: Bool = false
23 |
/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/Source/ViewControllerPresentationSpy/DismissalVerifier.swift:91:34: error: 'UIViewController' is unavailable in watchOS
89 | func verify(
90 | animated: Bool,
91 | dismissedViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
92 | fileID: String = #fileID,
93 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:21:47: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var presentedCount = 0
20 |
21 | @objc public var presentedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var presentingViewController: UIViewController?
23 | @objc public var animated: Bool = 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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:22:48: error: 'UIViewController' is unavailable in watchOS
20 |
21 | @objc public var presentedViewController: UIViewController?
22 | @objc public var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
23 | @objc public var animated: Bool = false
24 |
/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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:104:40: error: 'UIViewController' is unavailable in watchOS
102 | Verifies presentation of one view controller.
103 | */
104 | @discardableResult func verify<VC: UIViewController>(
| `- error: 'UIViewController' is unavailable in watchOS
105 | animated: Bool,
106 | presentingViewController: UIViewController? = 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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:106:35: error: 'UIViewController' is unavailable in watchOS
104 | @discardableResult func verify<VC: UIViewController>(
105 | animated: Bool,
106 | presentingViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
107 | fileID: String = #fileID,
108 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:66: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:98: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:127: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:22:25: error: 'UIAlertAction' is unavailable in watchOS
20 | }
21 |
22 | func handler() -> ((UIAlertAction) -> Void)? {
| `- error: 'UIAlertAction' is unavailable in watchOS
23 | guard let extraProperties: UIAlertActionExtraProperties = objc_getAssociatedObject(self, UIAlertActionExtraProperties.associatedObjectKey)
24 | as? UIAlertActionExtraProperties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:7:11: error: 'UIAlertAction' is unavailable in watchOS
5 | import UIKit
6 |
7 | extension UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
8 | static func swizzle() {
9 | replaceClassMethod(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:35:27: error: 'UIAlertAction' is unavailable in watchOS
33 | @MainActor fileprivate static let associatedObjectKey = UnsafeMutableRawPointer.allocate(byteCount: 1, alignment: 1)
34 |
35 | public let handler: ((UIAlertAction) -> Void)?
| `- error: 'UIAlertAction' is unavailable in watchOS
36 |
37 | init(handler: ((UIAlertAction) -> Void)?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:37:21: error: 'UIAlertAction' is unavailable in watchOS
35 | public let handler: ((UIAlertAction) -> Void)?
36 |
37 | init(handler: ((UIAlertAction) -> Void)?) {
| `- error: 'UIAlertAction' is unavailable in watchOS
38 | self.handler = handler
39 | super.init()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:30:25: error: 'UIAlertController' is unavailable in watchOS
28 | title: String,
29 | message: String,
30 | preferredStyle: UIAlertController.Style
| `- error: 'UIAlertController' is unavailable in watchOS
31 | ) -> UIAlertController {
32 | UIAlertController(mockWithTitle: title, message: message, preferredStyle: preferredStyle)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:31:10: error: 'UIAlertController' is unavailable in watchOS
29 | message: String,
30 | preferredStyle: UIAlertController.Style
31 | ) -> UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
32 | UIAlertController(mockWithTitle: title, message: message, preferredStyle: preferredStyle)
33 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:35:90: error: 'UIAlertController' is unavailable in watchOS
33 | }
34 |
35 | convenience init(mockWithTitle title: String, message: String, preferredStyle style: UIAlertController.Style) {
| `- error: 'UIAlertController' is unavailable in watchOS
36 | self.init()
37 | self.title = title
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:42:39: error: 'Style' is unavailable in watchOS
40 | }
41 |
42 | func attachExtraProperties(style: Style) {
| `- error: 'Style' is unavailable in watchOS
43 | objc_setAssociatedObject(
44 | 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/UIAlertController.h:21:28: note: 'Style' has been explicitly marked unavailable here
19 | } API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
20 |
21 | typedef NS_ENUM(NSInteger, UIAlertControllerStyle) {
| `- note: 'Style' has been explicitly marked unavailable here
22 | UIAlertControllerStyleActionSheet = 0,
23 | UIAlertControllerStyleAlert
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:51:36: error: 'UIAlertController' is unavailable in watchOS
49 | }
50 |
51 | @objc var mock_preferredStyle: UIAlertController.Style {
| `- error: 'UIAlertController' is unavailable in watchOS
52 | guard let extraProperties = objc_getAssociatedObject(self, UIAlertControllerExtraProperties.associatedObjectKey)
53 | as? UIAlertControllerExtraProperties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:7:11: error: 'UIAlertController' is unavailable in watchOS
5 | import UIKit
6 |
7 | extension UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
8 | static func swizzle() {
9 | replaceClassMethod(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:76:25: error: 'UIAlertController' is unavailable in watchOS
74 | @MainActor fileprivate static let associatedObjectKey = UnsafeMutableRawPointer.allocate(byteCount: 1, alignment: 1)
75 |
76 | let preferredStyle: UIAlertController.Style
| `- error: 'UIAlertController' is unavailable in watchOS
77 | #if os(iOS)
78 | var popover: UIPopoverPresentationController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:82:26: error: 'UIAlertController' is unavailable in watchOS
80 |
81 | @MainActor
82 | init(preferredStyle: UIAlertController.Style, alertController: UIAlertController) {
| `- error: 'UIAlertController' is unavailable in watchOS
83 | self.preferredStyle = preferredStyle
84 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift:82:68: error: 'UIAlertController' is unavailable in watchOS
80 |
81 | @MainActor
82 | init(preferredStyle: UIAlertController.Style, alertController: UIAlertController) {
| `- error: 'UIAlertController' is unavailable in watchOS
83 | self.preferredStyle = preferredStyle
84 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIViewController+Mocking.swift:40:34: error: 'UIViewController' is unavailable in watchOS
38 |
39 | @objc func mock_presentViewControllerCapturingAlert(
40 | viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)?
| `- error: 'UIViewController' is unavailable in watchOS
41 | ) {
42 | guard viewControllerToPresent.isKind(of: UIAlertController.self) else { 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/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/Source/ViewControllerPresentationSpy/UIViewController+Mocking.swift:58:34: error: 'UIViewController' is unavailable in watchOS
56 |
57 | @objc func mock_presentViewControllerCapturingIt(
58 | viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)?
| `- error: 'UIViewController' is unavailable in watchOS
59 | ) {
60 | viewControllerToPresent.loadViewIfNeeded()
/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/Source/ViewControllerPresentationSpy/UIViewController+Mocking.swift:17:11: error: 'UIViewController' is unavailable in watchOS
15 | }
16 |
17 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
18 | static func swizzleCaptureAlert() {
19 | replaceInstanceMethod(
/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 | /*
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/Source/ViewControllerPresentationSpy/AlertVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/ClosureContainer.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/DismissalVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/NSObject+Swizzling.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/PresentationVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIViewController+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/VerifyHelpers.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 -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing/libTestingMacros.dylib\#\#TestingMacros -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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy-dependencies-1.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/PackageFrameworks -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_UNAVAILABLE -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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ViewControllerPresentationSpy -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy_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/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewControllerPresentationSpy.build/Debug-watchos/ViewControllerPresentationSpy-t.build/Objects-normal/arm64_32/ViewControllerPresentationSpy.abi.json
SwiftCompile normal arm64_32 (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ ClosureContainer.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/ClosureContainer.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/ClosureContainer.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ClosureContainer.swift
SwiftCompile normal arm64_32 Compiling\ AlertVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:21:48: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var presentedCount = 0
20 |
21 | @objc public var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var animated: Bool = false
23 | @objc public var title: String?
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift:25:38: error: 'UIAlertController' is unavailable in watchOS
23 | @objc public var title: String?
24 | @objc public var message: String?
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
| `- error: 'UIAlertController' is unavailable in watchOS
26 | @objc public var actions: [UIAlertAction] = []
27 | @objc public var preferredAction: UIAlertAction?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:26:32: error: 'UIAlertAction' is unavailable in watchOS
24 | @objc public var message: String?
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
26 | @objc public var actions: [UIAlertAction] = []
| `- error: 'UIAlertAction' is unavailable in watchOS
27 | @objc public var preferredAction: UIAlertAction?
28 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:27:39: error: 'UIAlertAction' is unavailable in watchOS
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
26 | @objc public var actions: [UIAlertAction] = []
27 | @objc public var preferredAction: UIAlertAction?
| `- error: 'UIAlertAction' is unavailable in watchOS
28 | #if os(iOS)
29 | @objc public var popover: UIPopoverPresentationController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:31:35: error: 'UITextField' is unavailable in watchOS
29 | @objc public var popover: UIPopoverPresentationController?
30 | #endif
31 | @objc public var textFields: [UITextField]?
| `- error: 'UITextField' is unavailable in watchOS
32 |
33 | private(set) static var isSwizzled = 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/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:120:61: error: 'UIAlertAction' is unavailable in watchOS
118 | }
119 |
120 | private func actionWithTitle(_ title: String) throws -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
121 | for action in actions {
122 | if action.title == title {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:139:25: error: 'UIAlertController' is unavailable in watchOS
137 | animated: Bool,
138 | actions: [Action],
139 | preferredStyle: UIAlertController.Style = .alert,
| `- error: 'UIAlertController' is unavailable in watchOS
140 | presentingViewController: UIViewController? = nil,
141 | fileID: String = #fileID,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:140:35: error: 'UIViewController' is unavailable in watchOS
138 | actions: [Action],
139 | preferredStyle: UIAlertController.Style = .alert,
140 | presentingViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
141 | fileID: String = #fileID,
142 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AlertVerifier.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:263:19: error: 'UIAlertController' is unavailable in watchOS
261 |
262 | private func verifyPreferredStyle(
263 | expected: UIAlertController.Style,
| `- error: 'UIAlertController' is unavailable in watchOS
264 | fileID: String = #fileID,
265 | filePath: StaticString = #filePath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:80:9: error: 'UIAlertAction' is unavailable in watchOS
78 |
79 | @objc private static func swizzleMocks() {
80 | UIAlertAction.swizzle()
| `- error: 'UIAlertAction' is unavailable in watchOS
81 | UIAlertController.swizzle()
82 | UIViewController.swizzleCaptureAlert()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:81:9: error: 'UIAlertController' is unavailable in watchOS
79 | @objc private static func swizzleMocks() {
80 | UIAlertAction.swizzle()
81 | UIAlertController.swizzle()
| `- error: 'UIAlertController' is unavailable in watchOS
82 | UIViewController.swizzleCaptureAlert()
83 | AlertVerifier.isSwizzled.toggle()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:82:9: error: 'UIViewController' is unavailable in watchOS
80 | UIAlertAction.swizzle()
81 | UIAlertController.swizzle()
82 | UIViewController.swizzleCaptureAlert()
| `- error: 'UIViewController' is unavailable in watchOS
83 | AlertVerifier.isSwizzled.toggle()
84 | }
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift:88:92: error: 'UIViewController' is unavailable in watchOS
86 | @objc private func alertControllerWasPresented(_ notification: Notification) {
87 | presentedCount += 1
88 | presentingViewController = notification.userInfo?[presentingViewControllerKey] as? UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
89 | animated = (notification.userInfo?[animatedKey] as? NSNumber)?.boolValue ?? false
90 | let closureContainer = notification.userInfo?[completionKey] as? ClosureContainer
/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\ UIAlertAction+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:66: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:98: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:15:127: error: 'UIAlertAction' is unavailable in watchOS
13 | }
14 |
15 | @objc class func mock_action(withTitle title: String, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)?) -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
16 | let action = Self.mock_action(withTitle: title, style: style, handler: handler)
17 | let extraProperties = UIAlertActionExtraProperties(handler: handler)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:22:25: error: 'UIAlertAction' is unavailable in watchOS
20 | }
21 |
22 | func handler() -> ((UIAlertAction) -> Void)? {
| `- error: 'UIAlertAction' is unavailable in watchOS
23 | guard let extraProperties: UIAlertActionExtraProperties = objc_getAssociatedObject(self, UIAlertActionExtraProperties.associatedObjectKey)
24 | as? UIAlertActionExtraProperties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:7:11: error: 'UIAlertAction' is unavailable in watchOS
5 | import UIKit
6 |
7 | extension UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
8 | static func swizzle() {
9 | replaceClassMethod(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift:35:27: error: 'UIAlertAction' is unavailable in watchOS
33 | @MainActor fileprivate static let associatedObjectKey = UnsafeMutableRawPointer.allocate(byteCount: 1, alignment: 1)
34 |
35 | public let handler: ((UIAlertAction) -> Void)?
| `- error: 'UIAlertAction' is unavailable in watchOS
36 |
37 | init(handler: ((UIAlertAction) -> Void)?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertAction+Mocking.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIAlertAction+Mocking.swift
SwiftCompile normal arm64_32 Compiling\ DismissalVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/DismissalVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/DismissalVerifier.swift:21:47: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var dismissedCount = 0
20 |
21 | @objc public var dismissedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var animated: Bool = false
23 |
/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/Source/ViewControllerPresentationSpy/DismissalVerifier.swift:91:34: error: 'UIViewController' is unavailable in watchOS
89 | func verify(
90 | animated: Bool,
91 | dismissedViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
92 | fileID: String = #fileID,
93 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/DismissalVerifier.swift:69:9: error: 'UIViewController' is unavailable in watchOS
67 |
68 | @objc private static func swizzleMocks() {
69 | UIViewController.swizzleCaptureDismiss()
| `- error: 'UIViewController' is unavailable in watchOS
70 | DismissalVerifier.isSwizzled.toggle()
71 | }
/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/Source/ViewControllerPresentationSpy/DismissalVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DismissalVerifier.swift
SwiftCompile normal arm64_32 Compiling\ PresentationVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/PresentationVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:21:47: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var presentedCount = 0
20 |
21 | @objc public var presentedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var presentingViewController: UIViewController?
23 | @objc public var animated: Bool = 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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:22:48: error: 'UIViewController' is unavailable in watchOS
20 |
21 | @objc public var presentedViewController: UIViewController?
22 | @objc public var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
23 | @objc public var animated: Bool = false
24 |
/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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:104:40: error: 'UIViewController' is unavailable in watchOS
102 | Verifies presentation of one view controller.
103 | */
104 | @discardableResult func verify<VC: UIViewController>(
| `- error: 'UIViewController' is unavailable in watchOS
105 | animated: Bool,
106 | presentingViewController: UIViewController? = 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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:106:35: error: 'UIViewController' is unavailable in watchOS
104 | @discardableResult func verify<VC: UIViewController>(
105 | animated: Bool,
106 | presentingViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
107 | fileID: String = #fileID,
108 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:83:9: error: 'UIViewController' is unavailable in watchOS
81 |
82 | @objc private static func swizzleMocks() {
83 | UIViewController.swizzleCapturePresent()
| `- error: 'UIViewController' is unavailable in watchOS
84 | PresentationVerifier.isSwizzled.toggle()
85 | }
/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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift:89:59: error: 'UIViewController' is unavailable in watchOS
87 | @objc private func viewControllerWasPresented(_ notification: Notification) {
88 | presentedCount += 1
89 | presentedViewController = notification.object as? UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
90 | presentingViewController = notification.userInfo?[presentingViewControllerKey] as? UIViewController
91 | animated = (notification.userInfo?[animatedKey] as? NSNumber)?.boolValue ?? 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/Source/ViewControllerPresentationSpy/PresentationVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PresentationVerifier.swift
SwiftCompile normal arm64 Compiling\ AlertVerifier.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:21:48: error: 'UIViewController' is unavailable in watchOS
19 | @objc public var presentedCount = 0
20 |
21 | @objc public var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
22 | @objc public var animated: Bool = false
23 | @objc public var title: String?
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift:25:38: error: 'UIAlertController' is unavailable in watchOS
23 | @objc public var title: String?
24 | @objc public var message: String?
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
| `- error: 'UIAlertController' is unavailable in watchOS
26 | @objc public var actions: [UIAlertAction] = []
27 | @objc public var preferredAction: UIAlertAction?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:26:32: error: 'UIAlertAction' is unavailable in watchOS
24 | @objc public var message: String?
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
26 | @objc public var actions: [UIAlertAction] = []
| `- error: 'UIAlertAction' is unavailable in watchOS
27 | @objc public var preferredAction: UIAlertAction?
28 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:27:39: error: 'UIAlertAction' is unavailable in watchOS
25 | @objc public var preferredStyle: UIAlertController.Style = .alert
26 | @objc public var actions: [UIAlertAction] = []
27 | @objc public var preferredAction: UIAlertAction?
| `- error: 'UIAlertAction' is unavailable in watchOS
28 | #if os(iOS)
29 | @objc public var popover: UIPopoverPresentationController?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:31:35: error: 'UITextField' is unavailable in watchOS
29 | @objc public var popover: UIPopoverPresentationController?
30 | #endif
31 | @objc public var textFields: [UITextField]?
| `- error: 'UITextField' is unavailable in watchOS
32 |
33 | private(set) static var isSwizzled = 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/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:120:61: error: 'UIAlertAction' is unavailable in watchOS
118 | }
119 |
120 | private func actionWithTitle(_ title: String) throws -> UIAlertAction {
| `- error: 'UIAlertAction' is unavailable in watchOS
121 | for action in actions {
122 | if action.title == title {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:139:25: error: 'UIAlertController' is unavailable in watchOS
137 | animated: Bool,
138 | actions: [Action],
139 | preferredStyle: UIAlertController.Style = .alert,
| `- error: 'UIAlertController' is unavailable in watchOS
140 | presentingViewController: UIViewController? = nil,
141 | fileID: String = #fileID,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:140:35: error: 'UIViewController' is unavailable in watchOS
138 | actions: [Action],
139 | preferredStyle: UIAlertController.Style = .alert,
140 | presentingViewController: UIViewController? = nil,
| `- error: 'UIViewController' is unavailable in watchOS
141 | fileID: String = #fileID,
142 | filePath: StaticString = #filePath,
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift:263:19: error: 'UIAlertController' is unavailable in watchOS
261 |
262 | private func verifyPreferredStyle(
263 | expected: UIAlertController.Style,
| `- error: 'UIAlertController' is unavailable in watchOS
264 | fileID: String = #fileID,
265 | filePath: StaticString = #filePath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:80:9: error: 'UIAlertAction' is unavailable in watchOS
78 |
79 | @objc private static func swizzleMocks() {
80 | UIAlertAction.swizzle()
| `- error: 'UIAlertAction' is unavailable in watchOS
81 | UIAlertController.swizzle()
82 | UIViewController.swizzleCaptureAlert()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:81:9: error: 'UIAlertController' is unavailable in watchOS
79 | @objc private static func swizzleMocks() {
80 | UIAlertAction.swizzle()
81 | UIAlertController.swizzle()
| `- error: 'UIAlertController' is unavailable in watchOS
82 | UIViewController.swizzleCaptureAlert()
83 | AlertVerifier.isSwizzled.toggle()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:82:9: error: 'UIViewController' is unavailable in watchOS
80 | UIAlertAction.swizzle()
81 | UIAlertController.swizzle()
82 | UIViewController.swizzleCaptureAlert()
| `- error: 'UIViewController' is unavailable in watchOS
83 | AlertVerifier.isSwizzled.toggle()
84 | }
/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/Source/ViewControllerPresentationSpy/AlertVerifier.swift:88:92: error: 'UIViewController' is unavailable in watchOS
86 | @objc private func alertControllerWasPresented(_ notification: Notification) {
87 | presentedCount += 1
88 | presentingViewController = notification.userInfo?[presentingViewControllerKey] as? UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
89 | animated = (notification.userInfo?[animatedKey] as? NSNumber)?.boolValue ?? false
90 | let closureContainer = notification.userInfo?[completionKey] as? ClosureContainer
/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 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AlertVerifier.swift
SwiftCompile normal arm64_32 Compiling\ VerifyHelpers.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/VerifyHelpers.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/VerifyHelpers.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VerifyHelpers.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ViewControllerPresentationSpy (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64 (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ FailKit (in target 'FailKit' from project 'FailKit')
SwiftCompile normal arm64 (in target 'FailKit' from project 'FailKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling ClosureContainer.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64 Compiling\ UIAlertController+Mocking.swift /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/UIAlertController+Mocking.swift (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIAlertController+Mocking.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-22 09:51:51.509 xcodebuild[866:5256] [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\ ViewControllerPresentationSpy (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
SwiftCompile normal arm64_32 (in target 'ViewControllerPresentationSpy' from project 'ViewControllerPresentationSpy')
Building workspace ViewControllerPresentationSpy with scheme ViewControllerPresentationSpy
(3 failures)
BUILD FAILURE 6.4 watchOS