Build Information
Failed to build Unscreenshottable with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.41.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markiv/SwiftUI-Unscreenshottable.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/markiv/SwiftUI-Unscreenshottable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a733dd9 Add files via upload
Cloned https://github.com/markiv/SwiftUI-Unscreenshottable.git
Revision (git rev-parse @):
a733dd92213e09a2e69fe68cca0d564a0d58c32b
SUCCESS checkout https://github.com/markiv/SwiftUI-Unscreenshottable.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/markiv/SwiftUI-Unscreenshottable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module Unscreenshottable
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
private extension UIView {
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
extension UITextField {
^~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
@State private var textField: UITextField
^~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
@State private var secureCanvas: UIView?
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
@State private var hostingController: UIHostingController<Content>
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:33:20: error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:34:20: error: 'verticalSizeClass' is only available in macOS 10.15 or newer
@Environment(\.verticalSizeClass) private var verticalSizeClass
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:6: error: 'State' is only available in macOS 10.15 or newer
@State private var textField: UITextField
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
@State private var secureCanvas: UIView?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:6: error: 'State' is only available in macOS 10.15 or newer
@State private var hostingController: UIHostingController<Content>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:33:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:34:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.verticalSizeClass) private var verticalSizeClass
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:36:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var cancellables = Set<AnyCancellable>()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:10: note: add @available attribute to enclosing instance method
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
struct ProtectedView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:86: error: 'View' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:50: error: 'ViewBuilder' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:86: error: 'View' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:95: error: 'EmptyView' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:95: note: add 'if #available' version check
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:61: error: 'View' is only available in macOS 10.15 or newer
func makeBody(configuration: Configuration) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:162:12: note: add @available attribute to enclosing struct
struct ItemLabelStyle: LabelStyle {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:173:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview {
^
[2/2] Compiling Unscreenshottable ProtectedView.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
private extension UIView {
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
extension UITextField {
^~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
@State private var textField: UITextField
^~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
@State private var secureCanvas: UIView?
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
@State private var hostingController: UIHostingController<Content>
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:33:20: error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:34:20: error: 'verticalSizeClass' is only available in macOS 10.15 or newer
@Environment(\.verticalSizeClass) private var verticalSizeClass
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:6: error: 'State' is only available in macOS 10.15 or newer
@State private var textField: UITextField
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
@State private var secureCanvas: UIView?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:6: error: 'State' is only available in macOS 10.15 or newer
@State private var hostingController: UIHostingController<Content>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:33:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:34:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.verticalSizeClass) private var verticalSizeClass
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:36:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var cancellables = Set<AnyCancellable>()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:10: note: add @available attribute to enclosing instance method
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
struct ProtectedView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:86: error: 'View' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:50: error: 'ViewBuilder' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:86: error: 'View' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:95: error: 'EmptyView' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:95: note: add 'if #available' version check
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:61: error: 'View' is only available in macOS 10.15 or newer
func makeBody(configuration: Configuration) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:162:12: note: add @available attribute to enclosing struct
struct ItemLabelStyle: LabelStyle {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:173:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:40:27: error: cannot infer contextual base in reference to member 'init'
self.textField = .init()
~^~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:41:34: error: cannot find 'UIHostingController' in scope
self.hostingController = UIHostingController(rootView: content())
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:56:27: error: cannot find 'UIApplication' in scope
subscribe(to: UIApplication.willResignActiveNotification) { _ in true }
^~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:57:27: error: cannot find 'UIApplication' in scope
subscribe(to: UIApplication.didBecomeActiveNotification) { _ in false }
^~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:60:27: error: cannot find 'UIScreen' in scope
subscribe(to: UIScreen.capturedDidChangeNotification) { ($0.object as? UIScreen)?.isCaptured ?? false }
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:60:84: error: cannot find type 'UIScreen' in scope
subscribe(to: UIScreen.capturedDidChangeNotification) { ($0.object as? UIScreen)?.isCaptured ?? false }
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:101:10: error: value of type 'ProtectedView<Self>' has no member 'ignoresSafeArea'
.ignoresSafeArea() // allow navigation and tab bar custom backgrounds to work.
^~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:9: note: add 'if #available' version check
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:141:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Label("Can you screenshot this?", systemImage: "camera")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:141:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Label("Can you screenshot this?", systemImage: "camera")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:141:13: error: 'Label' is only available in macOS 11.0 or newer
Label("Can you screenshot this?", systemImage: "camera")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:141:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
Label("Can you screenshot this?", systemImage: "camera")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:141:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
Label("Can you screenshot this?", systemImage: "camera")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:142:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Label("Can you AirPlay this?", systemImage: "airplayvideo")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:142:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Label("Can you AirPlay this?", systemImage: "airplayvideo")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:142:13: error: 'Label' is only available in macOS 11.0 or newer
Label("Can you AirPlay this?", systemImage: "airplayvideo")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:142:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
Label("Can you AirPlay this?", systemImage: "airplayvideo")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:142:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
Label("Can you AirPlay this?", systemImage: "airplayvideo")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:143:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Label("Can you see this while task switching?", systemImage: "appwindow.swipe.rectangle")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:143:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Label("Can you see this while task switching?", systemImage: "appwindow.swipe.rectangle")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:143:13: error: 'Label' is only available in macOS 11.0 or newer
Label("Can you see this while task switching?", systemImage: "appwindow.swipe.rectangle")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:143:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
Label("Can you see this while task switching?", systemImage: "appwindow.swipe.rectangle")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:143:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
Label("Can you see this while task switching?", systemImage: "appwindow.swipe.rectangle")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:140:29: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 20) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:145:10: error: 'labelStyle' is only available in macOS 11.0 or newer
.labelStyle(ItemLabelStyle())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:146:10: error: 'imageScale' is only available in macOS 11.0 or newer
.imageScale(.large)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:147:10: error: 'font' is only available in macOS 10.15 or newer
.font(.title.bold())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:147:16: error: 'title' is only available in macOS 10.15 or newer
.font(.title.bold())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:147:22: error: 'bold()' is only available in macOS 10.15 or newer
.font(.title.bold())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:148:10: error: 'padding' is only available in macOS 10.15 or newer
.padding()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:150:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:151:17: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "nosign")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:151:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "nosign")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:152:22: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
.resizable().scaledToFit()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:152:34: error: 'scaledToFit()' is only available in macOS 10.15 or newer
.resizable().scaledToFit()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:153:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(.red)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:153:39: error: 'red' is only available in macOS 10.15 or newer
.foregroundColor(.red)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:154:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text("Screenshots and screen sharing are not allowed.")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:154:17: error: 'Text' is only available in macOS 10.15 or newer
Text("Screenshots and screen sharing are not allowed.")
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:150:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:156:14: error: 'font' is only available in macOS 10.15 or newer
.font(.largeTitle.bold())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:156:20: error: 'largeTitle' is only available in macOS 10.15 or newer
.font(.largeTitle.bold())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:156:31: error: 'bold()' is only available in macOS 10.15 or newer
.font(.largeTitle.bold())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:157:14: error: 'padding' is only available in macOS 10.15 or newer
.padding()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:159:10: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
.multilineTextAlignment(.center)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:159:10: note: add 'if #available' version check
.multilineTextAlignment(.center)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:164:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:164:13: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:162:12: note: add @available attribute to enclosing struct
struct ItemLabelStyle: LabelStyle {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:166:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(.accentColor)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:166:22: note: add 'if #available' version check
.foregroundColor(.accentColor)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:162:12: note: add @available attribute to enclosing struct
struct ItemLabelStyle: LabelStyle {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:166:39: error: 'accentColor' is only available in macOS 10.15 or newer
.foregroundColor(.accentColor)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:166:39: note: add 'if #available' version check
.foregroundColor(.accentColor)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:162:12: note: add @available attribute to enclosing struct
struct ItemLabelStyle: LabelStyle {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:167:31: warning: conformance of 'LabelStyleConfiguration.Title' to 'View' is only available in macOS 11.0 or newer
configuration.title
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:167:31: note: add 'if #available' version check
configuration.title
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:162:12: note: add @available attribute to enclosing struct
struct ItemLabelStyle: LabelStyle {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:164:20: warning: conformance of 'LabelStyleConfiguration.Title' to 'View' is only available in macOS 11.0 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:164:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:162:12: note: add @available attribute to enclosing struct
struct ItemLabelStyle: LabelStyle {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:107:27: error: cannot find type 'UIView' in scope
func overlay(subview: UIView) {
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:123:21: error: cannot find type 'UIView' in scope
var canvasView: UIView? {
^~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm