The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenCaptureRedaction, reference main (0ec5d2), with Swift 6.4 for watchOS using Xcode 27.0 on 19 Sep 2026 17:27:21 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 ScreenCaptureRedaction -destination generic/platform=watchOS

Build Log

 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
macro expansion @State:11:78: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                              `- error: 'isCaptured' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:14:198: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                      `- error: 'UIScreen' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:14:207: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                               `- error: 'main' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:14:212: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                                    `- error: 'isCaptured' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
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/ScreenCaptureRedaction/ScreenCaptureRedaction.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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-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 -profile-generate -profile-coverage-mapping -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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScreenCaptureRedaction -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction_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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction.abi.json
SwiftCompile normal arm64 (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ ScreenCaptureRedaction.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in watchOS
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    |                    `- error: 'isSceneCaptured' is unavailable in watchOS
 46 |     @Environment(\.scenePhase) var scenePhase
 47 |
SwiftUI.EnvironmentValues.isSceneCaptured:2:12: note: 'isSceneCaptured' has been explicitly marked unavailable here
1 | struct EnvironmentValues {
2 | public var isSceneCaptured: Bool { get set }}
  |            `- note: 'isSceneCaptured' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: 'UIScreen' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                          `- error: 'UIScreen' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:51: error: 'main' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                                   `- error: 'main' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:56: error: 'isCaptured' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                                        `- error: 'isCaptured' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:2:9: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |         `- error: 'UIScreen' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:2:18: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |                  `- error: 'main' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:2:23: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |                       `- error: 'isCaptured' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:7:41: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                         `- error: 'UIScreen' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:7:50: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                                  `- error: 'main' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:7:55: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                                       `- error: 'isCaptured' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:11:64: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                `- error: 'UIScreen' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:11:73: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                         `- error: 'main' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:11:78: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                              `- error: 'isCaptured' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:14:198: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                      `- error: 'UIScreen' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:14:207: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                               `- error: 'main' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ScreenCaptureRedaction.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-19 13:27:11.028 xcodebuild[627:3913] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64_32 (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScreenCaptureRedaction (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ ScreenCaptureRedaction (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
	SwiftCompile normal arm64 (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
	Building workspace ScreenCaptureRedaction with scheme ScreenCaptureRedaction
(5 failures)
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  ScreenCaptureRedaction: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScreenCaptureRedaction
2026-09-19 13:27:17.859 xcodebuild[791:4632] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ScreenCaptureRedaction",
  "name" : "ScreenCaptureRedaction",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "ScreenCaptureRedaction",
      "targets" : [
        "ScreenCaptureRedaction"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScreenCaptureRedactionTests",
      "module_type" : "SwiftTarget",
      "name" : "ScreenCaptureRedactionTests",
      "path" : "Tests/ScreenCaptureRedactionTests",
      "sources" : [
        "ScreenCaptureRedactionTests.swift"
      ],
      "target_dependencies" : [
        "ScreenCaptureRedaction"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScreenCaptureRedaction",
      "module_type" : "SwiftTarget",
      "name" : "ScreenCaptureRedaction",
      "path" : "Sources/ScreenCaptureRedaction",
      "product_memberships" : [
        "ScreenCaptureRedaction"
      ],
      "sources" : [
        "ScreenCaptureRedaction.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "ScreenCaptureRedaction",
    "schemes" : [
      "ScreenCaptureRedaction"
    ]
  }
}
2026-09-19 13:27:19.159 xcodebuild[799:4701] [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 ScreenCaptureRedaction -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 ScreenCaptureRedaction -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  ScreenCaptureRedaction: /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 'ScreenCaptureRedaction-product' in project 'ScreenCaptureRedaction'
        ➜ Explicit dependency on target 'ScreenCaptureRedaction' in project 'ScreenCaptureRedaction'
    Target 'ScreenCaptureRedaction' in project 'ScreenCaptureRedaction' (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 ScreenCaptureRedaction normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
    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 ScreenCaptureRedaction -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction.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 -profile-coverage-mapping -profile-generate -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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction_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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ScreenCaptureRedaction normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
    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 ScreenCaptureRedaction -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction.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 -profile-coverage-mapping -profile-generate -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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction-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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction_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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScreenCaptureRedaction (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in watchOS
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    |                    `- error: 'isSceneCaptured' is unavailable in watchOS
 46 |     @Environment(\.scenePhase) var scenePhase
 47 |
SwiftUI.EnvironmentValues.isSceneCaptured:2:12: note: 'isSceneCaptured' has been explicitly marked unavailable here
1 | struct EnvironmentValues {
2 | public var isSceneCaptured: Bool { get set }}
  |            `- note: 'isSceneCaptured' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: 'UIScreen' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                          `- error: 'UIScreen' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:51: error: 'main' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                                   `- error: 'main' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:56: error: 'isCaptured' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                                        `- error: 'isCaptured' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:2:9: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |         `- error: 'UIScreen' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:2:18: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |                  `- error: 'main' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:2:23: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |                       `- error: 'isCaptured' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:7:41: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                         `- error: 'UIScreen' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:7:50: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                                  `- error: 'main' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:7:55: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                                       `- error: 'isCaptured' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:11:64: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                `- error: 'UIScreen' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:11:73: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                         `- error: 'main' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:11:78: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                              `- error: 'isCaptured' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:14:198: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                      `- error: 'UIScreen' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:14:207: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                               `- error: 'main' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:14:212: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                                    `- error: 'isCaptured' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -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 -profile-generate -profile-coverage-mapping -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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScreenCaptureRedaction -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction_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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64_32/ScreenCaptureRedaction.abi.json
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScreenCaptureRedaction (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in watchOS
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    |                    `- error: 'isSceneCaptured' is unavailable in watchOS
 46 |     @Environment(\.scenePhase) var scenePhase
 47 |
SwiftUI.EnvironmentValues.isSceneCaptured:2:12: note: 'isSceneCaptured' has been explicitly marked unavailable here
1 | struct EnvironmentValues {
2 | public var isSceneCaptured: Bool { get set }}
  |            `- note: 'isSceneCaptured' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: 'UIScreen' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                          `- error: 'UIScreen' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:51: error: 'main' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                                   `- error: 'main' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:56: error: 'isCaptured' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                                        `- error: 'isCaptured' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:2:9: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |         `- error: 'UIScreen' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:2:18: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |                  `- error: 'main' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:2:23: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |                       `- error: 'isCaptured' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:7:41: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                         `- error: 'UIScreen' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:7:50: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                                  `- error: 'main' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:7:55: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                                       `- error: 'isCaptured' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:11:64: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                `- error: 'UIScreen' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:11:73: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                         `- error: 'main' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:11:78: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                              `- error: 'isCaptured' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:14:198: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                      `- error: 'UIScreen' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:14:207: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                               `- error: 'main' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:14:212: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                                    `- error: 'isCaptured' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
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/ScreenCaptureRedaction/ScreenCaptureRedaction.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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-dependencies-2.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 -profile-generate -profile-coverage-mapping -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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScreenCaptureRedaction -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction_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/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenCaptureRedaction.build/Debug-watchos/ScreenCaptureRedaction-t.build/Objects-normal/arm64/ScreenCaptureRedaction.abi.json
SwiftCompile normal arm64 (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ ScreenCaptureRedaction.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in watchOS
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    |                    `- error: 'isSceneCaptured' is unavailable in watchOS
 46 |     @Environment(\.scenePhase) var scenePhase
 47 |
SwiftUI.EnvironmentValues.isSceneCaptured:2:12: note: 'isSceneCaptured' has been explicitly marked unavailable here
1 | struct EnvironmentValues {
2 | public var isSceneCaptured: Bool { get set }}
  |            `- note: 'isSceneCaptured' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: 'UIScreen' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                          `- error: 'UIScreen' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:51: error: 'main' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                                   `- error: 'main' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:56: error: 'isCaptured' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                                        `- error: 'isCaptured' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:2:9: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |         `- error: 'UIScreen' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:2:18: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |                  `- error: 'main' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:2:23: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |                       `- error: 'isCaptured' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:7:41: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                         `- error: 'UIScreen' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:7:50: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                                  `- error: 'main' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:7:55: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                                       `- error: 'isCaptured' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:11:64: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                `- error: 'UIScreen' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:11:73: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                         `- error: 'main' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:11:78: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                              `- error: 'isCaptured' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:14:198: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                      `- error: 'UIScreen' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
 52 |
 53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
 54 | @interface UIScreen : NSObject <UITraitEnvironment>
    |            `- note: 'UIScreen' has been explicitly marked unavailable here
 55 |
 56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ScreenCaptureRedaction.swift
macro expansion @State:14:207: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                               `- error: 'main' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
SwiftCompile normal arm64_32 Compiling\ ScreenCaptureRedaction.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in watchOS
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    |                    `- error: 'isSceneCaptured' is unavailable in watchOS
 46 |     @Environment(\.scenePhase) var scenePhase
 47 |
SwiftUI.EnvironmentValues.isSceneCaptured:2:12: note: 'isSceneCaptured' has been explicitly marked unavailable here
1 | struct EnvironmentValues {
2 | public var isSceneCaptured: Bool { get set }}
  |            `- note: 'isSceneCaptured' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: 'UIScreen' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                          `- error: 'UIScreen' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:51: error: 'main' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                                   `- error: 'main' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:56: error: 'isCaptured' is unavailable in watchOS
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                                        `- error: 'isCaptured' is unavailable in watchOS
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:2:9: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |         `- error: 'UIScreen' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:2:18: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |                  `- error: 'main' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:2:23: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __isSceneCaptured = SwiftUICore.State._makeStorage({
    | 2 |         UIScreen.main.isCaptured
    |   |                       `- error: 'isCaptured' is unavailable in watchOS
    | 3 |     })
    | 4 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:7:41: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                         `- error: 'UIScreen' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:7:50: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                                  `- error: 'main' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:7:55: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyMlNjcmVlbkNhcHR1cmVSZWRhY3Rpb24wYWJDN1ZpZXdPbGRWMTVpc1NjZW5lQ2FwdHVyZWQzM18yRkVGQzIzRTY5ODdGRDUzNzA4RTRERkUyNDM5MDdFRExMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
    | 6 | private var _isSceneCaptured: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 7 |         SwiftUICore.State(initialValue: UIScreen.main.isCaptured)
    |   |                                                       `- error: 'isCaptured' is unavailable in watchOS
    | 8 |     })
    | 9 |
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:11:64: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                `- error: 'UIScreen' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:11:73: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                         `- error: 'main' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:11:78: error: 'isCaptured' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    | 9 |
    |10 | @SwiftUICore._StateProjectedValue
    |11 | private var $isSceneCaptured = SwiftUICore.State(initialValue: UIScreen.main.isCaptured).projectedValue
    |   |                                                                              `- error: 'isCaptured' is unavailable in watchOS
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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:74:54: note: 'isCaptured' has been explicitly marked unavailable here
 72 |
 73 | @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
 74 | @property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
    |                                                      `- note: 'isCaptured' has been explicitly marked unavailable here
 75 |
 76 | @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
macro expansion @State:14:198: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                      `- error: 'UIScreen' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
macro expansion @State:14:207: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:66: note: expanded code originates here
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |     `- note: in expansion of macro 'State' on property 'isSceneCaptured' here
    +--- macro expansion @State ----------------------------------------
    |12 |
    |13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgVUlTY3JlZW4ubWFpbi5pc0NhcHR1cmVkIH0p")
    |14 | private static var $s22ScreenCaptureRedaction0abC7ViewOldV15isSceneCaptured33_2FEFC23E6987FD53708E4DFE243907EDLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: UIScreen.main.isCaptured))
    |   |                                                                                                                                                                                                               `- error: 'main' is unavailable in watchOS
    +-------------------------------------------------------------------
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/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
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ScreenCaptureRedaction.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-19 13:27:20.199 xcodebuild[800:4726] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64_32 (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScreenCaptureRedaction (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ ScreenCaptureRedaction (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
	SwiftCompile normal arm64 (in target 'ScreenCaptureRedaction' from project 'ScreenCaptureRedaction')
	Building workspace ScreenCaptureRedaction with scheme ScreenCaptureRedaction
(5 failures)
BUILD FAILURE 6.4 watchOS