Build Information
Failed to build CRToastSwift, reference 0.1.2 (570435), with Swift 6.4 for watchOS using Xcode 27.0 on 16 Sep 2026 12:59:50 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 CRToastSwift -destination generic/platform=watchOSBuild Log
402 | if let notificationView = self.notificationView, let statusBarView = self.statusBarView, let rootViewController = self.notificationWindow.rootViewController {
403 | toast.initiateAnimator(rootViewController.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:597:47: error: 'UICollisionBehavior' is unavailable in watchOS
595 | */
596 |
597 | public func collisionBehavior(_ behavior: UICollisionBehavior, endedContactFor item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying?) {
| `- error: 'UICollisionBehavior' is unavailable in watchOS
598 | if let cb = self.gravityAnimationCompletion {
599 | cb(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h:40:12: note: 'UICollisionBehavior' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
40 | @interface UICollisionBehavior : UIDynamicBehavior
| `- note: 'UICollisionBehavior' has been explicitly marked unavailable here
41 |
42 | - (instancetype)initWithItems:(NSArray<id <UIDynamicItem>> *)items NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:597:90: error: 'UIDynamicItem' is unavailable in watchOS
595 | */
596 |
597 | public func collisionBehavior(_ behavior: UICollisionBehavior, endedContactFor item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying?) {
| `- error: 'UIDynamicItem' is unavailable in watchOS
598 | if let cb = self.gravityAnimationCompletion {
599 | cb(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h:25:11: note: 'UIDynamicItem' has been explicitly marked unavailable here
23 |
24 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
25 | @protocol UIDynamicItem <NSObject>
| `- note: 'UIDynamicItem' has been explicitly marked unavailable here
26 |
27 | @property (nonatomic, readwrite) CGPoint center;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:603:47: error: 'UICollisionBehavior' is unavailable in watchOS
601 | }
602 |
603 | public func collisionBehavior(_ behavior: UICollisionBehavior, endedContactFor item1: UIDynamicItem, with item2: UIDynamicItem) {
| `- error: 'UICollisionBehavior' is unavailable in watchOS
604 | if let _ = item1 as? CRToastView { // ignore
605 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h:40:12: note: 'UICollisionBehavior' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
40 | @interface UICollisionBehavior : UIDynamicBehavior
| `- note: 'UICollisionBehavior' has been explicitly marked unavailable here
41 |
42 | - (instancetype)initWithItems:(NSArray<id <UIDynamicItem>> *)items NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:603:91: error: 'UIDynamicItem' is unavailable in watchOS
601 | }
602 |
603 | public func collisionBehavior(_ behavior: UICollisionBehavior, endedContactFor item1: UIDynamicItem, with item2: UIDynamicItem) {
| `- error: 'UIDynamicItem' is unavailable in watchOS
604 | if let _ = item1 as? CRToastView { // ignore
605 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h:25:11: note: 'UIDynamicItem' has been explicitly marked unavailable here
23 |
24 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
25 | @protocol UIDynamicItem <NSObject>
| `- note: 'UIDynamicItem' has been explicitly marked unavailable here
26 |
27 | @property (nonatomic, readwrite) CGPoint center;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:603:118: error: 'UIDynamicItem' is unavailable in watchOS
601 | }
602 |
603 | public func collisionBehavior(_ behavior: UICollisionBehavior, endedContactFor item1: UIDynamicItem, with item2: UIDynamicItem) {
| `- error: 'UIDynamicItem' is unavailable in watchOS
604 | if let _ = item1 as? CRToastView { // ignore
605 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h:25:11: note: 'UIDynamicItem' has been explicitly marked unavailable here
23 |
24 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
25 | @protocol UIDynamicItem <NSObject>
| `- note: 'UIDynamicItem' has been explicitly marked unavailable here
26 |
27 | @property (nonatomic, readwrite) CGPoint center;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:524:28: error: 'UICollisionBehaviorDelegate' is unavailable in watchOS
522 | }
523 |
524 | extension CRToastManager : UICollisionBehaviorDelegate {
| `- error: 'UICollisionBehaviorDelegate' is unavailable in watchOS
525 | /*
526 | // for funsies, emit particles from the point of contact
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h:26:11: note: 'UICollisionBehaviorDelegate' has been explicitly marked unavailable here
24 |
25 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
26 | @protocol UICollisionBehaviorDelegate <NSObject>
| `- note: 'UICollisionBehaviorDelegate' has been explicitly marked unavailable here
27 | @optional
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:88:28: error: 'UIImageView' is unavailable in watchOS
86 |
87 | public class CRToastView : UIView {
88 | public var imageView : UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
89 | public var activityIndicator : UIActivityIndicatorView
90 | public var label : UILabel
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:89:36: error: 'UIActivityIndicatorView' is unavailable in watchOS
87 | public class CRToastView : UIView {
88 | public var imageView : UIImageView
89 | public var activityIndicator : UIActivityIndicatorView
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
90 | public var label : UILabel
91 | public var subtitleLabel : UILabel
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:90:24: error: 'UILabel' is unavailable in watchOS
88 | public var imageView : UIImageView
89 | public var activityIndicator : UIActivityIndicatorView
90 | public var label : UILabel
| `- error: 'UILabel' is unavailable in watchOS
91 | public var subtitleLabel : UILabel
92 | public var backgroundView : UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:91:32: error: 'UILabel' is unavailable in watchOS
89 | public var activityIndicator : UIActivityIndicatorView
90 | public var label : UILabel
91 | public var subtitleLabel : UILabel
| `- error: 'UILabel' is unavailable in watchOS
92 | public var backgroundView : UIView?
93 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:92:33: error: 'UIView' is unavailable in watchOS
90 | public var label : UILabel
91 | public var subtitleLabel : UILabel
92 | public var backgroundView : UIView?
| `- error: 'UIView' is unavailable in watchOS
93 |
94 | public var toast : CRToast? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:87:28: error: 'UIView' is unavailable in watchOS
85 | }
86 |
87 | public class CRToastView : UIView {
| `- error: 'UIView' is unavailable in watchOS
88 | public var imageView : UIImageView
89 | public var activityIndicator : UIActivityIndicatorView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:5:30: error: 'UIView' is unavailable in watchOS
3 | let iOS9 = floor(NSFoundationVersionNumber) >= floor(NSFoundationVersionNumber_iOS_9_0)
4 |
5 | class CRToastContainerView : UIView {
| `- error: 'UIView' is unavailable in watchOS
6 |
7 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:12:28: error: 'UIView' is unavailable in watchOS
10 | public var autorotate : Bool = true
11 | public var notification : CRToast?
12 | public var toastView : UIView?
| `- error: 'UIView' is unavailable in watchOS
13 | public var statusBarStyle : UIStatusBarStyle = .default {
14 | didSet {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:13:33: error: 'UIStatusBarStyle' is unavailable in watchOS
11 | public var notification : CRToast?
12 | public var toastView : UIView?
13 | public var statusBarStyle : UIStatusBarStyle = .default {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
14 | didSet {
15 | self.setNeedsStatusBarAppearanceUpdate()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:20:25: error: cannot override 'shouldAutorotate' which has been marked unavailable
18 |
19 | // MARK : UIViewController
20 | public override var shouldAutorotate: Bool { return autorotate }
| |- error: cannot override 'shouldAutorotate' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'shouldAutorotate'
21 |
22 | public override var prefersStatusBarHidden: Bool { return UIApplication.shared.isStatusBarHidden }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:384:37: note: 'shouldAutorotate' has been explicitly marked unavailable here
382 |
383 | // New Autorotation support.
384 | @property(nonatomic, readonly) BOOL shouldAutorotate API_DEPRECATED("Update supported interface orientations and call setNeedsUpdateOfSupportedInterfaceOrientations to indicate a change.", ios(6.0, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
| `- note: 'shouldAutorotate' has been explicitly marked unavailable here
385 | @property(nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(tvos);
386 | // Returns interface orientation masks.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:24:50: error: 'UIStatusBarStyle' is unavailable in watchOS
22 | public override var prefersStatusBarHidden: Bool { return UIApplication.shared.isStatusBarHidden }
23 |
24 | public override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
25 | return statusBarStyle
26 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:32:73: error: 'UIInterfaceOrientation' is unavailable in watchOS
30 | }
31 |
32 | public override func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration: TimeInterval) {
| `- error: 'UIInterfaceOrientation' is unavailable in watchOS
33 | super.willAnimateRotation(to: toInterfaceOrientation, duration: duration)
34 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
| `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 | UIInterfaceOrientationUnknown = UIDeviceOrientationUnknown,
43 | UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:32:26: error: cannot override 'willAnimateRotation' which has been marked unavailable
30 | }
31 |
32 | public override func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration: TimeInterval) {
| |- error: cannot override 'willAnimateRotation' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'willAnimateRotation'
33 | super.willAnimateRotation(to: toInterfaceOrientation, duration: duration)
34 |
/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:403:1: note: 'willAnimateRotation(to:duration:)' has been explicitly marked unavailable here
401 | - (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation API_DEPRECATED("", ios(2.0, 8.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos);
402 |
403 | - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration API_DEPRECATED("Implement viewWillTransitionToSize:withTransitionCoordinator: instead", ios(3.0, 8.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos);
| `- note: 'willAnimateRotation(to:duration:)' has been explicitly marked unavailable here
404 |
405 | - (void)willAnimateFirstHalfOfRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration API_DEPRECATED("", ios(2.0, 5.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:41:80: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
39 | }
40 |
41 | public override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
| `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
42 | super.viewWillTransition(to: size, with: coordinator)
43 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
79 |
80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
| `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
82 |
83 |
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:9:38: error: 'UIViewController' is unavailable in watchOS
7 | }
8 |
9 | public class CRToastViewController : UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
10 | public var autorotate : Bool = true
11 | public var notification : CRToast?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastWindow.swift:6:67: error: 'UIEvent' is unavailable in watchOS
4 |
5 | public class CRToastWindow : UIWindow {
6 | public override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
7 | for subview in self.subviews {
8 | if subview.hitTest(self.convert(point, to: subview), with: event) != nil { return true }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastWindow.swift:5:30: error: 'UIWindow' is unavailable in watchOS
3 | import UIKit
4 |
5 | public class CRToastWindow : UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
6 | public override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
7 | for subview in self.subviews {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64_32 (in target 'CRToastSwift' from project 'CRToastSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ CRToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift (in target 'CRToastSwift' from project 'CRToastSwift')
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:88:28: error: 'UIImageView' is unavailable in watchOS
86 |
87 | public class CRToastView : UIView {
88 | public var imageView : UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
89 | public var activityIndicator : UIActivityIndicatorView
90 | public var label : UILabel
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:89:36: error: 'UIActivityIndicatorView' is unavailable in watchOS
87 | public class CRToastView : UIView {
88 | public var imageView : UIImageView
89 | public var activityIndicator : UIActivityIndicatorView
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
90 | public var label : UILabel
91 | public var subtitleLabel : UILabel
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:90:24: error: 'UILabel' is unavailable in watchOS
88 | public var imageView : UIImageView
89 | public var activityIndicator : UIActivityIndicatorView
90 | public var label : UILabel
| `- error: 'UILabel' is unavailable in watchOS
91 | public var subtitleLabel : UILabel
92 | public var backgroundView : UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:91:32: error: 'UILabel' is unavailable in watchOS
89 | public var activityIndicator : UIActivityIndicatorView
90 | public var label : UILabel
91 | public var subtitleLabel : UILabel
| `- error: 'UILabel' is unavailable in watchOS
92 | public var backgroundView : UIView?
93 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:92:33: error: 'UIView' is unavailable in watchOS
90 | public var label : UILabel
91 | public var subtitleLabel : UILabel
92 | public var backgroundView : UIView?
| `- error: 'UIView' is unavailable in watchOS
93 |
94 | public var toast : CRToast? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:87:28: error: 'UIView' is unavailable in watchOS
85 | }
86 |
87 | public class CRToastView : UIView {
| `- error: 'UIView' is unavailable in watchOS
88 | public var imageView : UIImageView
89 | public var activityIndicator : UIActivityIndicatorView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:134:21: error: 'UIImageView' is unavailable in watchOS
132 |
133 | override init(frame: CGRect) {
134 | imageView = UIImageView(frame: CGRect.zero)
| `- error: 'UIImageView' is unavailable in watchOS
135 | activityIndicator = UIActivityIndicatorView(style: .white)
136 | label = UILabel(frame: CGRect.zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:135:29: error: 'UIActivityIndicatorView' is unavailable in watchOS
133 | override init(frame: CGRect) {
134 | imageView = UIImageView(frame: CGRect.zero)
135 | activityIndicator = UIActivityIndicatorView(style: .white)
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
136 | label = UILabel(frame: CGRect.zero)
137 | subtitleLabel = UILabel(frame: CGRect.zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:135:61: error: 'white' is unavailable in watchOS
133 | override init(frame: CGRect) {
134 | imageView = UIImageView(frame: CGRect.zero)
135 | activityIndicator = UIActivityIndicatorView(style: .white)
| `- error: 'white' is unavailable in watchOS
136 | label = UILabel(frame: CGRect.zero)
137 | subtitleLabel = UILabel(frame: CGRect.zero)
UIKit.UIActivityIndicatorView.Style.white:4:10: note: 'white' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case white }
| `- note: 'white' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:136:17: error: 'UILabel' is unavailable in watchOS
134 | imageView = UIImageView(frame: CGRect.zero)
135 | activityIndicator = UIActivityIndicatorView(style: .white)
136 | label = UILabel(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
137 | subtitleLabel = UILabel(frame: CGRect.zero)
138 | defer {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:137:25: error: 'UILabel' is unavailable in watchOS
135 | activityIndicator = UIActivityIndicatorView(style: .white)
136 | label = UILabel(frame: CGRect.zero)
137 | subtitleLabel = UILabel(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
138 | defer {
139 | self.isUserInteractionEnabled = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:140:18: error: 'accessibilityLabel' is unavailable in watchOS
138 | defer {
139 | self.isUserInteractionEnabled = true
140 | self.accessibilityLabel = className(for: self)
| `- error: 'accessibilityLabel' is unavailable in watchOS
141 | self.autoresizingMask = .flexibleWidth
142 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
62 | Setting the property will change the label that is returned to the accessibility client.
63 | */
64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityLabel' has been explicitly marked unavailable here
65 |
66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:156:18: error: 'isAccessibilityElement' is unavailable in watchOS
154 | self.addSubview(subtitleLabel)
155 |
156 | self.isAccessibilityElement = true
| `- error: 'isAccessibilityElement' is unavailable in watchOS
157 | }
158 | super.init(frame: frame)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:162:21: error: 'UIImageView' is unavailable in watchOS
160 |
161 | required init?(coder aDecoder: NSCoder) {
162 | imageView = UIImageView(frame: CGRect.zero)
| `- error: 'UIImageView' is unavailable in watchOS
163 | activityIndicator = UIActivityIndicatorView(style: .white)
164 | label = UILabel(frame: CGRect.zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:163:29: error: 'UIActivityIndicatorView' is unavailable in watchOS
161 | required init?(coder aDecoder: NSCoder) {
162 | imageView = UIImageView(frame: CGRect.zero)
163 | activityIndicator = UIActivityIndicatorView(style: .white)
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
164 | label = UILabel(frame: CGRect.zero)
165 | subtitleLabel = UILabel(frame: CGRect.zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:163:61: error: 'white' is unavailable in watchOS
161 | required init?(coder aDecoder: NSCoder) {
162 | imageView = UIImageView(frame: CGRect.zero)
163 | activityIndicator = UIActivityIndicatorView(style: .white)
| `- error: 'white' is unavailable in watchOS
164 | label = UILabel(frame: CGRect.zero)
165 | subtitleLabel = UILabel(frame: CGRect.zero)
UIKit.UIActivityIndicatorView.Style.white:4:10: note: 'white' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case white }
| `- note: 'white' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:164:17: error: 'UILabel' is unavailable in watchOS
162 | imageView = UIImageView(frame: CGRect.zero)
163 | activityIndicator = UIActivityIndicatorView(style: .white)
164 | label = UILabel(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
165 | subtitleLabel = UILabel(frame: CGRect.zero)
166 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift (in target 'CRToastSwift' from project 'CRToastSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CRToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:165:25: error: 'UILabel' is unavailable in watchOS
163 | activityIndicator = UIActivityIndicatorView(style: .white)
164 | label = UILabel(frame: CGRect.zero)
165 | subtitleLabel = UILabel(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
166 |
167 | super.init(coder: aDecoder)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:170:14: error: 'accessibilityLabel' is unavailable in watchOS
168 |
169 | self.isUserInteractionEnabled = true
170 | self.accessibilityLabel = className(for: self)
| `- error: 'accessibilityLabel' is unavailable in watchOS
171 | self.autoresizingMask = .flexibleWidth
172 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
62 | Setting the property will change the label that is returned to the accessibility client.
63 | */
64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityLabel' has been explicitly marked unavailable here
65 |
66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:186:14: error: 'isAccessibilityElement' is unavailable in watchOS
184 | self.addSubview(subtitleLabel)
185 |
186 | self.isAccessibilityElement = true
| `- error: 'isAccessibilityElement' is unavailable in watchOS
187 | }
188 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:191:20: error: 'UIApplication' is unavailable in watchOS
189 | var hasTopNotch: Bool {
190 | if #available(iOS 11.0, *) {
191 | return UIApplication.shared.delegate?.window??.safeAreaInsets.top ?? 0 > 20
| `- error: 'UIApplication' is unavailable in watchOS
192 | }
193 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64_32 Compiling\ CRToastViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift (in target 'CRToastSwift' from project 'CRToastSwift')
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:5:30: error: 'UIView' is unavailable in watchOS
3 | let iOS9 = floor(NSFoundationVersionNumber) >= floor(NSFoundationVersionNumber_iOS_9_0)
4 |
5 | class CRToastContainerView : UIView {
| `- error: 'UIView' is unavailable in watchOS
6 |
7 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:12:28: error: 'UIView' is unavailable in watchOS
10 | public var autorotate : Bool = true
11 | public var notification : CRToast?
12 | public var toastView : UIView?
| `- error: 'UIView' is unavailable in watchOS
13 | public var statusBarStyle : UIStatusBarStyle = .default {
14 | didSet {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:13:33: error: 'UIStatusBarStyle' is unavailable in watchOS
11 | public var notification : CRToast?
12 | public var toastView : UIView?
13 | public var statusBarStyle : UIStatusBarStyle = .default {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
14 | didSet {
15 | self.setNeedsStatusBarAppearanceUpdate()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:20:25: error: cannot override 'shouldAutorotate' which has been marked unavailable
18 |
19 | // MARK : UIViewController
20 | public override var shouldAutorotate: Bool { return autorotate }
| |- error: cannot override 'shouldAutorotate' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'shouldAutorotate'
21 |
22 | public override var prefersStatusBarHidden: Bool { return UIApplication.shared.isStatusBarHidden }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:384:37: note: 'shouldAutorotate' has been explicitly marked unavailable here
382 |
383 | // New Autorotation support.
384 | @property(nonatomic, readonly) BOOL shouldAutorotate API_DEPRECATED("Update supported interface orientations and call setNeedsUpdateOfSupportedInterfaceOrientations to indicate a change.", ios(6.0, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
| `- note: 'shouldAutorotate' has been explicitly marked unavailable here
385 | @property(nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(tvos);
386 | // Returns interface orientation masks.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:24:50: error: 'UIStatusBarStyle' is unavailable in watchOS
22 | public override var prefersStatusBarHidden: Bool { return UIApplication.shared.isStatusBarHidden }
23 |
24 | public override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
25 | return statusBarStyle
26 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:32:73: error: 'UIInterfaceOrientation' is unavailable in watchOS
30 | }
31 |
32 | public override func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration: TimeInterval) {
| `- error: 'UIInterfaceOrientation' is unavailable in watchOS
33 | super.willAnimateRotation(to: toInterfaceOrientation, duration: duration)
34 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
| `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 | UIInterfaceOrientationUnknown = UIDeviceOrientationUnknown,
43 | UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:32:26: error: cannot override 'willAnimateRotation' which has been marked unavailable
30 | }
31 |
32 | public override func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration: TimeInterval) {
| |- error: cannot override 'willAnimateRotation' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'willAnimateRotation'
33 | super.willAnimateRotation(to: toInterfaceOrientation, duration: duration)
34 |
/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:403:1: note: 'willAnimateRotation(to:duration:)' has been explicitly marked unavailable here
401 | - (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation API_DEPRECATED("", ios(2.0, 8.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos);
402 |
403 | - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration API_DEPRECATED("Implement viewWillTransitionToSize:withTransitionCoordinator: instead", ios(3.0, 8.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos);
| `- note: 'willAnimateRotation(to:duration:)' has been explicitly marked unavailable here
404 |
405 | - (void)willAnimateFirstHalfOfRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration API_DEPRECATED("", ios(2.0, 5.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:41:80: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
39 | }
40 |
41 | public override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
| `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
42 | super.viewWillTransition(to: size, with: coordinator)
43 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
79 |
80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
| `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
82 |
83 |
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:9:38: error: 'UIViewController' is unavailable in watchOS
7 | }
8 |
9 | public class CRToastViewController : UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
10 | public var autorotate : Bool = true
11 | public var notification : CRToast?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:22:63: error: 'UIApplication' is unavailable in watchOS
20 | public override var shouldAutorotate: Bool { return autorotate }
21 |
22 | public override var prefersStatusBarHidden: Bool { return UIApplication.shared.isStatusBarHidden }
| `- error: 'UIApplication' is unavailable in watchOS
23 |
24 | public override var preferredStatusBarStyle: UIStatusBarStyle {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift:22:84: warning: 'isStatusBarHidden' was deprecated in watchOS 6.0: Use the statusBarManager property of the window scene instead. [#DeprecatedDeclaration]
20 | public override var shouldAutorotate: Bool { return autorotate }
21 |
22 | public override var prefersStatusBarHidden: Bool { return UIApplication.shared.isStatusBarHidden }
| `- warning: 'isStatusBarHidden' was deprecated in watchOS 6.0: Use the statusBarManager property of the window scene instead. [#DeprecatedDeclaration]
23 |
24 | public override var preferredStatusBarStyle: UIStatusBarStyle {
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastViewController.swift (in target 'CRToastSwift' from project 'CRToastSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CRToastViewController.swift
SwiftCompile normal arm64_32 Compiling\ CRToastWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastWindow.swift (in target 'CRToastSwift' from project 'CRToastSwift')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastWindow.swift (in target 'CRToastSwift' from project 'CRToastSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CRToastWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastWindow.swift:6:67: error: 'UIEvent' is unavailable in watchOS
4 |
5 | public class CRToastWindow : UIWindow {
6 | public override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
7 | for subview in self.subviews {
8 | if subview.hitTest(self.convert(point, to: subview), with: event) != nil { return true }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
SwiftCompile normal arm64 Compiling\ CRToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift (in target 'CRToastSwift' from project 'CRToastSwift')
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:88:28: error: 'UIImageView' is unavailable in watchOS
86 |
87 | public class CRToastView : UIView {
88 | public var imageView : UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
89 | public var activityIndicator : UIActivityIndicatorView
90 | public var label : UILabel
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:89:36: error: 'UIActivityIndicatorView' is unavailable in watchOS
87 | public class CRToastView : UIView {
88 | public var imageView : UIImageView
89 | public var activityIndicator : UIActivityIndicatorView
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
90 | public var label : UILabel
91 | public var subtitleLabel : UILabel
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:90:24: error: 'UILabel' is unavailable in watchOS
88 | public var imageView : UIImageView
89 | public var activityIndicator : UIActivityIndicatorView
90 | public var label : UILabel
| `- error: 'UILabel' is unavailable in watchOS
91 | public var subtitleLabel : UILabel
92 | public var backgroundView : UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:91:32: error: 'UILabel' is unavailable in watchOS
89 | public var activityIndicator : UIActivityIndicatorView
90 | public var label : UILabel
91 | public var subtitleLabel : UILabel
| `- error: 'UILabel' is unavailable in watchOS
92 | public var backgroundView : UIView?
93 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:92:33: error: 'UIView' is unavailable in watchOS
90 | public var label : UILabel
91 | public var subtitleLabel : UILabel
92 | public var backgroundView : UIView?
| `- error: 'UIView' is unavailable in watchOS
93 |
94 | public var toast : CRToast? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:87:28: error: 'UIView' is unavailable in watchOS
85 | }
86 |
87 | public class CRToastView : UIView {
| `- error: 'UIView' is unavailable in watchOS
88 | public var imageView : UIImageView
89 | public var activityIndicator : UIActivityIndicatorView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:134:21: error: 'UIImageView' is unavailable in watchOS
132 |
133 | override init(frame: CGRect) {
134 | imageView = UIImageView(frame: CGRect.zero)
| `- error: 'UIImageView' is unavailable in watchOS
135 | activityIndicator = UIActivityIndicatorView(style: .white)
136 | label = UILabel(frame: CGRect.zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:135:29: error: 'UIActivityIndicatorView' is unavailable in watchOS
133 | override init(frame: CGRect) {
134 | imageView = UIImageView(frame: CGRect.zero)
135 | activityIndicator = UIActivityIndicatorView(style: .white)
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
136 | label = UILabel(frame: CGRect.zero)
137 | subtitleLabel = UILabel(frame: CGRect.zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:135:61: error: 'white' is unavailable in watchOS
133 | override init(frame: CGRect) {
134 | imageView = UIImageView(frame: CGRect.zero)
135 | activityIndicator = UIActivityIndicatorView(style: .white)
| `- error: 'white' is unavailable in watchOS
136 | label = UILabel(frame: CGRect.zero)
137 | subtitleLabel = UILabel(frame: CGRect.zero)
UIKit.UIActivityIndicatorView.Style.white:4:10: note: 'white' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case white }
| `- note: 'white' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:136:17: error: 'UILabel' is unavailable in watchOS
134 | imageView = UIImageView(frame: CGRect.zero)
135 | activityIndicator = UIActivityIndicatorView(style: .white)
136 | label = UILabel(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
137 | subtitleLabel = UILabel(frame: CGRect.zero)
138 | defer {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:137:25: error: 'UILabel' is unavailable in watchOS
135 | activityIndicator = UIActivityIndicatorView(style: .white)
136 | label = UILabel(frame: CGRect.zero)
137 | subtitleLabel = UILabel(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
138 | defer {
139 | self.isUserInteractionEnabled = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:140:18: error: 'accessibilityLabel' is unavailable in watchOS
138 | defer {
139 | self.isUserInteractionEnabled = true
140 | self.accessibilityLabel = className(for: self)
| `- error: 'accessibilityLabel' is unavailable in watchOS
141 | self.autoresizingMask = .flexibleWidth
142 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
62 | Setting the property will change the label that is returned to the accessibility client.
63 | */
64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityLabel' has been explicitly marked unavailable here
65 |
66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:156:18: error: 'isAccessibilityElement' is unavailable in watchOS
154 | self.addSubview(subtitleLabel)
155 |
156 | self.isAccessibilityElement = true
| `- error: 'isAccessibilityElement' is unavailable in watchOS
157 | }
158 | super.init(frame: frame)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:162:21: error: 'UIImageView' is unavailable in watchOS
160 |
161 | required init?(coder aDecoder: NSCoder) {
162 | imageView = UIImageView(frame: CGRect.zero)
| `- error: 'UIImageView' is unavailable in watchOS
163 | activityIndicator = UIActivityIndicatorView(style: .white)
164 | label = UILabel(frame: CGRect.zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:163:29: error: 'UIActivityIndicatorView' is unavailable in watchOS
161 | required init?(coder aDecoder: NSCoder) {
162 | imageView = UIImageView(frame: CGRect.zero)
163 | activityIndicator = UIActivityIndicatorView(style: .white)
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
164 | label = UILabel(frame: CGRect.zero)
165 | subtitleLabel = UILabel(frame: CGRect.zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:163:61: error: 'white' is unavailable in watchOS
161 | required init?(coder aDecoder: NSCoder) {
162 | imageView = UIImageView(frame: CGRect.zero)
163 | activityIndicator = UIActivityIndicatorView(style: .white)
| `- error: 'white' is unavailable in watchOS
164 | label = UILabel(frame: CGRect.zero)
165 | subtitleLabel = UILabel(frame: CGRect.zero)
UIKit.UIActivityIndicatorView.Style.white:4:10: note: 'white' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case white }
| `- note: 'white' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:164:17: error: 'UILabel' is unavailable in watchOS
162 | imageView = UIImageView(frame: CGRect.zero)
163 | activityIndicator = UIActivityIndicatorView(style: .white)
164 | label = UILabel(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
165 | subtitleLabel = UILabel(frame: CGRect.zero)
166 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:165:25: error: 'UILabel' is unavailable in watchOS
163 | activityIndicator = UIActivityIndicatorView(style: .white)
164 | label = UILabel(frame: CGRect.zero)
165 | subtitleLabel = UILabel(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
166 |
167 | super.init(coder: aDecoder)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:170:14: error: 'accessibilityLabel' is unavailable in watchOS
168 |
169 | self.isUserInteractionEnabled = true
170 | self.accessibilityLabel = className(for: self)
| `- error: 'accessibilityLabel' is unavailable in watchOS
171 | self.autoresizingMask = .flexibleWidth
172 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
62 | Setting the property will change the label that is returned to the accessibility client.
63 | */
64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityLabel' has been explicitly marked unavailable here
65 |
66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:186:14: error: 'isAccessibilityElement' is unavailable in watchOS
184 | self.addSubview(subtitleLabel)
185 |
186 | self.isAccessibilityElement = true
| `- error: 'isAccessibilityElement' is unavailable in watchOS
187 | }
188 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift:191:20: error: 'UIApplication' is unavailable in watchOS
189 | var hasTopNotch: Bool {
190 | if #available(iOS 11.0, *) {
191 | return UIApplication.shared.delegate?.window??.safeAreaInsets.top ?? 0 > 20
| `- error: 'UIApplication' is unavailable in watchOS
192 | }
193 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastView.swift (in target 'CRToastSwift' from project 'CRToastSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CRToastView.swift
SwiftCompile normal arm64_32 Compiling\ CRToastManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift (in target 'CRToastSwift' from project 'CRToastSwift')
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:3:23: error: 'UIView' is unavailable in watchOS
1 | import UIKit
2 |
3 | func image(with view: UIView) -> UIImage? {
| `- error: 'UIView' is unavailable in watchOS
4 | UIGraphicsBeginImageContextWithOptions(view.bounds.size, view.isOpaque, 0.0)
5 | defer { UIGraphicsEndImageContext() }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:95:30: error: 'UIWindow' is unavailable in watchOS
93 | // MARK: instance stuff
94 | var showingNotification : Bool { return notifications.count > 0 }
95 | var notificationWindow : UIWindow
| `- error: 'UIWindow' is unavailable in watchOS
96 | var statusBarView : UIView?
97 | var notificationView : UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:96:25: error: 'UIView' is unavailable in watchOS
94 | var showingNotification : Bool { return notifications.count > 0 }
95 | var notificationWindow : UIWindow
96 | var statusBarView : UIView?
| `- error: 'UIView' is unavailable in watchOS
97 | var notificationView : UIView?
98 | var notification : CRToast? { return notifications.first }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:97:28: error: 'UIView' is unavailable in watchOS
95 | var notificationWindow : UIWindow
96 | var statusBarView : UIView?
97 | var notificationView : UIView?
| `- error: 'UIView' is unavailable in watchOS
98 | var notification : CRToast? { return notifications.first }
99 | var notifications : [CRToast] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:141:87: error: 'UIView' is unavailable in watchOS
139 |
140 | // MARK: Outward Animations
141 | func CRToastOutwardAnimationsCompletionBlock(_ manager: CRToastManager, callout: [UIView]? = nil) -> CRToastAnimationCompletionBlock {
| `- error: 'UIView' is unavailable in watchOS
142 | return { finished in
143 | if manager.notification?.showActivityIndicator ?? false {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:179:42: error: 'UIView' is unavailable in watchOS
177 | }
178 |
179 | fileprivate func checkAnim(for view: UIView?, lastFrame: CGRect?, delay: Double, _ callback : @escaping ()->Void) {
| `- error: 'UIView' is unavailable in watchOS
180 | guard let view = view else { callback() ; return }
181 | guard let lastFrame = lastFrame else { callback() ; 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:191:75: error: 'UIView' is unavailable in watchOS
189 | }
190 | }
191 | fileprivate func setupOutGravity(_ manager: CRToastManager, callout: [UIView]? = nil) {
| `- error: 'UIView' is unavailable in watchOS
192 | let notification = manager.notification
193 | if manager.notification?.animator == 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:401:65: error: 'UIView' is unavailable in watchOS
399 | }
400 |
401 | fileprivate func setupInGravity(_ toast: CRToast, callout: [UIView]? = nil) {
| `- error: 'UIView' is unavailable in watchOS
402 | if let notificationView = self.notificationView, let statusBarView = self.statusBarView, let rootViewController = self.notificationWindow.rootViewController {
403 | toast.initiateAnimator(rootViewController.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:597:47: error: 'UICollisionBehavior' is unavailable in watchOS
595 | */
596 |
597 | public func collisionBehavior(_ behavior: UICollisionBehavior, endedContactFor item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying?) {
| `- error: 'UICollisionBehavior' is unavailable in watchOS
598 | if let cb = self.gravityAnimationCompletion {
599 | cb(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h:40:12: note: 'UICollisionBehavior' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
40 | @interface UICollisionBehavior : UIDynamicBehavior
| `- note: 'UICollisionBehavior' has been explicitly marked unavailable here
41 |
42 | - (instancetype)initWithItems:(NSArray<id <UIDynamicItem>> *)items NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:597:90: error: 'UIDynamicItem' is unavailable in watchOS
595 | */
596 |
597 | public func collisionBehavior(_ behavior: UICollisionBehavior, endedContactFor item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying?) {
| `- error: 'UIDynamicItem' is unavailable in watchOS
598 | if let cb = self.gravityAnimationCompletion {
599 | cb(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h:25:11: note: 'UIDynamicItem' has been explicitly marked unavailable here
23 |
24 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
25 | @protocol UIDynamicItem <NSObject>
| `- note: 'UIDynamicItem' has been explicitly marked unavailable here
26 |
27 | @property (nonatomic, readwrite) CGPoint center;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:603:47: error: 'UICollisionBehavior' is unavailable in watchOS
601 | }
602 |
603 | public func collisionBehavior(_ behavior: UICollisionBehavior, endedContactFor item1: UIDynamicItem, with item2: UIDynamicItem) {
| `- error: 'UICollisionBehavior' is unavailable in watchOS
604 | if let _ = item1 as? CRToastView { // ignore
605 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h:40:12: note: 'UICollisionBehavior' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
40 | @interface UICollisionBehavior : UIDynamicBehavior
| `- note: 'UICollisionBehavior' has been explicitly marked unavailable here
41 |
42 | - (instancetype)initWithItems:(NSArray<id <UIDynamicItem>> *)items NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:603:91: error: 'UIDynamicItem' is unavailable in watchOS
601 | }
602 |
603 | public func collisionBehavior(_ behavior: UICollisionBehavior, endedContactFor item1: UIDynamicItem, with item2: UIDynamicItem) {
| `- error: 'UIDynamicItem' is unavailable in watchOS
604 | if let _ = item1 as? CRToastView { // ignore
605 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h:25:11: note: 'UIDynamicItem' has been explicitly marked unavailable here
23 |
24 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
25 | @protocol UIDynamicItem <NSObject>
| `- note: 'UIDynamicItem' has been explicitly marked unavailable here
26 |
27 | @property (nonatomic, readwrite) CGPoint center;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:603:118: error: 'UIDynamicItem' is unavailable in watchOS
601 | }
602 |
603 | public func collisionBehavior(_ behavior: UICollisionBehavior, endedContactFor item1: UIDynamicItem, with item2: UIDynamicItem) {
| `- error: 'UIDynamicItem' is unavailable in watchOS
604 | if let _ = item1 as? CRToastView { // ignore
605 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h:25:11: note: 'UIDynamicItem' has been explicitly marked unavailable here
23 |
24 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
25 | @protocol UIDynamicItem <NSObject>
| `- note: 'UIDynamicItem' has been explicitly marked unavailable here
26 |
27 | @property (nonatomic, readwrite) CGPoint center;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:524:28: error: 'UICollisionBehaviorDelegate' is unavailable in watchOS
522 | }
523 |
524 | extension CRToastManager : UICollisionBehaviorDelegate {
| `- error: 'UICollisionBehaviorDelegate' is unavailable in watchOS
525 | /*
526 | // for funsies, emit particles from the point of contact
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h:26:11: note: 'UICollisionBehaviorDelegate' has been explicitly marked unavailable here
24 |
25 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
26 | @protocol UICollisionBehaviorDelegate <NSObject>
| `- note: 'UICollisionBehaviorDelegate' has been explicitly marked unavailable here
27 | @optional
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:103:65: error: argument passed to call that takes no arguments
101 |
102 | override init() {
103 | notificationWindow = CRToastWindow(frame: UIScreen.main.bounds)
| `- error: argument passed to call that takes no arguments
104 | notificationWindow.autoresizingMask = [.flexibleWidth, .flexibleHeight]
105 | notificationWindow.windowLevel = .statusBar
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:105:43: error: 'statusBar' is unavailable in watchOS
103 | notificationWindow = CRToastWindow(frame: UIScreen.main.bounds)
104 | notificationWindow.autoresizingMask = [.flexibleWidth, .flexibleHeight]
105 | notificationWindow.windowLevel = .statusBar
| `- error: 'statusBar' is unavailable in watchOS
106 | notificationWindow.rootViewController = CRToastViewController()
107 | notificationWindow.rootViewController?.view.clipsToBounds = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:108:34: note: 'statusBar' has been explicitly marked unavailable here
106 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelNormal API_UNAVAILABLE(watchos);
107 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelAlert API_UNAVAILABLE(watchos);
108 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelStatusBar API_UNAVAILABLE(tvos, watchos);
| `- note: 'statusBar' has been explicitly marked unavailable here
109 |
110 | // Posted when the window becomes visible with a nil userInfo dictionary.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:199:19: error: 'UIView' is unavailable in watchOS
197 | }
198 | manager.notification?.animator?.removeAllBehaviors()
199 | var gv = [UIView]()
| `- error: 'UIView' is unavailable in watchOS
200 | if let v = manager.notificationView { gv.append(v) }
201 | if let v = manager.statusBarView { gv.append(v) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:202:23: error: 'UIGravityBehavior' is unavailable in watchOS
200 | if let v = manager.notificationView { gv.append(v) }
201 | if let v = manager.statusBarView { gv.append(v) }
202 | let gravity = UIGravityBehavior(items: gv)
| `- error: 'UIGravityBehavior' is unavailable in watchOS
203 | gravity.gravityDirection = notification?.outGravityDirection ?? CGVector(dx: 0, dy: -1)
204 | gravity.magnitude = notification?.gravityMagnitude ?? CROptions.default.gravityMagnitude
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h:17:12: note: 'UIGravityBehavior' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIGravityBehavior : UIDynamicBehavior
| `- note: 'UIGravityBehavior' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItems:(NSArray<id <UIDynamicItem>> *)items NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:206:31: error: 'UIView' is unavailable in watchOS
204 | gravity.magnitude = notification?.gravityMagnitude ?? CROptions.default.gravityMagnitude
205 |
206 | var collisionItems = [UIView]()
| `- error: 'UIView' is unavailable in watchOS
207 | if let v = manager.notificationView { collisionItems.append(v) }
208 | if let v = manager.statusBarView {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:213:25: error: 'UICollisionBehavior' is unavailable in watchOS
211 | }
212 | }
213 | let collision = UICollisionBehavior(items: collisionItems)
| `- error: 'UICollisionBehavior' is unavailable in watchOS
214 | collision.collisionDelegate = manager
215 | if let c = callout, let rootViewController = manager.notificationWindow.rootViewController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h:40:12: note: 'UICollisionBehavior' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
40 | @interface UICollisionBehavior : UIDynamicBehavior
| `- note: 'UICollisionBehavior' has been explicitly marked unavailable here
41 |
42 | - (instancetype)initWithItems:(NSArray<id <UIDynamicItem>> *)items NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:219:25: error: 'UIImageView' is unavailable in watchOS
217 | if vo.isHidden { continue }
218 | if vo.superview == rootViewController.view { continue } // views have to share the same parent
219 | let v = UIImageView(image: image(with: vo))
| `- error: 'UIImageView' is unavailable in watchOS
220 | v.frame = vo.superview!.convert(vo.frame, to: rootViewController.view)
221 | rootViewController.view.addSubview(v)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:223:28: error: 'UISnapBehavior' is unavailable in watchOS
221 | rootViewController.view.addSubview(v)
222 | collisionItems.append(v)
223 | let snap = UISnapBehavior(item: v, snapTo: v.center)
| `- error: 'UISnapBehavior' is unavailable in watchOS
224 | notification?.animator?.addBehavior(snap)
225 | collision.addItem(v)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h:17:12: note: 'UISnapBehavior' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UISnapBehavior : UIDynamicBehavior
| `- note: 'UISnapBehavior' has been explicitly marked unavailable here
18 |
19 | // The point argument is expressed in the reference coordinate system
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:229:30: error: 'UIScreen' is unavailable in watchOS
227 | }
228 |
229 | let screenSize = UIScreen.main.bounds.size
| `- error: 'UIScreen' is unavailable in watchOS
230 | let outsideScreenBoundary = UIBezierPath(rect: CGRect(x: -screenSize.width, y: -screenSize.height, width: 3*screenSize.width, height: 3*screenSize.height))
231 | collision.addBoundary(withIdentifier: CRToastManager.kCRToastManagerCollisionBoundaryIdentifier, for: outsideScreenBoundary)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:229:39: error: 'main' is unavailable in watchOS
227 | }
228 |
229 | let screenSize = UIScreen.main.bounds.size
| `- error: 'main' is unavailable in watchOS
230 | let outsideScreenBoundary = UIBezierPath(rect: CGRect(x: -screenSize.width, y: -screenSize.height, width: 3*screenSize.width, height: 3*screenSize.height))
231 | collision.addBoundary(withIdentifier: CRToastManager.kCRToastManagerCollisionBoundaryIdentifier, for: outsideScreenBoundary)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:251:27: error: 'UIDynamicItemBehavior' is unavailable in watchOS
249 | }
250 | if callout == nil {
251 | let rotLock = UIDynamicItemBehavior(items: collisionItems)
| `- error: 'UIDynamicItemBehavior' is unavailable in watchOS
252 | rotLock.allowsRotation = false
253 | manager.notification?.animator?.addBehavior(rotLock)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h:16:12: note: 'UIDynamicItemBehavior' has been explicitly marked unavailable here
14 |
15 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
16 | @interface UIDynamicItemBehavior : UIDynamicBehavior
| `- note: 'UIDynamicItemBehavior' has been explicitly marked unavailable here
17 |
18 | - (instancetype)initWithItems:(NSArray<id <UIDynamicItem>> *)items NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:272:21: error: 'UIView' is unavailable in watchOS
270 |
271 | case .linear:
272 | UIView.animate(withDuration: notification?.animateOutTimeInterval ?? 0.5,
| `- error: 'UIView' is unavailable in watchOS
273 | delay: 0,
274 | options: [],
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:278:21: error: 'UIView' is unavailable in watchOS
276 | completion: manager.CRToastOutwardAnimationsCompletionBlock(manager))
277 | case .spring:
278 | UIView.animate(withDuration: notification?.animateOutTimeInterval ?? 0.5,
| `- error: 'UIView' is unavailable in watchOS
279 | delay: 0,
280 | usingSpringWithDamping: notification?.springDamping ?? 0.5,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:359:77: error: binary operator '+' cannot be applied to operands of type 'UIWindow.Level' and 'Int'
357 |
358 | notificationWindow.rootViewController?.view.frame = containerFrame
359 | notificationWindow.windowLevel = toast.underStatusBar ? .normal + 1 : .statusBar
| `- error: binary operator '+' cannot be applied to operands of type 'UIWindow.Level' and 'Int'
360 |
361 | let statusBarView = toast.statusBarView
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:395:37: error: 'post(notification:argument:)' is unavailable in watchOS
393 | let deadlineTime = DispatchTime.now() + 0.5
394 | DispatchQueue.main.asyncAfter(deadline: deadlineTime) {
395 | UIAccessibility.post(notification: .announcement, argument: "Alert: \(toast.text) \(toast.subtitleText ?? "")")
| `- error: 'post(notification:argument:)' is unavailable in watchOS
396 | }
397 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:521:19: note: 'post(notification:argument:)' has been explicitly marked unavailable here
519 | See UIAccessibilityConstants.h for a list of notifications.
520 | */
521 | UIKIT_EXTERN void UIAccessibilityPostNotification(UIAccessibilityNotifications notification, __nullable id argument) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'post(notification:argument:)' has been explicitly marked unavailable here
522 |
523 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:406:27: error: 'UIGravityBehavior' is unavailable in watchOS
404 | toast.animator?.removeAllBehaviors()
405 |
406 | let gravity = UIGravityBehavior(items: [notificationView, statusBarView])
| `- error: 'UIGravityBehavior' is unavailable in watchOS
407 | gravity.gravityDirection = toast.inGravityDirection
408 | gravity.magnitude = toast.gravityMagnitude
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h:17:12: note: 'UIGravityBehavior' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIGravityBehavior : UIDynamicBehavior
| `- note: 'UIGravityBehavior' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItems:(NSArray<id <UIDynamicItem>> *)items NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:416:29: error: 'UIView' is unavailable in watchOS
414 | for vo in c {
415 | if vo.superview == rootViewController.view { continue } // views have to share the same parent
416 | let v = UIView(frame: vo.frame)
| `- error: 'UIView' is unavailable in watchOS
417 | v.backgroundColor = UIColor.clear
418 | rootViewController.view.addSubview(v)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:420:32: error: 'UISnapBehavior' is unavailable in watchOS
418 | rootViewController.view.addSubview(v)
419 | collisionItems.append(v)
420 | let snap = UISnapBehavior(item: v, snapTo: v.center)
| `- error: 'UISnapBehavior' is unavailable in watchOS
421 | toast.animator?.addBehavior(snap)
422 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h:17:12: note: 'UISnapBehavior' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UISnapBehavior : UIDynamicBehavior
| `- note: 'UISnapBehavior' has been explicitly marked unavailable here
18 |
19 | // The point argument is expressed in the reference coordinate system
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:424:31: error: 'UIDynamicItemBehavior' is unavailable in watchOS
422 | }
423 | } else {
424 | let rotLock = UIDynamicItemBehavior(items: collisionItems)
| `- error: 'UIDynamicItemBehavior' is unavailable in watchOS
425 | rotLock.allowsRotation = false
426 | toast.animator?.addBehavior(rotLock)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h:16:12: note: 'UIDynamicItemBehavior' has been explicitly marked unavailable here
14 |
15 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
16 | @interface UIDynamicItemBehavior : UIDynamicBehavior
| `- note: 'UIDynamicItemBehavior' has been explicitly marked unavailable here
17 |
18 | - (instancetype)initWithItems:(NSArray<id <UIDynamicItem>> *)items NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:428:29: error: 'UICollisionBehavior' is unavailable in watchOS
426 | toast.animator?.addBehavior(rotLock)
427 | }
428 | let collision = UICollisionBehavior(items: collisionItems)
| `- error: 'UICollisionBehavior' is unavailable in watchOS
429 | collision.collisionDelegate = self
430 | collision.addBoundary(withIdentifier: CRToastManager.kCRToastManagerCollisionBoundaryIdentifier,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h:40:12: note: 'UICollisionBehavior' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
40 | @interface UICollisionBehavior : UIDynamicBehavior
| `- note: 'UICollisionBehavior' has been explicitly marked unavailable here
41 |
42 | - (instancetype)initWithItems:(NSArray<id <UIDynamicItem>> *)items NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:442:13: error: 'UIView' is unavailable in watchOS
440 | switch toast.animationTypeIn {
441 | case .linear:
442 | UIView.animate(withDuration: toast.animateInTimeInterval,
| `- error: 'UIView' is unavailable in watchOS
443 | animations: animation,
444 | completion: completion)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:446:13: error: 'UIView' is unavailable in watchOS
444 | completion: completion)
445 | case .spring:
446 | UIView.animate(withDuration: toast.animateInTimeInterval,
| `- error: 'UIView' is unavailable in watchOS
447 | delay: 0.0,
448 | usingSpringWithDamping: toast.springDamping,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:469:17: error: 'UIView' is unavailable in watchOS
467 | let bnds = CGRect(x: self.bounds.origin.x - self.lineWidth, y: self.bounds.origin.y - self.lineWidth, width: w, height: h)
468 |
469 | let v = UIView(frame: bnds)
| `- error: 'UIView' is unavailable in watchOS
470 | UIGraphicsBeginImageContextWithOptions(v.frame.size, false, UIScreen.main.scale)
471 | if let ctx = UIGraphicsGetCurrentContext() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:470:69: error: 'UIScreen' is unavailable in watchOS
468 |
469 | let v = UIView(frame: bnds)
470 | UIGraphicsBeginImageContextWithOptions(v.frame.size, false, UIScreen.main.scale)
| `- error: 'UIScreen' is unavailable in watchOS
471 | if let ctx = UIGraphicsGetCurrentContext() {
472 | v.layer.render(in: ctx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:470:78: error: 'main' is unavailable in watchOS
468 |
469 | let v = UIView(frame: bnds)
470 | UIGraphicsBeginImageContextWithOptions(v.frame.size, false, UIScreen.main.scale)
| `- error: 'main' is unavailable in watchOS
471 | if let ctx = UIGraphicsGetCurrentContext() {
472 | v.layer.render(in: ctx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:492:17: error: 'UIView' is unavailable in watchOS
490 | let bnds = CGRect(x: self.bounds.origin.x - self.lineWidth, y: self.bounds.origin.y - self.lineWidth, width: w, height: h)
491 |
492 | let v = UIView(frame: bnds)
| `- error: 'UIView' is unavailable in watchOS
493 | UIGraphicsBeginImageContextWithOptions(v.frame.size, false, UIScreen.main.scale)
494 | if let ctx = UIGraphicsGetCurrentContext() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift:493:69: error: 'UIScreen' is unavailable in watchOS
491 |
492 | let v = UIView(frame: bnds)
493 | UIGraphicsBeginImageContextWithOptions(v.frame.size, false, UIScreen.main.scale)
| `- error: 'UIScreen' is unavailable in watchOS
494 | if let ctx = UIGraphicsGetCurrentContext() {
495 | v.layer.render(in: ctx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastManager.swift (in target 'CRToastSwift' from project 'CRToastSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CRToastManager.swift
SwiftCompile normal arm64 Compiling\ CRToastConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift (in target 'CRToastSwift' from project 'CRToastSwift')
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:121:19: error: 'UIView' is unavailable in watchOS
119 | case spring
120 | case gravity
121 | case dynamic([UIView])
| `- error: 'UIView' is unavailable in watchOS
122 | }
123 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:434:32: error: 'UIStatusBarStyle' is unavailable in watchOS
432 | public var subtitleTextShadowOffset :CGSize = CGSize.zero;
433 | public var subtitleTextMaxNumberOfLines:Int = 0;
434 | public var statusBarStyle :UIStatusBarStyle = .default
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
435 |
436 | public var backgroundColor :UIColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:437:32: error: 'UIView' is unavailable in watchOS
435 |
436 | public var backgroundColor :UIColor
437 | public var backgroundView :UIView? = nil
| `- error: 'UIView' is unavailable in watchOS
438 | public var image :UIImage? = nil
439 | public var imageContentMode :UIView.ContentMode = .center
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:439:34: error: 'UIView' is unavailable in watchOS
437 | public var backgroundView :UIView? = nil
438 | public var image :UIImage? = nil
439 | public var imageContentMode :UIView.ContentMode = .center
| `- error: 'UIView' is unavailable in watchOS
440 | public var imageAlignment :CRToastAccessoryViewAlignment = .left
441 | public var imageTint :UIColor? = 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:443:44: error: 'UIActivityIndicatorView' is unavailable in watchOS
441 | public var imageTint :UIColor? = nil
442 | public var showActivityIndicator :Bool = false
443 | public var activityIndicatorViewStyle :UIActivityIndicatorView.Style = .white
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
444 | public var activityIndicatorAlignment :CRToastAccessoryViewAlignment = .left
445 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:443:77: error: 'white' is unavailable in watchOS
441 | public var imageTint :UIColor? = nil
442 | public var showActivityIndicator :Bool = false
443 | public var activityIndicatorViewStyle :UIActivityIndicatorView.Style = .white
| `- error: 'white' is unavailable in watchOS
444 | public var activityIndicatorAlignment :CRToastAccessoryViewAlignment = .left
445 |
UIKit.UIActivityIndicatorView.Style.white:4:10: note: 'white' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case white }
| `- note: 'white' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:489:25: error: 'UIStatusBarStyle' is unavailable in watchOS
487 | .subtitleTextShadowOffset:CGSize.self,
488 | .subtitleTextMaxNumberOfLines:Int.self,
489 | .statusBarStyle:UIStatusBarStyle.self,
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
490 |
491 | .backgroundColor:UIColor.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/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:492:26: error: 'UIView' is unavailable in watchOS
490 |
491 | .backgroundColor:UIColor.self,
492 | .backgroundView :UIView.self,
| `- error: 'UIView' is unavailable in watchOS
493 | .image:UIImage?.self,
494 | .imageContentMode:UIView.ContentMode.self,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:494:27: error: 'UIView' is unavailable in watchOS
492 | .backgroundView :UIView.self,
493 | .image:UIImage?.self,
494 | .imageContentMode:UIView.ContentMode.self,
| `- error: 'UIView' is unavailable in watchOS
495 | .imageAlignment:CRToastAccessoryViewAlignment.self,
496 | .imageTint:UIColor.self,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:498:37: error: 'UIActivityIndicatorView' is unavailable in watchOS
496 | .imageTint:UIColor.self,
497 | .showActivityIndicator:Bool.self,
498 | .activityIndicatorViewStyle:UIActivityIndicatorView.Style.self,
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
499 | .activityIndicatorAlignment:CRToastAccessoryViewAlignment.self,
500 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:711:38: error: 'UIGestureRecognizer' is unavailable in watchOS
709 |
710 | //Interactions
711 | public var gestureRecognizers : [UIGestureRecognizer] = []
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
712 |
713 | //Autorotate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:725:48: error: 'UIView' is unavailable in watchOS
723 |
724 | //Views and Layout Data
725 | fileprivate var _privateNotificationView : UIView?
| `- error: 'UIView' is unavailable in watchOS
726 | fileprivate var privateNotificationView : UIView {
727 | if let v = _privateNotificationView { return v }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:726:47: error: 'UIView' is unavailable in watchOS
724 | //Views and Layout Data
725 | fileprivate var _privateNotificationView : UIView?
726 | fileprivate var privateNotificationView : UIView {
| `- error: 'UIView' is unavailable in watchOS
727 | if let v = _privateNotificationView { return v }
728 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:734:33: error: 'UIView' is unavailable in watchOS
732 | return v
733 | }
734 | public var notificationView:UIView {
| `- error: 'UIView' is unavailable in watchOS
735 | return self.privateNotificationView
736 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:744:45: error: 'UIView' is unavailable in watchOS
742 | }
743 |
744 | fileprivate var _privateStatusBarView : UIView?
| `- error: 'UIView' is unavailable in watchOS
745 | fileprivate var privateStatusBarView : UIView {
746 | if let v = _privateStatusBarView { return v }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:745:44: error: 'UIView' is unavailable in watchOS
743 |
744 | fileprivate var _privateStatusBarView : UIView?
745 | fileprivate var privateStatusBarView : UIView {
| `- error: 'UIView' is unavailable in watchOS
746 | if let v = _privateStatusBarView { return v }
747 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:758:30: error: 'UIView' is unavailable in watchOS
756 | return v
757 | }
758 | public var statusBarView:UIView { return self.privateStatusBarView }
| `- error: 'UIView' is unavailable in watchOS
759 | public var statusBarViewAnimationFrame1:CGRect {
760 | return CRStatusBarViewFrame(self.toastType, self.animationInDirection, self.preferredHeight);
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:765:25: error: 'UIDynamicAnimator' is unavailable in watchOS
763 | return CRStatusBarViewFrame(self.toastType, self.animationOutDirection, self.preferredHeight);
764 | }
765 | public var animator:UIDynamicAnimator? = nil
| `- error: 'UIDynamicAnimator' is unavailable in watchOS
766 |
767 | // options
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h:28:74: note: 'UIDynamicAnimator' has been explicitly marked unavailable here
26 | @end
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) @interface UIDynamicAnimator: NSObject
| `- note: 'UIDynamicAnimator' has been explicitly marked unavailable here
29 |
30 | // When you initialize a dynamic animator with this method, you should only associates views with your behaviors.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:803:31: error: 'UIStatusBarStyle' is unavailable in watchOS
801 | public var subtitleTextShadowOffset:CGSize { return options.subtitleTextShadowOffset }
802 | public var subtitleTextMaxNumberOfLines:Int { return options.subtitleTextMaxNumberOfLines }
803 | public var statusBarStyle:UIStatusBarStyle { return options.statusBarStyle }
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
804 |
805 | public var backgroundColor:UIColor { return options.backgroundColor }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:806:31: error: 'UIView' is unavailable in watchOS
804 |
805 | public var backgroundColor:UIColor { return options.backgroundColor }
806 | public var backgroundView:UIView? { return options.backgroundView }
| `- error: 'UIView' is unavailable in watchOS
807 | public var image:UIImage? { return options.image }
808 | public var imageContentMode:UIView.ContentMode { return options.imageContentMode }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:808:33: error: 'UIView' is unavailable in watchOS
806 | public var backgroundView:UIView? { return options.backgroundView }
807 | public var image:UIImage? { return options.image }
808 | public var imageContentMode:UIView.ContentMode { return options.imageContentMode }
| `- error: 'UIView' is unavailable in watchOS
809 | public var imageAlignment:CRToastAccessoryViewAlignment { return options.imageAlignment }
810 | public var imageTint:UIColor? { return options.imageTint }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:812:43: error: 'UIActivityIndicatorView' is unavailable in watchOS
810 | public var imageTint:UIColor? { return options.imageTint }
811 | public var showActivityIndicator:Bool { return options.showActivityIndicator }
812 | public var activityIndicatorViewStyle:UIActivityIndicatorView.Style { return options.activityIndicatorViewStyle }
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
813 | public var activityIndicatorAlignment:CRToastAccessoryViewAlignment { return options.activityIndicatorAlignment }
814 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:942:67: error: 'UIGestureRecognizer' is unavailable in watchOS
940 |
941 | // MARK: Gestures
942 | public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
943 | return true
944 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:946:56: error: 'UIGestureRecognizer' is unavailable in watchOS
944 | }
945 |
946 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
947 | return true
948 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:946:135: error: 'UIGestureRecognizer' is unavailable in watchOS
944 | }
945 |
946 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
947 | return true
948 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:950:56: error: 'UIGestureRecognizer' is unavailable in watchOS
948 | }
949 |
950 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
951 | return true
952 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:950:98: error: 'UITouch' is unavailable in watchOS
948 | }
949 |
950 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
| `- error: 'UITouch' is unavailable in watchOS
951 | return true
952 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:954:42: error: 'UIView' is unavailable in watchOS
952 | }
953 |
954 | public func initiateAnimator(_ view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
955 | self.animator = UIDynamicAnimator(referenceView: view)
956 | self.animator?.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:691:34: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
689 | }
690 |
691 | public class CRToast : NSObject, UIGestureRecognizerDelegate {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
692 | public var uuid : UUID = UUID()
693 | public var state : CRToastState = .waiting
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:968:53: error: 'UIDynamicAnimator' is unavailable in watchOS
966 |
967 | extension CRToast : UIDynamicAnimatorDelegate {
968 | public func dynamicAnimatorDidPause(_ animator: UIDynamicAnimator) {
| `- error: 'UIDynamicAnimator' is unavailable in watchOS
969 | // print("pause")
970 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h:28:74: note: 'UIDynamicAnimator' has been explicitly marked unavailable here
26 | @end
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) @interface UIDynamicAnimator: NSObject
| `- note: 'UIDynamicAnimator' has been explicitly marked unavailable here
29 |
30 | // When you initialize a dynamic animator with this method, you should only associates views with your behaviors.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:967:21: error: 'UIDynamicAnimatorDelegate' is unavailable in watchOS
965 | }
966 |
967 | extension CRToast : UIDynamicAnimatorDelegate {
| `- error: 'UIDynamicAnimatorDelegate' is unavailable in watchOS
968 | public func dynamicAnimatorDidPause(_ animator: UIDynamicAnimator) {
969 | // print("pause")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h:20:11: note: 'UIDynamicAnimatorDelegate' has been explicitly marked unavailable here
18 |
19 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @protocol UIDynamicAnimatorDelegate <NSObject>
| `- note: 'UIDynamicAnimatorDelegate' has been explicitly marked unavailable here
21 |
22 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:989:34: error: 'UIInterfaceOrientation' is unavailable in watchOS
987 | let CRNavigationBarDefaultHeightiPhoneLandscape:CGFloat = 53.0
988 |
989 | func CRGetDeviceOrientation() -> UIInterfaceOrientation {
| `- error: 'UIInterfaceOrientation' is unavailable in watchOS
990 | return UIApplication.shared.statusBarOrientation
991 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
| `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 | UIInterfaceOrientationUnknown = UIDeviceOrientationUnknown,
43 | UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:994:56: error: 'UIInterfaceOrientation' is unavailable in watchOS
992 |
993 | // Status bar
994 | func CRGetStatusBarHeightForOrientation(_ orientation: UIInterfaceOrientation) -> CGFloat {
| `- error: 'UIInterfaceOrientation' is unavailable in watchOS
995 | let statusBarFrame = UIApplication.shared.statusBarFrame
996 | return statusBarFrame.height
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
| `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 | UIInterfaceOrientationUnknown = UIDeviceOrientationUnknown,
43 | UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:998:55: error: 'UIInterfaceOrientation' is unavailable in watchOS
996 | return statusBarFrame.height
997 | }
998 | func CRGetStatusBarWidthForOrientation(_ orientation: UIInterfaceOrientation) -> CGFloat {
| `- error: 'UIInterfaceOrientation' is unavailable in watchOS
999 | let statusBarFrameWidth = UIApplication.shared.keyWindow?.frame.width ?? UIApplication.shared.statusBarFrame.width
1000 | return statusBarFrameWidth
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
| `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 | UIInterfaceOrientationUnknown = UIDeviceOrientationUnknown,
43 | UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1013:39: error: 'UIViewController' is unavailable in watchOS
1011 | extension UIWindow {
1012 | /// Returns the currently visible view controller if any reachable within the window.
1013 | public var visibleViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
1014 | return UIWindow.visibleViewController(from: rootViewController)
1015 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1023:67: error: 'UIViewController' is unavailable in watchOS
1021 | /// - viewController: The view controller to start the recursive search from.
1022 | /// - Returns: The view controller that is most probably visible on screen right now.
1023 | public static func visibleViewController(from viewController: UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
1024 | switch viewController {
1025 | case let navigationController as UINavigationController:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1023:89: error: 'UIViewController' is unavailable in watchOS
1021 | /// - viewController: The view controller to start the recursive search from.
1022 | /// - Returns: The view controller that is most probably visible on screen right now.
1023 | public static func visibleViewController(from viewController: UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
1024 | switch viewController {
1025 | case let navigationController as UINavigationController:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1011:11: error: 'UIWindow' is unavailable in watchOS
1009 | // Navigation bar
1010 | // from https://stackoverflow.com/questions/11637709/get-the-current-displaying-uiviewcontroller-on-the-screen-in-appdelegate-m/42486823#42486823
1011 | extension UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
1012 | /// Returns the currently visible view controller if any reachable within the window.
1013 | public var visibleViewController: UIViewController? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1039:60: error: 'UIInterfaceOrientation' is unavailable in watchOS
1037 | }
1038 | }
1039 | func CRGetNavigationBarHeightForOrientation(_ orientation: UIInterfaceOrientation) -> CGFloat {
| `- error: 'UIInterfaceOrientation' is unavailable in watchOS
1040 | if let rootViewController = UIApplication.shared.keyWindow?.rootViewController, let visibleViewController = UIWindow.visibleViewController(from: rootViewController) {
1041 | return visibleViewController.view.safeAreaInsets.top
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
| `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 | UIInterfaceOrientationUnknown = UIDeviceOrientationUnknown,
43 | UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1054:112: error: 'UIInterfaceOrientation' is unavailable in watchOS
1052 |
1053 | // Notification view
1054 | func CRGetNotificationViewHeightForOrientation(_ type: CRToastType, _ preferredHeight: CGFloat, _ orientation: UIInterfaceOrientation) -> CGFloat {
| `- error: 'UIInterfaceOrientation' is unavailable in watchOS
1055 | switch type {
1056 | case .statusBar:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
| `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 | UIInterfaceOrientationUnknown = UIDeviceOrientationUnknown,
43 | UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1069:107: error: 'UIInterfaceOrientation' is unavailable in watchOS
1067 | }
1068 |
1069 | func CRNotificationViewSizeForOrientation(_ type: CRToastType, _ preferredHeight: CGFloat, _ orientation: UIInterfaceOrientation) -> CGSize {
| `- error: 'UIInterfaceOrientation' is unavailable in watchOS
1070 | return CGSize(width: CRGetStatusBarWidthForOrientation(orientation), height: CRGetNotificationViewHeightForOrientation(type, preferredHeight, orientation))
1071 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
| `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 | UIInterfaceOrientationUnknown = UIDeviceOrientationUnknown,
43 | UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1096:63: error: 'UIInterfaceOrientation' is unavailable in watchOS
1094 | }
1095 |
1096 | func CRGetNotificationContainerFrame(_ statusBarOrientation : UIInterfaceOrientation, _ notificationSize : CGSize) -> CGRect {
| `- error: 'UIInterfaceOrientation' is unavailable in watchOS
1097 | var containerFrame = CGRect(x: 0, y: 0, width: notificationSize.width, height: notificationSize.height)
1098 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
| `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 | UIInterfaceOrientationUnknown = UIDeviceOrientationUnknown,
43 | UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1115:57: error: 'UIView' is unavailable in watchOS
1113 | }
1114 |
1115 | func CRStatusBarSnapShotView(_ underStatusBar: Bool) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
1116 | return underStatusBar ? UIApplication.shared.keyWindow?.rootViewController?.view.snapshotView(afterScreenUpdates: true) : UIScreen.main.snapshotView(afterScreenUpdates: true)
1117 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1122:46: error: 'UISwipeGestureRecognizer' is unavailable in watchOS
1120 | // MARK: Gesture Recognizers
1121 |
1122 | public class CRToastSwipeGestureRecognizer : UISwipeGestureRecognizer {
| `- error: 'UISwipeGestureRecognizer' is unavailable in watchOS
1123 | public var automaticallyDismiss : Bool = true
1124 | public var interactionType : CRToastInteractionType = .tap
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h:31:12: note: 'UISwipeGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UISwipeGestureRecognizer : UIGestureRecognizer
| `- note: 'UISwipeGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property(nonatomic) NSUInteger numberOfTouchesRequired API_UNAVAILABLE(tvos); // default is 1. the number of fingers that must swipe
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1128:44: error: 'UITapGestureRecognizer' is unavailable in watchOS
1126 | }
1127 |
1128 | public class CRToastTapGestureRecognizer : UITapGestureRecognizer {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
1129 | public var automaticallyDismiss : Bool = true
1130 | public var interactionType : CRToastInteractionType = .tap
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:510:20: error: 'UIApplication' is unavailable in watchOS
508 |
509 | fileprivate init() {
510 | if let d = UIApplication.shared.delegate?.window??.tintColor {
| `- error: 'UIApplication' is unavailable in watchOS
511 | backgroundColor = d
512 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:597:54: error: 'UIStatusBarStyle' is unavailable in watchOS
595 | if let v = cleanOptions[.subtitleTextShadowOffset] as? CGSize { subtitleTextShadowOffset = v }
596 | if let v = cleanOptions[.subtitleTextMaxNumberOfLines] as? Int { subtitleTextMaxNumberOfLines = v }
597 | if let v = cleanOptions[.statusBarStyle] as? UIStatusBarStyle { statusBarStyle = v }
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
598 |
599 | if let v = cleanOptions[.backgroundColor] as? UIColor { backgroundColor = v }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift (in target 'CRToastSwift' from project 'CRToastSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CRToastConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:600:55: error: 'UIView' is unavailable in watchOS
598 |
599 | if let v = cleanOptions[.backgroundColor] as? UIColor { backgroundColor = v }
600 | if let v = cleanOptions[.backgroundView ] as? UIView { backgroundView = v }
| `- error: 'UIView' is unavailable in watchOS
601 | if let v = cleanOptions[.image] as? UIImage? { image = v }
602 | if let v = cleanOptions[.imageContentMode] as? UIView.ContentMode { imageContentMode = v }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:602:56: error: 'UIView' is unavailable in watchOS
600 | if let v = cleanOptions[.backgroundView ] as? UIView { backgroundView = v }
601 | if let v = cleanOptions[.image] as? UIImage? { image = v }
602 | if let v = cleanOptions[.imageContentMode] as? UIView.ContentMode { imageContentMode = v }
| `- error: 'UIView' is unavailable in watchOS
603 | if let v = cleanOptions[.imageAlignment] as? CRToastAccessoryViewAlignment { imageAlignment = v }
604 | if let v = cleanOptions[.imageTint] as? UIColor? { imageTint = v }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-16 08:59:48.527 xcodebuild[806:4949] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'CRToastSwift' from project 'CRToastSwift')
SwiftEmitModule normal arm64 Emitting\ module\ for\ CRToastSwift (in target 'CRToastSwift' from project 'CRToastSwift')
Building workspace CRToastSwift with scheme CRToastSwift
(3 failures)
BUILD FAILURE 6.4 watchOS