Build Information
Failed to build Sheetify, reference v1.0.0 (b2b1ec), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 19:56:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Isiguenza/Sheetify.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Isiguenza/Sheetify
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at b2b1ec7 chore: v1.0.0 – Initial Sheetify package commit
Cloned https://github.com/Isiguenza/Sheetify.git
Revision (git rev-parse @):
b2b1ec79a1b9934540ba24af90b464ea0484176d
SUCCESS checkout https://github.com/Isiguenza/Sheetify.git at v1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Isiguenza/Sheetify.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/8] Compiling Sheetify sheetify.swift
[4/8] Compiling Sheetify View+Sheetify.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:18:28: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
16 | /// - content: A view builder providing the sheet's main content
17 | /// - Returns: A view modified to present the styled sheet
18 | func sheetify<Content: View>(
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
19 | _ isPresented: Binding<Bool>,
20 | title: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:19:24: error: 'Binding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
16 | /// - content: A view builder providing the sheet's main content
17 | /// - Returns: A view modified to present the styled sheet
18 | func sheetify<Content: View>(
| `- note: add @available attribute to enclosing instance method
19 | _ isPresented: Binding<Bool>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
20 | title: String? = nil,
21 | config: TrayConfig = .init(),
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:22:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
16 | /// - content: A view builder providing the sheet's main content
17 | /// - Returns: A view modified to present the styled sheet
18 | func sheetify<Content: View>(
| `- note: add @available attribute to enclosing instance method
19 | _ isPresented: Binding<Bool>,
20 | title: String? = nil,
21 | config: TrayConfig = .init(),
22 | @ViewBuilder content: @escaping () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
23 | ) -> some View {
24 | self.sheet(isPresented: isPresented, onDismiss: {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:23:15: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
16 | /// - content: A view builder providing the sheet's main content
17 | /// - Returns: A view modified to present the styled sheet
18 | func sheetify<Content: View>(
| `- note: add @available attribute to enclosing instance method
19 | _ isPresented: Binding<Bool>,
20 | title: String? = nil,
21 | config: TrayConfig = .init(),
22 | @ViewBuilder content: @escaping () -> Content
23 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
24 | self.sheet(isPresented: isPresented, onDismiss: {
25 | config.onDismiss?()
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:55:33: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
47 | /// - onAppear: Called on appear
48 | /// - onDismiss: Called on dismiss
49 | public init(
| `- note: add @available attribute to enclosing initializer
50 | detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)],
51 | cornerRadius: CGFloat = 30,
:
53 | backgroundStyle: BackgroundStyle = .clear,
54 | showDragIndicator: Bool = false,
55 | animation: Animation = .easeInOut(duration: 0.1),
| `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
56 | onAppear: (() -> Void)? = nil,
57 | onDismiss: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:64:92: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
62 |
63 | /// Generates the background overlay view based on the chosen style
64 | @ViewBuilder private func backgroundOverlay(style: TrayConfig.BackgroundStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
65 | switch style {
66 | case .clear:
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:64:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
62 |
63 | /// Generates the background overlay view based on the chosen style
64 | @ViewBuilder private func backgroundOverlay(style: TrayConfig.BackgroundStyle) -> some View {
| | `- note: add @available attribute to enclosing instance method
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
65 | switch style {
66 | case .clear:
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:39:25: error: cannot find 'SheetHeader' in scope
37 | VStack(spacing: 16) {
38 | if let title = title {
39 | SheetHeader(title: title) {
| `- error: cannot find 'SheetHeader' in scope
40 | isPresented.wrappedValue = false
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:45:35: error: cannot find 'UIColor' in scope
43 | content()
44 | }
45 | .background(Color(UIColor.systemBackground))
| `- error: cannot find 'UIColor' in scope
46 | .clipShape(RoundedCorner(radius: config.cornerRadius, corners: .allCorners))
47 | .padding(.horizontal, 15)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:46:28: error: cannot find 'RoundedCorner' in scope
44 | }
45 | .background(Color(UIColor.systemBackground))
46 | .clipShape(RoundedCorner(radius: config.cornerRadius, corners: .allCorners))
| `- error: cannot find 'RoundedCorner' in scope
47 | .padding(.horizontal, 15)
48 | .frame(maxHeight: .infinity, alignment: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:50:25: error: cannot find 'RemoveSheetShadow' in scope
48 | .frame(maxHeight: .infinity, alignment: .bottom)
49 | }
50 | .background(RemoveSheetShadow())
| `- error: cannot find 'RemoveSheetShadow' in scope
51 | .presentationDetents(config.detents)
52 | .presentationDragIndicator(config.showDragIndicator ? .visible : .hidden)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:51:41: error: cannot convert value of type '[PresentationDetent]' to expected argument type 'Set<PresentationDetent>'
49 | }
50 | .background(RemoveSheetShadow())
51 | .presentationDetents(config.detents)
| `- error: cannot convert value of type '[PresentationDetent]' to expected argument type 'Set<PresentationDetent>'
52 | .presentationDragIndicator(config.showDragIndicator ? .visible : .hidden)
53 | .interactiveDismissDisabled(config.isInteractiveDismissDisabled)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:46:81: error: cannot infer contextual base in reference to member 'allCorners'
44 | }
45 | .background(Color(UIColor.systemBackground))
46 | .clipShape(RoundedCorner(radius: config.cornerRadius, corners: .allCorners))
| `- error: cannot infer contextual base in reference to member 'allCorners'
47 | .padding(.horizontal, 15)
48 | .frame(maxHeight: .infinity, alignment: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:71:13: error: cannot find 'VisualEffectView' in scope
69 | Color.black.opacity(opacity).edgesIgnoringSafeArea(.all)
70 | case .blur:
71 | VisualEffectView(effect: UIBlurEffect(style: .systemUltraThinMaterial))
| `- error: cannot find 'VisualEffectView' in scope
72 | .edgesIgnoringSafeArea(.all)
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:71:38: error: cannot find 'UIBlurEffect' in scope
69 | Color.black.opacity(opacity).edgesIgnoringSafeArea(.all)
70 | case .blur:
71 | VisualEffectView(effect: UIBlurEffect(style: .systemUltraThinMaterial))
| `- error: cannot find 'UIBlurEffect' in scope
72 | .edgesIgnoringSafeArea(.all)
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:71:59: error: cannot infer contextual base in reference to member 'systemUltraThinMaterial'
69 | Color.black.opacity(opacity).edgesIgnoringSafeArea(.all)
70 | case .blur:
71 | VisualEffectView(effect: UIBlurEffect(style: .systemUltraThinMaterial))
| `- error: cannot infer contextual base in reference to member 'systemUltraThinMaterial'
72 | .edgesIgnoringSafeArea(.all)
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:72:41: error: cannot infer contextual base in reference to member 'all'
70 | case .blur:
71 | VisualEffectView(effect: UIBlurEffect(style: .systemUltraThinMaterial))
72 | .edgesIgnoringSafeArea(.all)
| `- error: cannot infer contextual base in reference to member 'all'
73 | }
74 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module Sheetify
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:12:42: error: cannot find type 'UIView' in scope
10 | /// Removes default sheet shadow via UIKit
11 | fileprivate struct RemoveSheetShadow: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'UIView' in scope
13 | let view = UIView(frame: .zero)
14 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:12:30: error: cannot find type 'Context' in scope
10 | /// Removes default sheet shadow via UIKit
11 | fileprivate struct RemoveSheetShadow: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'Context' in scope
13 | let view = UIView(frame: .zero)
14 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:22:33: error: cannot find type 'UIView' in scope
20 | return view
21 | }
22 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'UIView' in scope
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:22:50: error: cannot find type 'Context' in scope
20 | return view
21 | }
22 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:11:39: error: cannot find type 'UIViewRepresentable' in scope
9 |
10 | /// Removes default sheet shadow via UIKit
11 | fileprivate struct RemoveSheetShadow: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | func makeUIView(context: Context) -> UIView {
13 | let view = UIView(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:28:18: error: cannot find type 'UIRectCorner' in scope
26 | fileprivate struct RoundedCorner: Shape {
27 | var radius: CGFloat
28 | var corners: UIRectCorner
| `- error: cannot find type 'UIRectCorner' in scope
29 |
30 | func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:30:35: error: 'Path' is only available in macOS 10.15 or newer
24 |
25 | /// Shape for rounded corners on specific edges
26 | fileprivate struct RoundedCorner: Shape {
| `- note: add @available attribute to enclosing struct
27 | var radius: CGFloat
28 | var corners: UIRectCorner
29 |
30 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
31 | let path = UIBezierPath(
32 | roundedRect: rect,
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:40:11: error: cannot find type 'UIView' in scope
38 | }
39 |
40 | extension UIView {
| `- error: cannot find type 'UIView' in scope
41 | /// Recursively find the UIDropShadowView to remove its shadow
42 | fileprivate var dropShadowView: UIView? {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:53:17: error: cannot find type 'UIVisualEffect' in scope
51 | /// UIKit wrapper for UIBlurEffect in SwiftUI
52 | fileprivate struct VisualEffectView: UIViewRepresentable {
53 | let effect: UIVisualEffect?
| `- error: cannot find type 'UIVisualEffect' in scope
54 | func makeUIView(context: Context) -> UIVisualEffectView {
55 | UIVisualEffectView(effect: effect)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:54:42: error: cannot find type 'UIVisualEffectView' in scope
52 | fileprivate struct VisualEffectView: UIViewRepresentable {
53 | let effect: UIVisualEffect?
54 | func makeUIView(context: Context) -> UIVisualEffectView {
| `- error: cannot find type 'UIVisualEffectView' in scope
55 | UIVisualEffectView(effect: effect)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:54:30: error: cannot find type 'Context' in scope
52 | fileprivate struct VisualEffectView: UIViewRepresentable {
53 | let effect: UIVisualEffect?
54 | func makeUIView(context: Context) -> UIVisualEffectView {
| `- error: cannot find type 'Context' in scope
55 | UIVisualEffectView(effect: effect)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:57:33: error: cannot find type 'UIVisualEffectView' in scope
55 | UIVisualEffectView(effect: effect)
56 | }
57 | func updateUIView(_ uiView: UIVisualEffectView, context: Context) {}
| `- error: cannot find type 'UIVisualEffectView' in scope
58 | }
59 |
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:57:62: error: cannot find type 'Context' in scope
55 | UIVisualEffectView(effect: effect)
56 | }
57 | func updateUIView(_ uiView: UIVisualEffectView, context: Context) {}
| `- error: cannot find type 'Context' in scope
58 | }
59 |
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:52:38: error: cannot find type 'UIViewRepresentable' in scope
50 |
51 | /// UIKit wrapper for UIBlurEffect in SwiftUI
52 | fileprivate struct VisualEffectView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
53 | let effect: UIVisualEffect?
54 | func makeUIView(context: Context) -> UIVisualEffectView {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:17:20: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:13:26: error: 'PresentationDetent' is only available in macOS 13.0 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
14 | /// Corner radius for the sheet background
15 | public var cornerRadius: CGFloat = 30
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:23:27: error: 'Animation' is only available in macOS 10.15 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
21 | public var showDragIndicator: Bool = false
22 | /// Custom animation for sheet presentation
23 | public var animation: Animation = .easeInOut(duration: 0.1)
| `- error: 'Animation' is only available in macOS 10.15 or newer
24 | /// Callback invoked when the sheet appears
25 | public var onAppear: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:23:40: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
21 | public var showDragIndicator: Bool = false
22 | /// Custom animation for sheet presentation
23 | public var animation: Animation = .easeInOut(duration: 0.1)
| `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
24 | /// Callback invoked when the sheet appears
25 | public var onAppear: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:50:19: error: 'PresentationDetent' is only available in macOS 13.0 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
47 | /// - onAppear: Called on appear
48 | /// - onDismiss: Called on dismiss
49 | public init(
| `- note: add @available attribute to enclosing initializer
50 | detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)],
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
51 | cornerRadius: CGFloat = 30,
52 | isInteractiveDismissDisabled: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:55:20: error: 'Animation' is only available in macOS 10.15 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
47 | /// - onAppear: Called on appear
48 | /// - onDismiss: Called on dismiss
49 | public init(
| `- note: add @available attribute to enclosing initializer
50 | detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)],
51 | cornerRadius: CGFloat = 30,
:
53 | backgroundStyle: BackgroundStyle = .clear,
54 | showDragIndicator: Bool = false,
55 | animation: Animation = .easeInOut(duration: 0.1),
| `- error: 'Animation' is only available in macOS 10.15 or newer
56 | onAppear: (() -> Void)? = nil,
57 | onDismiss: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:55:33: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
47 | /// - onAppear: Called on appear
48 | /// - onDismiss: Called on dismiss
49 | public init(
| `- note: add @available attribute to enclosing initializer
50 | detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)],
51 | cornerRadius: CGFloat = 30,
:
53 | backgroundStyle: BackgroundStyle = .clear,
54 | showDragIndicator: Bool = false,
55 | animation: Animation = .easeInOut(duration: 0.1),
| `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
56 | onAppear: (() -> Void)? = nil,
57 | onDismiss: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:18:28: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
16 | /// - content: A view builder providing the sheet's main content
17 | /// - Returns: A view modified to present the styled sheet
18 | func sheetify<Content: View>(
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
19 | _ isPresented: Binding<Bool>,
20 | title: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:19:24: error: 'Binding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
16 | /// - content: A view builder providing the sheet's main content
17 | /// - Returns: A view modified to present the styled sheet
18 | func sheetify<Content: View>(
| `- note: add @available attribute to enclosing instance method
19 | _ isPresented: Binding<Bool>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
20 | title: String? = nil,
21 | config: TrayConfig = .init(),
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:22:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
16 | /// - content: A view builder providing the sheet's main content
17 | /// - Returns: A view modified to present the styled sheet
18 | func sheetify<Content: View>(
| `- note: add @available attribute to enclosing instance method
19 | _ isPresented: Binding<Bool>,
20 | title: String? = nil,
21 | config: TrayConfig = .init(),
22 | @ViewBuilder content: @escaping () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
23 | ) -> some View {
24 | self.sheet(isPresented: isPresented, onDismiss: {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:23:15: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
16 | /// - content: A view builder providing the sheet's main content
17 | /// - Returns: A view modified to present the styled sheet
18 | func sheetify<Content: View>(
| `- note: add @available attribute to enclosing instance method
19 | _ isPresented: Binding<Bool>,
20 | title: String? = nil,
21 | config: TrayConfig = .init(),
22 | @ViewBuilder content: @escaping () -> Content
23 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
24 | self.sheet(isPresented: isPresented, onDismiss: {
25 | config.onDismiss?()
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:64:92: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
62 |
63 | /// Generates the background overlay view based on the chosen style
64 | @ViewBuilder private func backgroundOverlay(style: TrayConfig.BackgroundStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
65 | switch style {
66 | case .clear:
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:64:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
:
62 |
63 | /// Generates the background overlay view based on the chosen style
64 | @ViewBuilder private func backgroundOverlay(style: TrayConfig.BackgroundStyle) -> some View {
| | `- note: add @available attribute to enclosing instance method
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
65 | switch style {
66 | case .clear:
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/View+Sheetify.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
11 | /// Presents a styled tray sheet (Sheetify) with optional header and custom content.
12 | /// - Parameters:
[6/8] Compiling Sheetify SheetHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:17:20: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:18:9: error: 'HStack' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | Text(title)
20 | .font(.title2)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:19:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .font(.title2)
21 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:19:13: error: 'Text' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .font(.title2)
21 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:20:18: error: 'font' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
20 | .font(.title2)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | .fontWeight(.semibold)
22 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:20:24: error: 'title2' is only available in macOS 11.0 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
20 | .font(.title2)
| |- error: 'title2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
21 | .fontWeight(.semibold)
22 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:21:18: error: 'fontWeight' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
20 | .font(.title2)
21 | .fontWeight(.semibold)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | Spacer()
23 | Button(action: onClose) {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:22:13: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
20 | .font(.title2)
21 | .fontWeight(.semibold)
22 | Spacer()
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | Button(action: onClose) {
24 | Image(systemName: "xmark.circle.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:22:13: error: 'Spacer' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
20 | .font(.title2)
21 | .fontWeight(.semibold)
22 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | Button(action: onClose) {
24 | Image(systemName: "xmark.circle.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:23:13: error: 'Button' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
21 | .fontWeight(.semibold)
22 | Spacer()
23 | Button(action: onClose) {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Image(systemName: "xmark.circle.fill")
25 | .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:24:17: error: 'Image' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
22 | Spacer()
23 | Button(action: onClose) {
24 | Image(systemName: "xmark.circle.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .font(.title)
26 | .foregroundStyle(Color.gray, Color.primary.opacity(0.1))
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:24:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
22 | Spacer()
23 | Button(action: onClose) {
24 | Image(systemName: "xmark.circle.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
25 | .font(.title)
26 | .foregroundStyle(Color.gray, Color.primary.opacity(0.1))
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:25:22: error: 'font' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
23 | Button(action: onClose) {
24 | Image(systemName: "xmark.circle.fill")
25 | .font(.title)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .foregroundStyle(Color.gray, Color.primary.opacity(0.1))
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:25:28: error: 'title' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
23 | Button(action: onClose) {
24 | Image(systemName: "xmark.circle.fill")
25 | .font(.title)
| |- error: 'title' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .foregroundStyle(Color.gray, Color.primary.opacity(0.1))
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:26:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
24 | Image(systemName: "xmark.circle.fill")
25 | .font(.title)
26 | .foregroundStyle(Color.gray, Color.primary.opacity(0.1))
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:26:38: error: 'Color' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
24 | Image(systemName: "xmark.circle.fill")
25 | .font(.title)
26 | .foregroundStyle(Color.gray, Color.primary.opacity(0.1))
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:26:44: error: 'gray' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
24 | Image(systemName: "xmark.circle.fill")
25 | .font(.title)
26 | .foregroundStyle(Color.gray, Color.primary.opacity(0.1))
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:26:50: error: 'Color' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
24 | Image(systemName: "xmark.circle.fill")
25 | .font(.title)
26 | .foregroundStyle(Color.gray, Color.primary.opacity(0.1))
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:26:56: error: 'primary' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
24 | Image(systemName: "xmark.circle.fill")
25 | .font(.title)
26 | .foregroundStyle(Color.gray, Color.primary.opacity(0.1))
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:26:64: error: 'opacity' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
24 | Image(systemName: "xmark.circle.fill")
25 | .font(.title)
26 | .foregroundStyle(Color.gray, Color.primary.opacity(0.1))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:18:16: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | Text(title)
20 | .font(.title2)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:18:16: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | Text(title)
20 | .font(.title2)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:29:10: error: 'padding' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
27 | }
28 | }
29 | .padding(.horizontal)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .padding(.top, 8)
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/SheetHeader.swift:30:10: error: 'padding' is only available in macOS 10.15 or newer
9 |
10 | /// Header view with title and close button
11 | fileprivate struct SheetHeader: View {
| `- note: add @available attribute to enclosing struct
12 | /// Sheet title text
13 | let title: String
:
15 | let onClose: () -> Void
16 |
17 | var body: some View {
| `- note: add @available attribute to enclosing property
18 | HStack {
19 | Text(title)
:
28 | }
29 | .padding(.horizontal)
30 | .padding(.top, 8)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 | }
[7/8] Compiling Sheetify Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:12:42: error: cannot find type 'UIView' in scope
10 | /// Removes default sheet shadow via UIKit
11 | fileprivate struct RemoveSheetShadow: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'UIView' in scope
13 | let view = UIView(frame: .zero)
14 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:12:30: error: cannot find type 'Context' in scope
10 | /// Removes default sheet shadow via UIKit
11 | fileprivate struct RemoveSheetShadow: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'Context' in scope
13 | let view = UIView(frame: .zero)
14 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:22:33: error: cannot find type 'UIView' in scope
20 | return view
21 | }
22 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'UIView' in scope
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:22:50: error: cannot find type 'Context' in scope
20 | return view
21 | }
22 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:11:39: error: cannot find type 'UIViewRepresentable' in scope
9 |
10 | /// Removes default sheet shadow via UIKit
11 | fileprivate struct RemoveSheetShadow: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | func makeUIView(context: Context) -> UIView {
13 | let view = UIView(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:28:18: error: cannot find type 'UIRectCorner' in scope
26 | fileprivate struct RoundedCorner: Shape {
27 | var radius: CGFloat
28 | var corners: UIRectCorner
| `- error: cannot find type 'UIRectCorner' in scope
29 |
30 | func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:30:35: error: 'Path' is only available in macOS 10.15 or newer
24 |
25 | /// Shape for rounded corners on specific edges
26 | fileprivate struct RoundedCorner: Shape {
| `- note: add @available attribute to enclosing struct
27 | var radius: CGFloat
28 | var corners: UIRectCorner
29 |
30 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
31 | let path = UIBezierPath(
32 | roundedRect: rect,
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:40:11: error: cannot find type 'UIView' in scope
38 | }
39 |
40 | extension UIView {
| `- error: cannot find type 'UIView' in scope
41 | /// Recursively find the UIDropShadowView to remove its shadow
42 | fileprivate var dropShadowView: UIView? {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:53:17: error: cannot find type 'UIVisualEffect' in scope
51 | /// UIKit wrapper for UIBlurEffect in SwiftUI
52 | fileprivate struct VisualEffectView: UIViewRepresentable {
53 | let effect: UIVisualEffect?
| `- error: cannot find type 'UIVisualEffect' in scope
54 | func makeUIView(context: Context) -> UIVisualEffectView {
55 | UIVisualEffectView(effect: effect)
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:54:42: error: cannot find type 'UIVisualEffectView' in scope
52 | fileprivate struct VisualEffectView: UIViewRepresentable {
53 | let effect: UIVisualEffect?
54 | func makeUIView(context: Context) -> UIVisualEffectView {
| `- error: cannot find type 'UIVisualEffectView' in scope
55 | UIVisualEffectView(effect: effect)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:54:30: error: cannot find type 'Context' in scope
52 | fileprivate struct VisualEffectView: UIViewRepresentable {
53 | let effect: UIVisualEffect?
54 | func makeUIView(context: Context) -> UIVisualEffectView {
| `- error: cannot find type 'Context' in scope
55 | UIVisualEffectView(effect: effect)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:57:33: error: cannot find type 'UIVisualEffectView' in scope
55 | UIVisualEffectView(effect: effect)
56 | }
57 | func updateUIView(_ uiView: UIVisualEffectView, context: Context) {}
| `- error: cannot find type 'UIVisualEffectView' in scope
58 | }
59 |
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:57:62: error: cannot find type 'Context' in scope
55 | UIVisualEffectView(effect: effect)
56 | }
57 | func updateUIView(_ uiView: UIVisualEffectView, context: Context) {}
| `- error: cannot find type 'Context' in scope
58 | }
59 |
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:52:38: error: cannot find type 'UIViewRepresentable' in scope
50 |
51 | /// UIKit wrapper for UIBlurEffect in SwiftUI
52 | fileprivate struct VisualEffectView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
53 | let effect: UIVisualEffect?
54 | func makeUIView(context: Context) -> UIVisualEffectView {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:13:20: error: cannot find 'UIView' in scope
11 | fileprivate struct RemoveSheetShadow: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
13 | let view = UIView(frame: .zero)
| `- error: cannot find 'UIView' in scope
14 | view.backgroundColor = .clear
15 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:13:35: error: cannot infer contextual base in reference to member 'zero'
11 | fileprivate struct RemoveSheetShadow: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
13 | let view = UIView(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
14 | view.backgroundColor = .clear
15 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:14:33: error: cannot infer contextual base in reference to member 'clear'
12 | func makeUIView(context: Context) -> UIView {
13 | let view = UIView(frame: .zero)
14 | view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
15 | DispatchQueue.main.async {
16 | if let shadow = view.dropShadowView {
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:17:44: error: cannot find 'UIColor' in scope
15 | DispatchQueue.main.async {
16 | if let shadow = view.dropShadowView {
17 | shadow.layer.shadowColor = UIColor.clear.cgColor
| `- error: cannot find 'UIColor' in scope
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:15:34: error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
13 | let view = UIView(frame: .zero)
14 | view.backgroundColor = .clear
15 | DispatchQueue.main.async {
| `- error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
16 | if let shadow = view.dropShadowView {
17 | shadow.layer.shadowColor = UIColor.clear.cgColor
Dispatch.DispatchQueue.async:3:15: note: 'async(execute:)' declared here
1 | class DispatchQueue {
2 | @available(macOS 10.10, iOS 8.0, *)
3 | public func async(execute workItem: DispatchWorkItem)}
| `- note: 'async(execute:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:31:20: error: cannot find 'UIBezierPath' in scope
29 |
30 | func path(in rect: CGRect) -> Path {
31 | let path = UIBezierPath(
| `- error: cannot find 'UIBezierPath' in scope
32 | roundedRect: rect,
33 | byRoundingCorners: corners,
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/Helpers.swift:42:37: error: cannot find type 'UIView' in scope
40 | extension UIView {
41 | /// Recursively find the UIDropShadowView to remove its shadow
42 | fileprivate var dropShadowView: UIView? {
| `- error: cannot find type 'UIView' in scope
43 | if let superview = superview,
44 | String(describing: type(of: superview)) == "UIDropShadowView" {
[8/8] Compiling Sheetify TrayConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:13:26: error: 'PresentationDetent' is only available in macOS 13.0 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
14 | /// Corner radius for the sheet background
15 | public var cornerRadius: CGFloat = 30
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:23:27: error: 'Animation' is only available in macOS 10.15 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
21 | public var showDragIndicator: Bool = false
22 | /// Custom animation for sheet presentation
23 | public var animation: Animation = .easeInOut(duration: 0.1)
| `- error: 'Animation' is only available in macOS 10.15 or newer
24 | /// Callback invoked when the sheet appears
25 | public var onAppear: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:23:40: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
21 | public var showDragIndicator: Bool = false
22 | /// Custom animation for sheet presentation
23 | public var animation: Animation = .easeInOut(duration: 0.1)
| `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
24 | /// Callback invoked when the sheet appears
25 | public var onAppear: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:50:19: error: 'PresentationDetent' is only available in macOS 13.0 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
47 | /// - onAppear: Called on appear
48 | /// - onDismiss: Called on dismiss
49 | public init(
| `- note: add @available attribute to enclosing initializer
50 | detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)],
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
51 | cornerRadius: CGFloat = 30,
52 | isInteractiveDismissDisabled: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:55:20: error: 'Animation' is only available in macOS 10.15 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
47 | /// - onAppear: Called on appear
48 | /// - onDismiss: Called on dismiss
49 | public init(
| `- note: add @available attribute to enclosing initializer
50 | detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)],
51 | cornerRadius: CGFloat = 30,
:
53 | backgroundStyle: BackgroundStyle = .clear,
54 | showDragIndicator: Bool = false,
55 | animation: Animation = .easeInOut(duration: 0.1),
| `- error: 'Animation' is only available in macOS 10.15 or newer
56 | onAppear: (() -> Void)? = nil,
57 | onDismiss: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Sheetify/TrayConfig.swift:55:33: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
9 |
10 | /// Configuration for the styled sheet
11 | public struct TrayConfig {
| `- note: add @available attribute to enclosing struct
12 | /// Array of allowed detents for the sheet (e.g., .medium, .large)
13 | public var detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)]
:
47 | /// - onAppear: Called on appear
48 | /// - onDismiss: Called on dismiss
49 | public init(
| `- note: add @available attribute to enclosing initializer
50 | detents: [PresentationDetent] = [.fraction(0.5), .fraction(0.99)],
51 | cornerRadius: CGFloat = 30,
:
53 | backgroundStyle: BackgroundStyle = .clear,
54 | showDragIndicator: Bool = false,
55 | animation: Animation = .easeInOut(duration: 0.1),
| `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
56 | onAppear: (() -> Void)? = nil,
57 | onDismiss: (() -> Void)? = nil
BUILD FAILURE 6.2 macosSpm