Build Information
Failed to build ScreenCaptureRedaction with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jiachenyee/ScreenCaptureRedaction.git
Reference: 1.1.1
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/jiachenyee/ScreenCaptureRedaction
* tag 1.1.1 -> FETCH_HEAD
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 1.1.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/jiachenyee/ScreenCaptureRedaction.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ScreenCaptureRedaction
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:4:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:3:8: note: add @available attribute to enclosing struct
struct RedactWhenScreenRecordedModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:45: error: 'View' is only available in macOS 10.15 or newer
func redactWhenScreenRecorded() -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:10: note: add @available attribute to enclosing instance method
func redactWhenScreenRecorded() -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:23:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder replacingWith replacementView: @escaping (() -> ReplacementView)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:91: error: 'EmptyView' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:51: error: 'View' is only available in macOS 10.15 or newer
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in macOS
@Environment(\.isSceneCaptured) var isSceneCaptured
^~~~~~~~~~~~~~~
SwiftUI.EnvironmentValues:6:16: note: 'isSceneCaptured' has been explicitly marked unavailable here
public var isSceneCaptured: Bool { get set }
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:20: error: 'scenePhase' is only available in macOS 11.0 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.isSceneCaptured) var isSceneCaptured
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:47: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:70: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: cannot find 'UIScreen' in scope
@State private var isSceneCaptured = UIScreen.main.isCaptured
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:20: error: 'scenePhase' is only available in macOS 11.0 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isSceneCaptured = UIScreen.main.isCaptured
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:84:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:84:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:47: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:70: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
[4/4] Compiling ScreenCaptureRedaction ScreenCaptureRedaction.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:4:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:3:8: note: add @available attribute to enclosing struct
struct RedactWhenScreenRecordedModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:45: error: 'View' is only available in macOS 10.15 or newer
func redactWhenScreenRecorded() -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:10: note: add @available attribute to enclosing instance method
func redactWhenScreenRecorded() -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:23:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder replacingWith replacementView: @escaping (() -> ReplacementView)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:91: error: 'EmptyView' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:51: error: 'View' is only available in macOS 10.15 or newer
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in macOS
@Environment(\.isSceneCaptured) var isSceneCaptured
^~~~~~~~~~~~~~~
SwiftUI.EnvironmentValues:6:16: note: 'isSceneCaptured' has been explicitly marked unavailable here
public var isSceneCaptured: Bool { get set }
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:20: error: 'scenePhase' is only available in macOS 11.0 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.isSceneCaptured) var isSceneCaptured
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:47: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:70: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: cannot find 'UIScreen' in scope
@State private var isSceneCaptured = UIScreen.main.isCaptured
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:20: error: 'scenePhase' is only available in macOS 11.0 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isSceneCaptured = UIScreen.main.isCaptured
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:84:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:84:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:47: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:70: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:13:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(RedactWhenScreenRecordedModifier())
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:13:14: note: add 'if #available' version check
self.modifier(RedactWhenScreenRecordedModifier())
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:10: note: add @available attribute to enclosing instance method
func redactWhenScreenRecorded() -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:30:32: error: 'EmptyView' is only available in macOS 10.15 or newer
self.replacementView = EmptyView()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:30:32: note: add 'if #available' version check
self.replacementView = EmptyView()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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
if #available(iOS 17.0, *) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 17.0, *) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:36: note: add 'if #available' version check
if #available(iOS 17.0, *) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 17.0, *) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:36: note: add 'if #available' version check
if #available(iOS 17.0, *) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:36:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:36:16: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:32: note: add 'if #available' version check
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:58:35: error: 'EmptyView' is only available in macOS 10.15 or newer
if replacementView is EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:58:35: note: add 'if #available' version check
if replacementView is EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:60:22: error: 'redacted(reason:)' is only available in macOS 11.0 or newer
.redacted(reason: .placeholder)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:60:22: note: add 'if #available' version check
.redacted(reason: .placeholder)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:58:45: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if replacementView is EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:58:45: note: add 'if #available' version check
if replacementView is EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:61:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:61:20: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:57:53: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if isSceneCaptured || scenePhase != .active {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:57:53: note: add 'if #available' version check
if isSceneCaptured || scenePhase != .active {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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
if isSceneCaptured || scenePhase != .active {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:57:53: note: add 'if #available' version check
if isSceneCaptured || scenePhase != .active {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:64:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:64:16: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:25: note: add 'if #available' version check
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:97:62: error: cannot find 'UIScreen' in scope
.onReceive(NotificationCenter.default.publisher(for: UIScreen.capturedDidChangeNotification)) { _ in
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:98:31: error: cannot find 'UIScreen' in scope
isSceneCaptured = UIScreen.main.isCaptured
^~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module ScreenCaptureRedaction
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:4:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:3:8: note: add @available attribute to enclosing struct
struct RedactWhenScreenRecordedModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:45: error: 'View' is only available in macOS 10.15 or newer
func redactWhenScreenRecorded() -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:10: note: add @available attribute to enclosing instance method
func redactWhenScreenRecorded() -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:23:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder replacingWith replacementView: @escaping (() -> ReplacementView)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:91: error: 'EmptyView' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:51: error: 'View' is only available in macOS 10.15 or newer
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in macOS
@Environment(\.isSceneCaptured) var isSceneCaptured
^~~~~~~~~~~~~~~
SwiftUI.EnvironmentValues:6:16: note: 'isSceneCaptured' has been explicitly marked unavailable here
public var isSceneCaptured: Bool { get set }
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:20: error: 'scenePhase' is only available in macOS 11.0 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.isSceneCaptured) var isSceneCaptured
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:47: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:70: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: cannot find 'UIScreen' in scope
@State private var isSceneCaptured = UIScreen.main.isCaptured
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:20: error: 'scenePhase' is only available in macOS 11.0 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isSceneCaptured = UIScreen.main.isCaptured
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:84:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:84:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:47: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:70: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
[3/3] Compiling ScreenCaptureRedaction ScreenCaptureRedaction.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:4:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:3:8: note: add @available attribute to enclosing struct
struct RedactWhenScreenRecordedModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:45: error: 'View' is only available in macOS 10.15 or newer
func redactWhenScreenRecorded() -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:10: note: add @available attribute to enclosing instance method
func redactWhenScreenRecorded() -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:23:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder replacingWith replacementView: @escaping (() -> ReplacementView)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:22:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content),
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:91: error: 'EmptyView' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:51: error: 'View' is only available in macOS 10.15 or newer
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:20: error: 'isSceneCaptured' is unavailable in macOS
@Environment(\.isSceneCaptured) var isSceneCaptured
^~~~~~~~~~~~~~~
SwiftUI.EnvironmentValues:6:16: note: 'isSceneCaptured' has been explicitly marked unavailable here
public var isSceneCaptured: Bool { get set }
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:20: error: 'scenePhase' is only available in macOS 11.0 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:45:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.isSceneCaptured) var isSceneCaptured
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:47: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:70: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:42: error: cannot find 'UIScreen' in scope
@State private var isSceneCaptured = UIScreen.main.isCaptured
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:20: error: 'scenePhase' is only available in macOS 11.0 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isSceneCaptured = UIScreen.main.isCaptured
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:74:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.scenePhase) var scenePhase
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:84:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:84:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:47: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:70: error: 'View' is only available in macOS 10.15 or newer
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:71:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewOld<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:13:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(RedactWhenScreenRecordedModifier())
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:13:14: note: add 'if #available' version check
self.modifier(RedactWhenScreenRecordedModifier())
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:12:10: note: add @available attribute to enclosing instance method
func redactWhenScreenRecorded() -> some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:30:32: error: 'EmptyView' is only available in macOS 10.15 or newer
self.replacementView = EmptyView()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:30:32: note: add 'if #available' version check
self.replacementView = EmptyView()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:28:12: note: add @available attribute to enclosing initializer
public init(@ViewBuilder content: @escaping (() -> Content)) where ReplacementView == EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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
if #available(iOS 17.0, *) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 17.0, *) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:36: note: add 'if #available' version check
if #available(iOS 17.0, *) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 17.0, *) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:34:36: note: add 'if #available' version check
if #available(iOS 17.0, *) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:36:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:36:16: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:32: note: add 'if #available' version check
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:33:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:17:15: note: add @available attribute to enclosing generic struct
public struct ScreenCaptureRedactionView<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:58:35: error: 'EmptyView' is only available in macOS 10.15 or newer
if replacementView is EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:58:35: note: add 'if #available' version check
if replacementView is EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:60:22: error: 'redacted(reason:)' is only available in macOS 11.0 or newer
.redacted(reason: .placeholder)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:60:22: note: add 'if #available' version check
.redacted(reason: .placeholder)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:58:45: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if replacementView is EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:58:45: note: add 'if #available' version check
if replacementView is EmptyView {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:61:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:61:20: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:57:53: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if isSceneCaptured || scenePhase != .active {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:57:53: note: add 'if #available' version check
if isSceneCaptured || scenePhase != .active {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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
if isSceneCaptured || scenePhase != .active {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:57:53: note: add 'if #available' version check
if isSceneCaptured || scenePhase != .active {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:64:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:64:16: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:25: note: add 'if #available' version check
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:56:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:43:8: note: add @available attribute to enclosing generic struct
struct ScreenCaptureRedactionViewNew<Content: View, ReplacementView: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:97:62: error: cannot find 'UIScreen' in scope
.onReceive(NotificationCenter.default.publisher(for: UIScreen.capturedDidChangeNotification)) { _ in
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenCaptureRedaction/ScreenCaptureRedaction.swift:98:31: error: cannot find 'UIScreen' in scope
isSceneCaptured = UIScreen.main.isCaptured
^~~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm