Build Information
Failed to build Toast, reference master (1ce823), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 08:27:39 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 Toast -destination generic/platform=watchOSBuild Log
"name" : "Toast",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Toast",
"targets" : [
"Toast"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Toast",
"module_type" : "SwiftTarget",
"name" : "Toast",
"path" : "Sources/Toast",
"product_memberships" : [
"Toast"
],
"sources" : [
"Config.swift",
"Infrastructure.swift",
"Message.swift",
"Toast.swift",
"Tools.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "Toast",
"schemes" : [
"Toast"
]
}
}
2026-09-22 04:27:37.214 xcodebuild[819:4796] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Toast -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Toast -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
Toast: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'Toast-product' in project 'Toast'
➜ Explicit dependency on target 'Toast' in project 'Toast'
Target 'Toast' in project 'Toast' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver Toast normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name Toast -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver Toast normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name Toast -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Message.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:97:21: error: 'UILabel' is unavailable in watchOS
95 | // MARK: - Subviews
96 |
97 | let titleLabel: UILabel
| `- error: 'UILabel' is unavailable in watchOS
98 | let textLabel: UILabel
99 | let icon: UIImageView
/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/Toast/Message.swift:98:21: error: 'UILabel' is unavailable in watchOS
96 |
97 | let titleLabel: UILabel
98 | let textLabel: UILabel
| `- error: 'UILabel' is unavailable in watchOS
99 | let icon: UIImageView
100 | let accessory: UIImageView
/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/Toast/Message.swift:99:21: error: 'UIImageView' is unavailable in watchOS
97 | let titleLabel: UILabel
98 | let textLabel: UILabel
99 | let icon: UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
100 | let accessory: UIImageView
101 |
/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/Toast/Message.swift:100:21: error: 'UIImageView' is unavailable in watchOS
98 | let textLabel: UILabel
99 | let icon: UIImageView
100 | let accessory: UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
101 |
102 | // MARK: - Geometry
/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/Toast/Message.swift:220:71: error: 'UITraitCollection' is unavailable in watchOS
218 | // MARK: - Environment
219 |
220 | override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
221 | super.traitCollectionDidChange(previousTraitCollection)
222 | self.lastSize = .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/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:220:19: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
218 | // MARK: - Environment
219 |
220 | override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
221 | super.traitCollectionDidChange(previousTraitCollection)
222 | self.lastSize = .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/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:229:47: error: 'UITouch' is unavailable in watchOS
227 | // MARK: - Touches
228 |
229 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
230 | super.touchesBegan(touches, with: event)
231 |
/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/Toast/Message.swift:229:69: error: 'UIEvent' is unavailable in watchOS
227 | // MARK: - Touches
228 |
229 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
230 | super.touchesBegan(touches, with: event)
231 |
/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/Toast/Message.swift:12:22: error: 'UIView' is unavailable in watchOS
10 |
11 |
12 | final class Message: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 |
14 | // MARK: - Initialization
/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/Toast/Message.swift:31:27: error: 'UILabel' is unavailable in watchOS
29 |
30 | // header label
31 | self.titleLabel = UILabel(frame: .zero)
| `- error: 'UILabel' is unavailable in watchOS
32 | self.titleLabel.numberOfLines = Toast.config.title.maxLines
33 | self.titleLabel.attributedText =
/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/Toast/Config.swift:82:43: error: 'UIApplication' is unavailable in watchOS
80 | paragraph: {
81 | let paragraph = NSMutableParagraphStyle()
82 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
83 | paragraph.lineHeightMultiple = 0.85
84 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .callout).with(weight: .semibold).lineHeight * 0.15
/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/Toast/Message.swift:44:26: error: 'UILabel' is unavailable in watchOS
42 |
43 | // text label
44 | self.textLabel = UILabel(frame: .zero)
| `- error: 'UILabel' is unavailable in watchOS
45 | self.textLabel.numberOfLines = Toast.config.text.maxLines
46 | self.textLabel.attributedText =
/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/Toast/Config.swift:96:43: error: 'UIApplication' is unavailable in watchOS
94 | paragraph: {
95 | let paragraph = NSMutableParagraphStyle()
96 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
97 | paragraph.lineHeightMultiple = 0.85
98 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .footnote).lineHeight * 0.15
/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/Toast/Message.swift:57:21: error: 'UIImageView' is unavailable in watchOS
55 |
56 | // icon
57 | self.icon = UIImageView(image: icon)
| `- error: 'UIImageView' is unavailable in watchOS
58 | self.icon.tintColor = foreground
59 |
/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/Toast/Message.swift:61:26: error: 'UIImageView' is unavailable in watchOS
59 |
60 | // accessory icon
61 | self.accessory = UIImageView(image: accessory)
| `- error: 'UIImageView' is unavailable in watchOS
62 | self.accessory.tintColor = foreground
63 |
/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/Toast/Message.swift:125:33: error: 'layoutDirection' is unavailable in watchOS
123 | let height: CGFloat = max(iconSize.height, accessorySize.height, titleHeight + spacing + textHeight).ceiled() + padding * 2
124 |
125 | if self.traitCollection.layoutDirection == .rightToLeft {
| `- error: 'layoutDirection' is unavailable in watchOS
126 | self.icon.frame =
127 | CGRect(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:45:67: note: 'layoutDirection' has been explicitly marked unavailable here
43 |
44 | + (UITraitCollection *)traitCollectionWithLayoutDirection:(UITraitEnvironmentLayoutDirection)layoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
45 | @property (nonatomic, readonly) UITraitEnvironmentLayoutDirection layoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos); // unspecified: UITraitEnvironmentLayoutDirectionUnspecified
| `- note: 'layoutDirection' has been explicitly marked unavailable here
46 |
47 | + (UITraitCollection *)traitCollectionWithDisplayScale:(CGFloat)scale;
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:221:15: error: 'traitCollectionDidChange' is unavailable in watchOS
219 |
220 | override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
221 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
222 | self.lastSize = .zero
223 | self.setNeedsLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:237:13: error: 'UIPasteboard' is unavailable in watchOS
235 | } else {
236 |
237 | UIPasteboard.general.string = [
| `- error: 'UIPasteboard' is unavailable in watchOS
238 | self.titleLabel.text,
239 | self.textLabel.text,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
50 | @interface UIPasteboard : NSObject
| `- note: 'UIPasteboard' has been explicitly marked unavailable here
51 |
52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Message.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:237:34: error: 'string' is unavailable in watchOS
235 | } else {
236 |
237 | UIPasteboard.general.string = [
| `- error: 'string' is unavailable in watchOS
238 | self.titleLabel.text,
239 | self.textLabel.text,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:108:46: note: 'string' has been explicitly marked unavailable here
106 | - (void)setItems:(NSArray<NSDictionary<NSString *, id> *> *)items options:(NSDictionary<UIPasteboardOption, id> *)options API_AVAILABLE(ios(10.0));
107 |
108 | @property(nullable,nonatomic,copy) NSString *string API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
| `- note: 'string' has been explicitly marked unavailable here
109 | @property(nullable,nonatomic,copy) NSArray<NSString *> *strings API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
110 |
SwiftEmitModule normal arm64 Emitting\ module\ for\ Toast (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift:66:38: error: 'UIWindow' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'UIWindow' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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/Toast/Config.swift:66:71: error: 'UIWindow' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'UIWindow' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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/Toast/Config.swift:66:86: error: 'normal' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'normal' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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:106:34: note: 'normal' has been explicitly marked unavailable here
104 | @end
105 |
106 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelNormal API_UNAVAILABLE(watchos);
| `- note: 'normal' has been explicitly marked unavailable here
107 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelAlert API_UNAVAILABLE(watchos);
108 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelStatusBar API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift:82:43: error: 'UIApplication' is unavailable in watchOS
80 | paragraph: {
81 | let paragraph = NSMutableParagraphStyle()
82 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
83 | paragraph.lineHeightMultiple = 0.85
84 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .callout).with(weight: .semibold).lineHeight * 0.15
/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/Toast/Config.swift:96:43: error: 'UIApplication' is unavailable in watchOS
94 | paragraph: {
95 | let paragraph = NSMutableParagraphStyle()
96 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
97 | paragraph.lineHeightMultiple = 0.85
98 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .footnote).lineHeight * 0.15
/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/Toast/Infrastructure.swift:40:57: error: 'UIEvent' is unavailable in watchOS
38 | var vc: VC { self.rootViewController as! VC }
39 |
40 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
41 | if let event, event.type == .hover {
42 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Toast/Infrastructure.swift:40:70: error: 'UIView' is unavailable in watchOS
38 | var vc: VC { self.rootViewController as! VC }
39 |
40 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
41 | if let event, event.type == .hover {
42 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Toast/Infrastructure.swift:48:32: error: 'UIStatusBarStyle' is unavailable in watchOS
46 | }
47 |
48 | static var statusBarStyle: UIStatusBarStyle = .default
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
49 |
50 | private static func captureStatusBarStyle() {
/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/Toast/Infrastructure.swift:14:16: error: 'UIWindow' is unavailable in watchOS
12 | // MARK: - Window
13 |
14 | final class W: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
15 | static weak var current: W?
16 |
/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/Toast/Infrastructure.swift:77:47: error: 'UIStatusBarStyle' is unavailable in watchOS
75 | }
76 |
77 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
78 | return W.statusBarStyle
79 | }
/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/Toast/Infrastructure.swift:72:21: error: 'UIViewController' is unavailable in watchOS
70 |
71 | extension W {
72 | final class VC: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
73 | override func loadView() {
74 | self.view = V(frame: UIScreen.main.bounds)
/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/Toast/Infrastructure.swift:114:61: error: 'UIEvent' is unavailable in watchOS
112 | // MARK: - Touches
113 |
114 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
115 | // message touched?
116 | for message in self.messages {
/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/Toast/Infrastructure.swift:114:74: error: 'UIView' is unavailable in watchOS
112 | // MARK: - Touches
113 |
114 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
115 | // message touched?
116 | for message in self.messages {
/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/Toast/Infrastructure.swift:88:20: error: 'UIView' is unavailable in watchOS
86 |
87 | extension W.VC {
88 | final class V: UIView {
| `- error: 'UIView' is unavailable in watchOS
89 |
90 | // MARK: - Layout
/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/Toast/Infrastructure.swift:261:24: error: 'UIWindowScene' is unavailable in watchOS
259 |
260 | private extension UIWindowScene {
261 | static var active: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
262 | return UIApplication.shared.connectedScenes
263 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:260:19: error: 'UIWindowScene' is unavailable in watchOS
258 | // MARK: - Window Scene
259 |
260 | private extension UIWindowScene {
| `- error: 'UIWindowScene' is unavailable in watchOS
261 | static var active: UIWindowScene? {
262 | return UIApplication.shared.connectedScenes
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:269:19: error: 'UIScene' is unavailable in watchOS
267 | }
268 |
269 | private extension UIScene.ActivationState {
| `- error: 'UIScene' is unavailable in watchOS
270 | var sortIndex: Int {
271 | switch 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:97:21: error: 'UILabel' is unavailable in watchOS
95 | // MARK: - Subviews
96 |
97 | let titleLabel: UILabel
| `- error: 'UILabel' is unavailable in watchOS
98 | let textLabel: UILabel
99 | let icon: UIImageView
/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/Toast/Message.swift:98:21: error: 'UILabel' is unavailable in watchOS
96 |
97 | let titleLabel: UILabel
98 | let textLabel: UILabel
| `- error: 'UILabel' is unavailable in watchOS
99 | let icon: UIImageView
100 | let accessory: UIImageView
/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/Toast/Message.swift:99:21: error: 'UIImageView' is unavailable in watchOS
97 | let titleLabel: UILabel
98 | let textLabel: UILabel
99 | let icon: UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
100 | let accessory: UIImageView
101 |
/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/Toast/Message.swift:100:21: error: 'UIImageView' is unavailable in watchOS
98 | let textLabel: UILabel
99 | let icon: UIImageView
100 | let accessory: UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
101 |
102 | // MARK: - Geometry
/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/Toast/Message.swift:220:71: error: 'UITraitCollection' is unavailable in watchOS
218 | // MARK: - Environment
219 |
220 | override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
221 | super.traitCollectionDidChange(previousTraitCollection)
222 | self.lastSize = .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/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:220:19: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
218 | // MARK: - Environment
219 |
220 | override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
221 | super.traitCollectionDidChange(previousTraitCollection)
222 | self.lastSize = .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/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:229:47: error: 'UITouch' is unavailable in watchOS
227 | // MARK: - Touches
228 |
229 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
230 | super.touchesBegan(touches, with: event)
231 |
/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/Toast/Message.swift:229:69: error: 'UIEvent' is unavailable in watchOS
227 | // MARK: - Touches
228 |
229 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
230 | super.touchesBegan(touches, with: event)
231 |
/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/Toast/Message.swift:12:22: error: 'UIView' is unavailable in watchOS
10 |
11 |
12 | final class Message: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 |
14 | // MARK: - Initialization
/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/Toast/Tools.swift:60:11: error: 'UIView' is unavailable in watchOS
58 | }
59 |
60 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
61 | func sizeThatFits(width: CGFloat) -> CGSize {
62 | return self.sizeThatFits(CGSize(width: width, height: 0))
/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.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Toast.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Tools.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Toast -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64/Toast.abi.json
SwiftCompile normal arm64 (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Toast (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift:66:38: error: 'UIWindow' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'UIWindow' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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/Toast/Config.swift:66:71: error: 'UIWindow' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'UIWindow' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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/Toast/Config.swift:66:86: error: 'normal' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'normal' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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:106:34: note: 'normal' has been explicitly marked unavailable here
104 | @end
105 |
106 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelNormal API_UNAVAILABLE(watchos);
| `- note: 'normal' has been explicitly marked unavailable here
107 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelAlert API_UNAVAILABLE(watchos);
108 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelStatusBar API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift:82:43: error: 'UIApplication' is unavailable in watchOS
80 | paragraph: {
81 | let paragraph = NSMutableParagraphStyle()
82 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
83 | paragraph.lineHeightMultiple = 0.85
84 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .callout).with(weight: .semibold).lineHeight * 0.15
/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/Toast/Config.swift:96:43: error: 'UIApplication' is unavailable in watchOS
94 | paragraph: {
95 | let paragraph = NSMutableParagraphStyle()
96 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
97 | paragraph.lineHeightMultiple = 0.85
98 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .footnote).lineHeight * 0.15
/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/Toast/Infrastructure.swift:40:57: error: 'UIEvent' is unavailable in watchOS
38 | var vc: VC { self.rootViewController as! VC }
39 |
40 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
41 | if let event, event.type == .hover {
42 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Toast/Infrastructure.swift:40:70: error: 'UIView' is unavailable in watchOS
38 | var vc: VC { self.rootViewController as! VC }
39 |
40 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
41 | if let event, event.type == .hover {
42 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Toast/Infrastructure.swift:48:32: error: 'UIStatusBarStyle' is unavailable in watchOS
46 | }
47 |
48 | static var statusBarStyle: UIStatusBarStyle = .default
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
49 |
50 | private static func captureStatusBarStyle() {
/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/Toast/Infrastructure.swift:14:16: error: 'UIWindow' is unavailable in watchOS
12 | // MARK: - Window
13 |
14 | final class W: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
15 | static weak var current: W?
16 |
/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/Toast/Infrastructure.swift:77:47: error: 'UIStatusBarStyle' is unavailable in watchOS
75 | }
76 |
77 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
78 | return W.statusBarStyle
79 | }
/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/Toast/Infrastructure.swift:72:21: error: 'UIViewController' is unavailable in watchOS
70 |
71 | extension W {
72 | final class VC: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
73 | override func loadView() {
74 | self.view = V(frame: UIScreen.main.bounds)
/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/Toast/Infrastructure.swift:114:61: error: 'UIEvent' is unavailable in watchOS
112 | // MARK: - Touches
113 |
114 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
115 | // message touched?
116 | for message in self.messages {
/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/Toast/Infrastructure.swift:114:74: error: 'UIView' is unavailable in watchOS
112 | // MARK: - Touches
113 |
114 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
115 | // message touched?
116 | for message in self.messages {
/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/Toast/Infrastructure.swift:88:20: error: 'UIView' is unavailable in watchOS
86 |
87 | extension W.VC {
88 | final class V: UIView {
| `- error: 'UIView' is unavailable in watchOS
89 |
90 | // MARK: - Layout
/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/Toast/Infrastructure.swift:261:24: error: 'UIWindowScene' is unavailable in watchOS
259 |
260 | private extension UIWindowScene {
261 | static var active: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
262 | return UIApplication.shared.connectedScenes
263 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:260:19: error: 'UIWindowScene' is unavailable in watchOS
258 | // MARK: - Window Scene
259 |
260 | private extension UIWindowScene {
| `- error: 'UIWindowScene' is unavailable in watchOS
261 | static var active: UIWindowScene? {
262 | return UIApplication.shared.connectedScenes
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:269:19: error: 'UIScene' is unavailable in watchOS
267 | }
268 |
269 | private extension UIScene.ActivationState {
| `- error: 'UIScene' is unavailable in watchOS
270 | var sortIndex: Int {
271 | switch 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:97:21: error: 'UILabel' is unavailable in watchOS
95 | // MARK: - Subviews
96 |
97 | let titleLabel: UILabel
| `- error: 'UILabel' is unavailable in watchOS
98 | let textLabel: UILabel
99 | let icon: UIImageView
/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/Toast/Message.swift:98:21: error: 'UILabel' is unavailable in watchOS
96 |
97 | let titleLabel: UILabel
98 | let textLabel: UILabel
| `- error: 'UILabel' is unavailable in watchOS
99 | let icon: UIImageView
100 | let accessory: UIImageView
/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/Toast/Message.swift:99:21: error: 'UIImageView' is unavailable in watchOS
97 | let titleLabel: UILabel
98 | let textLabel: UILabel
99 | let icon: UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
100 | let accessory: UIImageView
101 |
/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/Toast/Message.swift:100:21: error: 'UIImageView' is unavailable in watchOS
98 | let textLabel: UILabel
99 | let icon: UIImageView
100 | let accessory: UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
101 |
102 | // MARK: - Geometry
/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/Toast/Message.swift:220:71: error: 'UITraitCollection' is unavailable in watchOS
218 | // MARK: - Environment
219 |
220 | override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
221 | super.traitCollectionDidChange(previousTraitCollection)
222 | self.lastSize = .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/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:220:19: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
218 | // MARK: - Environment
219 |
220 | override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
221 | super.traitCollectionDidChange(previousTraitCollection)
222 | self.lastSize = .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/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:229:47: error: 'UITouch' is unavailable in watchOS
227 | // MARK: - Touches
228 |
229 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
230 | super.touchesBegan(touches, with: event)
231 |
/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/Toast/Message.swift:229:69: error: 'UIEvent' is unavailable in watchOS
227 | // MARK: - Touches
228 |
229 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
230 | super.touchesBegan(touches, with: event)
231 |
/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/Toast/Message.swift:12:22: error: 'UIView' is unavailable in watchOS
10 |
11 |
12 | final class Message: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 |
14 | // MARK: - Initialization
/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/Toast/Tools.swift:60:11: error: 'UIView' is unavailable in watchOS
58 | }
59 |
60 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
61 | func sizeThatFits(width: CGFloat) -> CGSize {
62 | return self.sizeThatFits(CGSize(width: width, height: 0))
/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.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Toast.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Tools.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Toast -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-watchos/Toast-t.build/Objects-normal/arm64_32/Toast.abi.json
SwiftCompile normal arm64_32 (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ Config.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift:66:38: error: 'UIWindow' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'UIWindow' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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/Toast/Config.swift:66:71: error: 'UIWindow' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'UIWindow' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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/Toast/Config.swift:66:86: error: 'normal' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'normal' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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:106:34: note: 'normal' has been explicitly marked unavailable here
104 | @end
105 |
106 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelNormal API_UNAVAILABLE(watchos);
| `- note: 'normal' has been explicitly marked unavailable here
107 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelAlert API_UNAVAILABLE(watchos);
108 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelStatusBar API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift:82:43: error: 'UIApplication' is unavailable in watchOS
80 | paragraph: {
81 | let paragraph = NSMutableParagraphStyle()
82 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
83 | paragraph.lineHeightMultiple = 0.85
84 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .callout).with(weight: .semibold).lineHeight * 0.15
/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\ Infrastructure.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:40:57: error: 'UIEvent' is unavailable in watchOS
38 | var vc: VC { self.rootViewController as! VC }
39 |
40 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
41 | if let event, event.type == .hover {
42 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Toast/Infrastructure.swift:40:70: error: 'UIView' is unavailable in watchOS
38 | var vc: VC { self.rootViewController as! VC }
39 |
40 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
41 | if let event, event.type == .hover {
42 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Toast/Infrastructure.swift:48:32: error: 'UIStatusBarStyle' is unavailable in watchOS
46 | }
47 |
48 | static var statusBarStyle: UIStatusBarStyle = .default
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
49 |
50 | private static func captureStatusBarStyle() {
/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/Toast/Infrastructure.swift:14:16: error: 'UIWindow' is unavailable in watchOS
12 | // MARK: - Window
13 |
14 | final class W: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
15 | static weak var current: W?
16 |
/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/Toast/Infrastructure.swift:77:47: error: 'UIStatusBarStyle' is unavailable in watchOS
75 | }
76 |
77 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
78 | return W.statusBarStyle
79 | }
/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/Toast/Infrastructure.swift:72:21: error: 'UIViewController' is unavailable in watchOS
70 |
71 | extension W {
72 | final class VC: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
73 | override func loadView() {
74 | self.view = V(frame: UIScreen.main.bounds)
/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/Toast/Infrastructure.swift:114:61: error: 'UIEvent' is unavailable in watchOS
112 | // MARK: - Touches
113 |
114 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
115 | // message touched?
116 | for message in self.messages {
/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/Toast/Infrastructure.swift:114:74: error: 'UIView' is unavailable in watchOS
112 | // MARK: - Touches
113 |
114 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
115 | // message touched?
116 | for message in self.messages {
/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/Toast/Infrastructure.swift:88:20: error: 'UIView' is unavailable in watchOS
86 |
87 | extension W.VC {
88 | final class V: UIView {
| `- error: 'UIView' is unavailable in watchOS
89 |
90 | // MARK: - Layout
/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/Toast/Infrastructure.swift:261:24: error: 'UIWindowScene' is unavailable in watchOS
259 |
260 | private extension UIWindowScene {
261 | static var active: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
262 | return UIApplication.shared.connectedScenes
263 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:260:19: error: 'UIWindowScene' is unavailable in watchOS
258 | // MARK: - Window Scene
259 |
260 | private extension UIWindowScene {
| `- error: 'UIWindowScene' is unavailable in watchOS
261 | static var active: UIWindowScene? {
262 | return UIApplication.shared.connectedScenes
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:269:19: error: 'UIScene' is unavailable in watchOS
267 | }
268 |
269 | private extension UIScene.ActivationState {
| `- error: 'UIScene' is unavailable in watchOS
270 | var sortIndex: Int {
271 | switch 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:22:25: error: 'UIWindowScene' is unavailable in watchOS
20 | }
21 |
22 | if let active = UIWindowScene.active {
| `- error: 'UIWindowScene' is unavailable in watchOS
23 | let w = W(windowScene: active)
24 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:23:36: error: argument passed to call that takes no arguments
21 |
22 | if let active = UIWindowScene.active {
23 | let w = W(windowScene: active)
| `- error: argument passed to call that takes no arguments
24 |
25 | Self.captureStatusBarStyle()
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:41:38: error: 'hover' is unavailable in watchOS
39 |
40 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
41 | if let event, event.type == .hover {
| `- error: 'hover' is unavailable in watchOS
42 | return nil
43 | } else {
UIKit.UIEvent.EventType.hover:4:10: note: 'hover' has been explicitly marked unavailable here
2 | enum EventType {
3 | @available(watchOS, unavailable)
4 | case hover }
| `- note: 'hover' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:53:28: error: 'UIWindowScene' is unavailable in watchOS
51 | Self.statusBarStyle = {
52 | // modern variant?
53 | if let style = UIWindowScene.active?.statusBarManager?.statusBarStyle {
| `- error: 'UIWindowScene' is unavailable in watchOS
54 | return style
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:57:30: error: 'UIWindowScene' is unavailable in watchOS
55 | }
56 |
57 | if let window = UIWindowScene.active?.windows.first(where: { $0.isKeyWindow }),
| `- error: 'UIWindowScene' is unavailable in watchOS
58 | let root = window.rootViewController
59 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:74:34: error: 'UIScreen' is unavailable in watchOS
72 | final class VC: UIViewController {
73 | override func loadView() {
74 | self.view = V(frame: UIScreen.main.bounds)
| `- error: 'UIScreen' is unavailable in watchOS
75 | }
76 |
/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/Toast/Infrastructure.swift:74:43: error: 'main' is unavailable in watchOS
72 | final class VC: UIViewController {
73 | override func loadView() {
74 | self.view = V(frame: UIScreen.main.bounds)
| `- error: 'main' is unavailable in watchOS
75 | }
76 |
/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/Toast/Infrastructure.swift:93:66: error: 'safeAreaInsets' is unavailable in watchOS
91 |
92 | override func layoutSubviews() {
93 | let bounds: CGRect = self.bounds.inset(by: self.safeAreaInsets).inset(by: Toast.config.insets)
| `- error: 'safeAreaInsets' is unavailable in watchOS
94 | let gap: CGFloat = Toast.config.contentPadding
95 | let width: CGFloat = min(bounds.width, Toast.config.maxWidth)
/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:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:167:17: error: 'UIView' is unavailable in watchOS
165 | }) {
166 | self.bringSubviewToFront(previous)
167 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
168 | withDuration: 0.25,
169 | delay: 0,
/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/Toast/Infrastructure.swift:181:62: error: 'safeAreaInsets' is unavailable in watchOS
179 |
180 | // pre-animation position
181 | let bounds: CGRect = self.bounds.inset(by: self.safeAreaInsets).inset(by: Toast.config.insets)
| `- error: 'safeAreaInsets' is unavailable in watchOS
182 | let width: CGFloat = min(bounds.width, Toast.config.maxWidth)
183 | let height: CGFloat = message.sizeThatFits(width: width).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/UIView.h:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:197:13: error: 'UIView' is unavailable in watchOS
195 |
196 | // show
197 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
198 | withDuration: 0.25,
199 | delay: 0,
/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/Toast/Infrastructure.swift:221:13: error: 'UIView' is unavailable in watchOS
219 | func remove(messages: [Message]) {
220 | // remove specified and layout remaining
221 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
222 | withDuration: 0.25,
223 | delay: 0,
/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/Toast/Infrastructure.swift:234:25: error: 'UIView' is unavailable in watchOS
232 | if self.subviews.count > 0 {
233 | // there are
234 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
235 | withDuration: 0.25,
236 | delay: 0,
/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/Toast/Infrastructure.swift:262:16: error: 'UIApplication' is unavailable in watchOS
260 | private extension UIWindowScene {
261 | static var active: UIWindowScene? {
262 | return UIApplication.shared.connectedScenes
| `- error: 'UIApplication' is unavailable in watchOS
263 | .compactMap { $0 as? UIWindowScene }
264 | .sorted(by: { $0.activationState.sortIndex < $1.activationState.sortIndex })
/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/Toast/Infrastructure.swift:262:37: error: 'connectedScenes' is unavailable in watchOS
260 | private extension UIWindowScene {
261 | static var active: UIWindowScene? {
262 | return UIApplication.shared.connectedScenes
| `- error: 'connectedScenes' is unavailable in watchOS
263 | .compactMap { $0 as? UIWindowScene }
264 | .sorted(by: { $0.activationState.sortIndex < $1.activationState.sortIndex })
/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:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Infrastructure.swift
SwiftCompile normal arm64 Compiling\ Toast.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Toast.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift:82:43: error: 'UIApplication' is unavailable in watchOS
80 | paragraph: {
81 | let paragraph = NSMutableParagraphStyle()
82 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
83 | paragraph.lineHeightMultiple = 0.85
84 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .callout).with(weight: .semibold).lineHeight * 0.15
/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/Toast/Toast.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Toast.swift
SwiftCompile normal arm64 Compiling\ Config.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift:66:38: error: 'UIWindow' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'UIWindow' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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/Toast/Config.swift:66:71: error: 'UIWindow' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'UIWindow' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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/Toast/Config.swift:66:86: error: 'normal' is unavailable in watchOS
64 | )
65 |
66 | public var windowLevel: UIWindow.Level = .init(rawValue: UIWindow.Level.normal.rawValue + 1)
| `- error: 'normal' is unavailable in watchOS
67 | public var insets: UIEdgeInsets = .init(all: 24)
68 | public var maxWidth: CGFloat = 480
/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:106:34: note: 'normal' has been explicitly marked unavailable here
104 | @end
105 |
106 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelNormal API_UNAVAILABLE(watchos);
| `- note: 'normal' has been explicitly marked unavailable here
107 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelAlert API_UNAVAILABLE(watchos);
108 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelStatusBar API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Config.swift:82:43: error: 'UIApplication' is unavailable in watchOS
80 | paragraph: {
81 | let paragraph = NSMutableParagraphStyle()
82 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
83 | paragraph.lineHeightMultiple = 0.85
84 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .callout).with(weight: .semibold).lineHeight * 0.15
/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/Toast/Config.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Config.swift
SwiftCompile normal arm64 Compiling\ Tools.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Tools.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Tools.swift:60:11: error: 'UIView' is unavailable in watchOS
58 | }
59 |
60 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
61 | func sizeThatFits(width: CGFloat) -> CGSize {
62 | return self.sizeThatFits(CGSize(width: width, height: 0))
/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/Toast/Tools.swift:68:14: error: 'init(dynamicProvider:)' is unavailable in watchOS
66 | extension UIColor {
67 | convenience init(light: UIColor, dark: UIColor) {
68 | self.init(dynamicProvider: { (provider: UITraitCollection) -> UIColor in
| `- error: 'init(dynamicProvider:)' is unavailable in watchOS
69 | switch provider.userInterfaceStyle {
70 | case .unspecified: return light
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:144:1: note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
142 |
143 | + (UIColor *)colorWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
144 | - (UIColor *)initWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
145 |
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Tools.swift:68:49: error: 'UITraitCollection' is unavailable in watchOS
66 | extension UIColor {
67 | convenience init(light: UIColor, dark: UIColor) {
68 | self.init(dynamicProvider: { (provider: UITraitCollection) -> UIColor in
| `- error: 'UITraitCollection' is unavailable in watchOS
69 | switch provider.userInterfaceStyle {
70 | case .unspecified: return light
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/Tools.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Tools.swift
SwiftCompile normal arm64_32 Compiling\ Message.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:97:21: error: 'UILabel' is unavailable in watchOS
95 | // MARK: - Subviews
96 |
97 | let titleLabel: UILabel
| `- error: 'UILabel' is unavailable in watchOS
98 | let textLabel: UILabel
99 | let icon: UIImageView
/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/Toast/Message.swift:98:21: error: 'UILabel' is unavailable in watchOS
96 |
97 | let titleLabel: UILabel
98 | let textLabel: UILabel
| `- error: 'UILabel' is unavailable in watchOS
99 | let icon: UIImageView
100 | let accessory: UIImageView
/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/Toast/Message.swift:99:21: error: 'UIImageView' is unavailable in watchOS
97 | let titleLabel: UILabel
98 | let textLabel: UILabel
99 | let icon: UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
100 | let accessory: UIImageView
101 |
/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/Toast/Message.swift:100:21: error: 'UIImageView' is unavailable in watchOS
98 | let textLabel: UILabel
99 | let icon: UIImageView
100 | let accessory: UIImageView
| `- error: 'UIImageView' is unavailable in watchOS
101 |
102 | // MARK: - Geometry
/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/Toast/Message.swift:220:71: error: 'UITraitCollection' is unavailable in watchOS
218 | // MARK: - Environment
219 |
220 | override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
221 | super.traitCollectionDidChange(previousTraitCollection)
222 | self.lastSize = .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/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:220:19: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
218 | // MARK: - Environment
219 |
220 | override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
221 | super.traitCollectionDidChange(previousTraitCollection)
222 | self.lastSize = .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/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:229:47: error: 'UITouch' is unavailable in watchOS
227 | // MARK: - Touches
228 |
229 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
230 | super.touchesBegan(touches, with: event)
231 |
/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/Toast/Message.swift:229:69: error: 'UIEvent' is unavailable in watchOS
227 | // MARK: - Touches
228 |
229 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
230 | super.touchesBegan(touches, with: event)
231 |
/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/Toast/Message.swift:12:22: error: 'UIView' is unavailable in watchOS
10 |
11 |
12 | final class Message: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 |
14 | // MARK: - Initialization
/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/Toast/Message.swift:31:27: error: 'UILabel' is unavailable in watchOS
29 |
30 | // header label
31 | self.titleLabel = UILabel(frame: .zero)
| `- error: 'UILabel' is unavailable in watchOS
32 | self.titleLabel.numberOfLines = Toast.config.title.maxLines
33 | self.titleLabel.attributedText =
/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/Toast/Config.swift:82:43: error: 'UIApplication' is unavailable in watchOS
80 | paragraph: {
81 | let paragraph = NSMutableParagraphStyle()
82 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
83 | paragraph.lineHeightMultiple = 0.85
84 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .callout).with(weight: .semibold).lineHeight * 0.15
/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/Toast/Message.swift:44:26: error: 'UILabel' is unavailable in watchOS
42 |
43 | // text label
44 | self.textLabel = UILabel(frame: .zero)
| `- error: 'UILabel' is unavailable in watchOS
45 | self.textLabel.numberOfLines = Toast.config.text.maxLines
46 | self.textLabel.attributedText =
/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/Toast/Config.swift:96:43: error: 'UIApplication' is unavailable in watchOS
94 | paragraph: {
95 | let paragraph = NSMutableParagraphStyle()
96 | paragraph.alignment = UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft ? .right : .left
| `- error: 'UIApplication' is unavailable in watchOS
97 | paragraph.lineHeightMultiple = 0.85
98 | paragraph.paragraphSpacing = UIFont.preferredFont(forTextStyle: .footnote).lineHeight * 0.15
/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/Toast/Message.swift:57:21: error: 'UIImageView' is unavailable in watchOS
55 |
56 | // icon
57 | self.icon = UIImageView(image: icon)
| `- error: 'UIImageView' is unavailable in watchOS
58 | self.icon.tintColor = foreground
59 |
/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/Toast/Message.swift:61:26: error: 'UIImageView' is unavailable in watchOS
59 |
60 | // accessory icon
61 | self.accessory = UIImageView(image: accessory)
| `- error: 'UIImageView' is unavailable in watchOS
62 | self.accessory.tintColor = foreground
63 |
/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/Toast/Message.swift:125:33: error: 'layoutDirection' is unavailable in watchOS
123 | let height: CGFloat = max(iconSize.height, accessorySize.height, titleHeight + spacing + textHeight).ceiled() + padding * 2
124 |
125 | if self.traitCollection.layoutDirection == .rightToLeft {
| `- error: 'layoutDirection' is unavailable in watchOS
126 | self.icon.frame =
127 | CGRect(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:45:67: note: 'layoutDirection' has been explicitly marked unavailable here
43 |
44 | + (UITraitCollection *)traitCollectionWithLayoutDirection:(UITraitEnvironmentLayoutDirection)layoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
45 | @property (nonatomic, readonly) UITraitEnvironmentLayoutDirection layoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos); // unspecified: UITraitEnvironmentLayoutDirectionUnspecified
| `- note: 'layoutDirection' has been explicitly marked unavailable here
46 |
47 | + (UITraitCollection *)traitCollectionWithDisplayScale:(CGFloat)scale;
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:221:15: error: 'traitCollectionDidChange' is unavailable in watchOS
219 |
220 | override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
221 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
222 | self.lastSize = .zero
223 | self.setNeedsLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift:237:13: error: 'UIPasteboard' is unavailable in watchOS
235 | } else {
236 |
237 | UIPasteboard.general.string = [
| `- error: 'UIPasteboard' is unavailable in watchOS
238 | self.titleLabel.text,
239 | self.textLabel.text,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
50 | @interface UIPasteboard : NSObject
| `- note: 'UIPasteboard' has been explicitly marked unavailable here
51 |
52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Toast/Message.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Message.swift
SwiftCompile normal arm64 Compiling\ Infrastructure.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:40:57: error: 'UIEvent' is unavailable in watchOS
38 | var vc: VC { self.rootViewController as! VC }
39 |
40 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
41 | if let event, event.type == .hover {
42 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Toast/Infrastructure.swift:40:70: error: 'UIView' is unavailable in watchOS
38 | var vc: VC { self.rootViewController as! VC }
39 |
40 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
41 | if let event, event.type == .hover {
42 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Toast/Infrastructure.swift:48:32: error: 'UIStatusBarStyle' is unavailable in watchOS
46 | }
47 |
48 | static var statusBarStyle: UIStatusBarStyle = .default
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
49 |
50 | private static func captureStatusBarStyle() {
/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/Toast/Infrastructure.swift:14:16: error: 'UIWindow' is unavailable in watchOS
12 | // MARK: - Window
13 |
14 | final class W: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
15 | static weak var current: W?
16 |
/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/Toast/Infrastructure.swift:77:47: error: 'UIStatusBarStyle' is unavailable in watchOS
75 | }
76 |
77 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
78 | return W.statusBarStyle
79 | }
/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/Toast/Infrastructure.swift:72:21: error: 'UIViewController' is unavailable in watchOS
70 |
71 | extension W {
72 | final class VC: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
73 | override func loadView() {
74 | self.view = V(frame: UIScreen.main.bounds)
/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/Toast/Infrastructure.swift:114:61: error: 'UIEvent' is unavailable in watchOS
112 | // MARK: - Touches
113 |
114 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
115 | // message touched?
116 | for message in self.messages {
/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/Toast/Infrastructure.swift:114:74: error: 'UIView' is unavailable in watchOS
112 | // MARK: - Touches
113 |
114 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
115 | // message touched?
116 | for message in self.messages {
/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/Toast/Infrastructure.swift:88:20: error: 'UIView' is unavailable in watchOS
86 |
87 | extension W.VC {
88 | final class V: UIView {
| `- error: 'UIView' is unavailable in watchOS
89 |
90 | // MARK: - Layout
/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/Toast/Infrastructure.swift:261:24: error: 'UIWindowScene' is unavailable in watchOS
259 |
260 | private extension UIWindowScene {
261 | static var active: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
262 | return UIApplication.shared.connectedScenes
263 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:260:19: error: 'UIWindowScene' is unavailable in watchOS
258 | // MARK: - Window Scene
259 |
260 | private extension UIWindowScene {
| `- error: 'UIWindowScene' is unavailable in watchOS
261 | static var active: UIWindowScene? {
262 | return UIApplication.shared.connectedScenes
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:269:19: error: 'UIScene' is unavailable in watchOS
267 | }
268 |
269 | private extension UIScene.ActivationState {
| `- error: 'UIScene' is unavailable in watchOS
270 | var sortIndex: Int {
271 | switch 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:22:25: error: 'UIWindowScene' is unavailable in watchOS
20 | }
21 |
22 | if let active = UIWindowScene.active {
| `- error: 'UIWindowScene' is unavailable in watchOS
23 | let w = W(windowScene: active)
24 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:23:36: error: argument passed to call that takes no arguments
21 |
22 | if let active = UIWindowScene.active {
23 | let w = W(windowScene: active)
| `- error: argument passed to call that takes no arguments
24 |
25 | Self.captureStatusBarStyle()
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:41:38: error: 'hover' is unavailable in watchOS
39 |
40 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
41 | if let event, event.type == .hover {
| `- error: 'hover' is unavailable in watchOS
42 | return nil
43 | } else {
UIKit.UIEvent.EventType.hover:4:10: note: 'hover' has been explicitly marked unavailable here
2 | enum EventType {
3 | @available(watchOS, unavailable)
4 | case hover }
| `- note: 'hover' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:53:28: error: 'UIWindowScene' is unavailable in watchOS
51 | Self.statusBarStyle = {
52 | // modern variant?
53 | if let style = UIWindowScene.active?.statusBarManager?.statusBarStyle {
| `- error: 'UIWindowScene' is unavailable in watchOS
54 | return style
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:57:30: error: 'UIWindowScene' is unavailable in watchOS
55 | }
56 |
57 | if let window = UIWindowScene.active?.windows.first(where: { $0.isKeyWindow }),
| `- error: 'UIWindowScene' is unavailable in watchOS
58 | let root = window.rootViewController
59 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:74:34: error: 'UIScreen' is unavailable in watchOS
72 | final class VC: UIViewController {
73 | override func loadView() {
74 | self.view = V(frame: UIScreen.main.bounds)
| `- error: 'UIScreen' is unavailable in watchOS
75 | }
76 |
/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/Toast/Infrastructure.swift:74:43: error: 'main' is unavailable in watchOS
72 | final class VC: UIViewController {
73 | override func loadView() {
74 | self.view = V(frame: UIScreen.main.bounds)
| `- error: 'main' is unavailable in watchOS
75 | }
76 |
/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/Toast/Infrastructure.swift:93:66: error: 'safeAreaInsets' is unavailable in watchOS
91 |
92 | override func layoutSubviews() {
93 | let bounds: CGRect = self.bounds.inset(by: self.safeAreaInsets).inset(by: Toast.config.insets)
| `- error: 'safeAreaInsets' is unavailable in watchOS
94 | let gap: CGFloat = Toast.config.contentPadding
95 | let width: CGFloat = min(bounds.width, Toast.config.maxWidth)
/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:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:167:17: error: 'UIView' is unavailable in watchOS
165 | }) {
166 | self.bringSubviewToFront(previous)
167 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
168 | withDuration: 0.25,
169 | delay: 0,
/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/Toast/Infrastructure.swift:181:62: error: 'safeAreaInsets' is unavailable in watchOS
179 |
180 | // pre-animation position
181 | let bounds: CGRect = self.bounds.inset(by: self.safeAreaInsets).inset(by: Toast.config.insets)
| `- error: 'safeAreaInsets' is unavailable in watchOS
182 | let width: CGFloat = min(bounds.width, Toast.config.maxWidth)
183 | let height: CGFloat = message.sizeThatFits(width: width).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/UIView.h:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift:197:13: error: 'UIView' is unavailable in watchOS
195 |
196 | // show
197 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
198 | withDuration: 0.25,
199 | delay: 0,
/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/Toast/Infrastructure.swift:221:13: error: 'UIView' is unavailable in watchOS
219 | func remove(messages: [Message]) {
220 | // remove specified and layout remaining
221 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
222 | withDuration: 0.25,
223 | delay: 0,
/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/Toast/Infrastructure.swift:234:25: error: 'UIView' is unavailable in watchOS
232 | if self.subviews.count > 0 {
233 | // there are
234 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
235 | withDuration: 0.25,
236 | delay: 0,
/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/Toast/Infrastructure.swift:262:16: error: 'UIApplication' is unavailable in watchOS
260 | private extension UIWindowScene {
261 | static var active: UIWindowScene? {
262 | return UIApplication.shared.connectedScenes
| `- error: 'UIApplication' is unavailable in watchOS
263 | .compactMap { $0 as? UIWindowScene }
264 | .sorted(by: { $0.activationState.sortIndex < $1.activationState.sortIndex })
/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/Toast/Infrastructure.swift:262:37: error: 'connectedScenes' is unavailable in watchOS
260 | private extension UIWindowScene {
261 | static var active: UIWindowScene? {
262 | return UIApplication.shared.connectedScenes
| `- error: 'connectedScenes' is unavailable in watchOS
263 | .compactMap { $0 as? UIWindowScene }
264 | .sorted(by: { $0.activationState.sortIndex < $1.activationState.sortIndex })
/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:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/Infrastructure.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Infrastructure.swift
SwiftCompile normal arm64_32 Compiling\ Tools.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Tools.swift (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Toast/Tools.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Tools.swift
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-22 04:27:38.193 xcodebuild[820:4821] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ Toast (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64 (in target 'Toast' from project 'Toast')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Toast (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64_32 (in target 'Toast' from project 'Toast')
Building workspace Toast with scheme Toast
(5 failures)
BUILD FAILURE 6.4 watchOS