This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ScreenCaptureRedaction with Swift 6.0 (beta) for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jiachenyee/ScreenCaptureRedaction.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jiachenyee/ScreenCaptureRedaction
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0ec5d21 fix: make initialisers public
Cloned https://github.com/jiachenyee/ScreenCaptureRedaction.git
Revision (git rev-parse @):
0ec5d21872778de55f32cd873a159cff56ec304f
SUCCESS checkout https://github.com/jiachenyee/ScreenCaptureRedaction.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/jiachenyee/ScreenCaptureRedaction.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ScreenCaptureRedaction
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct RedactWhenScreenRecordedModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
  4 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
  5 |         ScreenCaptureRedactionView {
  6 |             content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:45: error: 'View' is only available in macOS 10.15 or newer
  9 | }
 10 |
 11 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 12 |     func redactWhenScreenRecorded() -> some View {
    |          |                                  `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 13 |         self.modifier(RedactWhenScreenRecordedModifier())
 14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
  9 | }
 10 |
 11 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 12 |     func redactWhenScreenRecorded() -> some View {
 13 |         self.modifier(RedactWhenScreenRecordedModifier())
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
 20 |     var replacementView: ReplacementView
 21 |
 22 |     public init(@ViewBuilder content: @escaping (() -> Content),
    |            |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 23 |          @ViewBuilder replacingWith replacementView: @escaping (() -> ReplacementView)) {
 24 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:23:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
 20 |     var replacementView: ReplacementView
 21 |
 22 |     public init(@ViewBuilder content: @escaping (() -> Content),
    |            `- note: add @available attribute to enclosing initializer
 23 |          @ViewBuilder replacingWith replacementView: @escaping (() -> ReplacementView)) {
    |           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 24 |         self.content = content()
 25 |         self.replacementView = replacementView()
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:91: error: 'EmptyView' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 26 |     }
 27 |
 28 |     public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
    |            |                                                                              `- error: 'EmptyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self.content = content()
 30 |         self.replacementView = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 26 |     }
 27 |
 28 |     public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
    |            |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self.content = content()
 30 |         self.replacementView = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:27: error: 'View' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 31 |     }
 32 |
 33 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 34 |         if #available(iOS 17.0, *) {
 35 |             ScreenCaptureRedactionViewNew(content: content, replacingWith: replacementView)
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:51: error: 'View' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               |                                   `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               |                                                          `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in macOS
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    |                    `- error: 'isSceneCaptured' is unavailable in macOS
 46 |     @Environment(\.scenePhase) var scenePhase
 47 |
SwiftUI.EnvironmentValues:6:16: note: 'isSceneCaptured' has been explicitly marked unavailable here
4 | @available(watchOS, unavailable)
5 | extension EnvironmentValues {
6 |     public var isSceneCaptured: Bool { get set }
  |                `- note: 'isSceneCaptured' has been explicitly marked unavailable here
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:20: error: 'scenePhase' is only available in macOS 11.0 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
 46 |     @Environment(\.scenePhase) var scenePhase
    |                    `- error: 'scenePhase' is only available in macOS 11.0 or newer
 47 |
 48 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:6: error: 'Environment' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 46 |     @Environment(\.scenePhase) var scenePhase
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
 46 |     @Environment(\.scenePhase) var scenePhase
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 47 |
 48 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:20: error: 'View' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    :
 54 |     }
 55 |
 56 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 57 |         if isSceneCaptured || scenePhase != .active {
 58 |             if replacementView is EmptyView {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:47: error: 'View' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        |                                      `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:70: error: 'View' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        |                                                             `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: cannot find 'UIScreen' in scope
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                          `- error: cannot find 'UIScreen' in scope
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:20: error: 'scenePhase' is only available in macOS 11.0 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
 74 |     @Environment(\.scenePhase) var scenePhase
    |                    `- error: 'scenePhase' is only available in macOS 11.0 or newer
 75 |
 76 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |      `- error: 'State' is only available in macOS 10.15 or newer
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:6: error: 'Environment' is only available in macOS 10.15 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
 74 |     @Environment(\.scenePhase) var scenePhase
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 75 |
 76 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:84:20: error: 'View' is only available in macOS 10.15 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    :
 82 |     }
 83 |
 84 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 85 |         Group {
 86 |             if isSceneCaptured || scenePhase != .active {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:47: error: 'View' is only available in macOS 10.15 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        |                                      `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:70: error: 'View' is only available in macOS 10.15 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        |                                                             `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
[4/4] Compiling ScreenCaptureRedaction ScreenCaptureRedaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct RedactWhenScreenRecordedModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
  4 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
  5 |         ScreenCaptureRedactionView {
  6 |             content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:45: error: 'View' is only available in macOS 10.15 or newer
  9 | }
 10 |
 11 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 12 |     func redactWhenScreenRecorded() -> some View {
    |          |                                  `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 13 |         self.modifier(RedactWhenScreenRecordedModifier())
 14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
  9 | }
 10 |
 11 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 12 |     func redactWhenScreenRecorded() -> some View {
 13 |         self.modifier(RedactWhenScreenRecordedModifier())
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
 20 |     var replacementView: ReplacementView
 21 |
 22 |     public init(@ViewBuilder content: @escaping (() -> Content),
    |            |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 23 |          @ViewBuilder replacingWith replacementView: @escaping (() -> ReplacementView)) {
 24 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:23:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
 20 |     var replacementView: ReplacementView
 21 |
 22 |     public init(@ViewBuilder content: @escaping (() -> Content),
    |            `- note: add @available attribute to enclosing initializer
 23 |          @ViewBuilder replacingWith replacementView: @escaping (() -> ReplacementView)) {
    |           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 24 |         self.content = content()
 25 |         self.replacementView = replacementView()
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:91: error: 'EmptyView' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 26 |     }
 27 |
 28 |     public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
    |            |                                                                              `- error: 'EmptyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self.content = content()
 30 |         self.replacementView = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 26 |     }
 27 |
 28 |     public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
    |            |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self.content = content()
 30 |         self.replacementView = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:27: error: 'View' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 31 |     }
 32 |
 33 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 34 |         if #available(iOS 17.0, *) {
 35 |             ScreenCaptureRedactionViewNew(content: content, replacingWith: replacementView)
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:51: error: 'View' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               |                                   `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               |                                                          `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in macOS
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    |                    `- error: 'isSceneCaptured' is unavailable in macOS
 46 |     @Environment(\.scenePhase) var scenePhase
 47 |
SwiftUI.EnvironmentValues:6:16: note: 'isSceneCaptured' has been explicitly marked unavailable here
4 | @available(watchOS, unavailable)
5 | extension EnvironmentValues {
6 |     public var isSceneCaptured: Bool { get set }
  |                `- note: 'isSceneCaptured' has been explicitly marked unavailable here
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:20: error: 'scenePhase' is only available in macOS 11.0 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
 46 |     @Environment(\.scenePhase) var scenePhase
    |                    `- error: 'scenePhase' is only available in macOS 11.0 or newer
 47 |
 48 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:6: error: 'Environment' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 46 |     @Environment(\.scenePhase) var scenePhase
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
 46 |     @Environment(\.scenePhase) var scenePhase
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 47 |
 48 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:20: error: 'View' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    :
 54 |     }
 55 |
 56 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 57 |         if isSceneCaptured || scenePhase != .active {
 58 |             if replacementView is EmptyView {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:47: error: 'View' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        |                                      `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:70: error: 'View' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        |                                                             `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: cannot find 'UIScreen' in scope
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |                                          `- error: cannot find 'UIScreen' in scope
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:20: error: 'scenePhase' is only available in macOS 11.0 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
 74 |     @Environment(\.scenePhase) var scenePhase
    |                    `- error: 'scenePhase' is only available in macOS 11.0 or newer
 75 |
 76 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    |      `- error: 'State' is only available in macOS 10.15 or newer
 74 |     @Environment(\.scenePhase) var scenePhase
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:6: error: 'Environment' is only available in macOS 10.15 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
 74 |     @Environment(\.scenePhase) var scenePhase
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 75 |
 76 |     var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:84:20: error: 'View' is only available in macOS 10.15 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
    :
 82 |     }
 83 |
 84 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 85 |         Group {
 86 |             if isSceneCaptured || scenePhase != .active {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:47: error: 'View' is only available in macOS 10.15 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        |                                      `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:70: error: 'View' is only available in macOS 10.15 or newer
 69 |
 70 | @available(iOS, obsoleted: 17.0, message: "Use ScreenCaptureRedactionViewNew instead.")
 71 | struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
    |        |                                                             `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 72 |
 73 |     @State private var isSceneCaptured = UIScreen.main.isCaptured
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:13:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | }
 10 |
 11 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 12 |     func redactWhenScreenRecorded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 13 |         self.modifier(RedactWhenScreenRecordedModifier())
    |              |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |              `- note: add 'if #available' version check
 14 |     }
 15 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:13:14: error: 'modifier' is only available in macOS 10.15 or newer
  9 | }
 10 |
 11 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 12 |     func redactWhenScreenRecorded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 13 |         self.modifier(RedactWhenScreenRecordedModifier())
    |              |- error: 'modifier' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 14 |     }
 15 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:30:32: error: 'EmptyView' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 26 |     }
 27 |
 28 |     public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
    |            `- note: add @available attribute to enclosing initializer
 29 |         self.content = content()
 30 |         self.replacementView = EmptyView()
    |                                |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 31 |     }
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
 32 |
 33 |     public var body: some View {
 34 |         if #available(iOS 17.0, *) {
    |            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
 35 |             ScreenCaptureRedactionViewNew(content: content, replacingWith: replacementView)
 36 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 31 |     }
 32 |
 33 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 34 |         if #available(iOS 17.0, *) {
    |                                    |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
    |                                    `- note: add 'if #available' version check
 35 |             ScreenCaptureRedactionViewNew(content: content, replacingWith: replacementView)
 36 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 31 |     }
 32 |
 33 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 34 |         if #available(iOS 17.0, *) {
    |                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 35 |             ScreenCaptureRedactionViewNew(content: content, replacingWith: replacementView)
 36 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:36:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 31 |     }
 32 |
 33 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 34 |         if #available(iOS 17.0, *) {
 35 |             ScreenCaptureRedactionViewNew(content: content, replacingWith: replacementView)
 36 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 37 |             ScreenCaptureRedactionViewOld(content: content, replacingWith: replacementView)
 38 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 15 | }
 16 |
 17 | public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 18 |
 19 |     var content: Content
    :
 31 |     }
 32 |
 33 |     public var body: some View {
    |                |               |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 34 |         if #available(iOS 17.0, *) {
 35 |             ScreenCaptureRedactionViewNew(content: content, replacingWith: replacementView)
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:58:35: error: 'EmptyView' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    :
 54 |     }
 55 |
 56 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 57 |         if isSceneCaptured || scenePhase != .active {
 58 |             if replacementView is EmptyView {
    |                                   |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
 59 |                 content
 60 |                     .redacted(reason: .placeholder)
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:60:22: error: 'redacted(reason:)' is only available in macOS 11.0 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    :
 54 |     }
 55 |
 56 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 57 |         if isSceneCaptured || scenePhase != .active {
 58 |             if replacementView is EmptyView {
 59 |                 content
 60 |                     .redacted(reason: .placeholder)
    |                      |- error: 'redacted(reason:)' is only available in macOS 11.0 or newer
    |                      `- note: add 'if #available' version check
 61 |             } else {
 62 |                 replacementView
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:58:45: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    :
 54 |     }
 55 |
 56 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 57 |         if isSceneCaptured || scenePhase != .active {
 58 |             if replacementView is EmptyView {
    |                                             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                             `- note: add 'if #available' version check
 59 |                 content
 60 |                     .redacted(reason: .placeholder)
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:61:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    :
 54 |     }
 55 |
 56 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 57 |         if isSceneCaptured || scenePhase != .active {
 58 |             if replacementView is EmptyView {
 59 |                 content
 60 |                     .redacted(reason: .placeholder)
 61 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 62 |                 replacementView
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:57:53: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    :
 54 |     }
 55 |
 56 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 57 |         if isSceneCaptured || scenePhase != .active {
    |                                                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                     `- note: add 'if #available' version check
 58 |             if replacementView is EmptyView {
 59 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:57:53: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    :
 54 |     }
 55 |
 56 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 57 |         if isSceneCaptured || scenePhase != .active {
    |                                                     |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                     `- note: add 'if #available' version check
 58 |             if replacementView is EmptyView {
 59 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:64:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    :
 54 |     }
 55 |
 56 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 57 |         if isSceneCaptured || scenePhase != .active {
 58 |             if replacementView is EmptyView {
    :
 62 |                 replacementView
 63 |             }
 64 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 65 |             content
 66 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:25: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 41 |
 42 | @available(iOS 17.0, *)
 43 | struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 44 |
 45 |     @Environment(\.isSceneCaptured) var isSceneCaptured
    :
 54 |     }
 55 |
 56 |     var body: some View {
    |         |               |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         |               `- note: add 'if #available' version check
    |         `- note: add @available attribute to enclosing property
 57 |         if isSceneCaptured || scenePhase != .active {
 58 |             if replacementView is EmptyView {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:97:62: error: cannot find 'UIScreen' in scope
 95 |             }
 96 |         }
 97 |         .onReceive(NotificationCenter.default.publisher(for: UIScreen.capturedDidChangeNotification)) { _ in
    |                                                              `- error: cannot find 'UIScreen' in scope
 98 |             isSceneCaptured = UIScreen.main.isCaptured
 99 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:98:31: error: cannot find 'UIScreen' in scope
 96 |         }
 97 |         .onReceive(NotificationCenter.default.publisher(for: UIScreen.capturedDidChangeNotification)) { _ in
 98 |             isSceneCaptured = UIScreen.main.isCaptured
    |                               `- error: cannot find 'UIScreen' in scope
 99 |         }
100 |     }
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.