Build Information
Failed to build Permissions, reference main (5e4010), with Swift 6.1 for macOS (SPM) on 25 Oct 2025 13:31:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
| `- note: add @available attribute to enclosing struct
61 | public var needHelpButtonTitle: LocalizedStringKey = "Need help?"
62 | public var cantGrantHelpText: LocalizedStringKey = "Don't worry! This usally happens when the Permission Prompt was dismissed too early or you declined this Permission before, tap this Message to open Settings and Grant the Permission manually there"
:
73 | public var grantedTitle: LocalizedStringKey = "Granted"
74 | public var notGrantedTitle: LocalizedStringKey = "Not Granted"
75 | public var allSetDescription: LocalizedStringKey = "Tap Done below to start using this App"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
76 | public var allSetTitle: LocalizedStringKey = "All Set!"
77 | public func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:75:56: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
58 | }
59 |
60 | public struct DefaultPermissionsLocalizationProvider: PermissionsLocalizationProvider {
| `- note: add @available attribute to enclosing struct
61 | public var needHelpButtonTitle: LocalizedStringKey = "Need help?"
62 | public var cantGrantHelpText: LocalizedStringKey = "Don't worry! This usally happens when the Permission Prompt was dismissed too early or you declined this Permission before, tap this Message to open Settings and Grant the Permission manually there"
:
73 | public var grantedTitle: LocalizedStringKey = "Granted"
74 | public var notGrantedTitle: LocalizedStringKey = "Not Granted"
75 | public var allSetDescription: LocalizedStringKey = "Tap Done below to start using this App"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
76 | public var allSetTitle: LocalizedStringKey = "All Set!"
77 | public func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:76:29: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
58 | }
59 |
60 | public struct DefaultPermissionsLocalizationProvider: PermissionsLocalizationProvider {
| `- note: add @available attribute to enclosing struct
61 | public var needHelpButtonTitle: LocalizedStringKey = "Need help?"
62 | public var cantGrantHelpText: LocalizedStringKey = "Don't worry! This usally happens when the Permission Prompt was dismissed too early or you declined this Permission before, tap this Message to open Settings and Grant the Permission manually there"
:
74 | public var notGrantedTitle: LocalizedStringKey = "Not Granted"
75 | public var allSetDescription: LocalizedStringKey = "Tap Done below to start using this App"
76 | public var allSetTitle: LocalizedStringKey = "All Set!"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
77 | public func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey {
78 | return switch type {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:76:50: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
58 | }
59 |
60 | public struct DefaultPermissionsLocalizationProvider: PermissionsLocalizationProvider {
| `- note: add @available attribute to enclosing struct
61 | public var needHelpButtonTitle: LocalizedStringKey = "Need help?"
62 | public var cantGrantHelpText: LocalizedStringKey = "Don't worry! This usally happens when the Permission Prompt was dismissed too early or you declined this Permission before, tap this Message to open Settings and Grant the Permission manually there"
:
74 | public var notGrantedTitle: LocalizedStringKey = "Not Granted"
75 | public var allSetDescription: LocalizedStringKey = "Tap Done below to start using this App"
76 | public var allSetTitle: LocalizedStringKey = "All Set!"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
77 | public func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey {
78 | return switch type {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:77:65: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
58 | }
59 |
60 | public struct DefaultPermissionsLocalizationProvider: PermissionsLocalizationProvider {
| `- note: add @available attribute to enclosing struct
61 | public var needHelpButtonTitle: LocalizedStringKey = "Need help?"
62 | public var cantGrantHelpText: LocalizedStringKey = "Don't worry! This usally happens when the Permission Prompt was dismissed too early or you declined this Permission before, tap this Message to open Settings and Grant the Permission manually there"
:
75 | public var allSetDescription: LocalizedStringKey = "Tap Done below to start using this App"
76 | public var allSetTitle: LocalizedStringKey = "All Set!"
77 | public func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey {
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
78 | return switch type {
79 | case .camera:
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:97:71: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
58 | }
59 |
60 | public struct DefaultPermissionsLocalizationProvider: PermissionsLocalizationProvider {
| `- note: add @available attribute to enclosing struct
61 | public var needHelpButtonTitle: LocalizedStringKey = "Need help?"
62 | public var cantGrantHelpText: LocalizedStringKey = "Don't worry! This usally happens when the Permission Prompt was dismissed too early or you declined this Permission before, tap this Message to open Settings and Grant the Permission manually there"
:
95 | }
96 | }
97 | public func makeLocalizedDescription(for type: PermissionType) -> LocalizedStringKey {
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
98 | return switch type {
99 | case .camera:
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:117:29: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
58 | }
59 |
60 | public struct DefaultPermissionsLocalizationProvider: PermissionsLocalizationProvider {
| `- note: add @available attribute to enclosing struct
61 | public var needHelpButtonTitle: LocalizedStringKey = "Need help?"
62 | public var cantGrantHelpText: LocalizedStringKey = "Don't worry! This usally happens when the Permission Prompt was dismissed too early or you declined this Permission before, tap this Message to open Settings and Grant the Permission manually there"
:
115 | }
116 | }
117 | public var sheetHeader: LocalizedStringKey = "This App Requires Access to"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:117:50: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
58 | }
59 |
60 | public struct DefaultPermissionsLocalizationProvider: PermissionsLocalizationProvider {
| `- note: add @available attribute to enclosing struct
61 | public var needHelpButtonTitle: LocalizedStringKey = "Need help?"
62 | public var cantGrantHelpText: LocalizedStringKey = "Don't worry! This usally happens when the Permission Prompt was dismissed too early or you declined this Permission before, tap this Message to open Settings and Grant the Permission manually there"
:
115 | }
116 | }
117 | public var sheetHeader: LocalizedStringKey = "This App Requires Access to"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:132:32: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
121 |
122 | @MainActor
123 | public enum PermissionType: String, CaseIterable, RawRepresentable {
| `- note: add @available attribute to enclosing enum
124 | case camera, microphone, locationWhenInUse, locationAlways, notifications, photoLibrary, contacts, bluetooth
125 |
:
130 |
131 | /// A Short Title for the Permission, e.g. "Microphone"
132 | public var localizedTitle: LocalizedStringKey {
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
133 | return Self.localizationProvider.makeLocalizedTitle(for: self)
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:137:38: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
121 |
122 | @MainActor
123 | public enum PermissionType: String, CaseIterable, RawRepresentable {
| `- note: add @available attribute to enclosing enum
124 | case camera, microphone, locationWhenInUse, locationAlways, notifications, photoLibrary, contacts, bluetooth
125 |
:
135 |
136 | /// A Descriptive Text explaining the user what the given Permission grants your App access to
137 | public var localizedDescription: LocalizedStringKey {
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
138 | return Self.localizationProvider.makeLocalizedDescription(for: self)
139 | }
[4/4] Compiling Permissions Permissions-SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:4:40: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add @available attribute to enclosing extension
4 | func permissionsSheet(isPresented: Binding<Bool>, skipAlreadyGranted: Bool = true, allowManualSkip: Bool = true, permissions: Set<PermissionType>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
5 | self.modifier(PermissionsSheet(isPresented: isPresented, skipGranted: skipAlreadyGranted, allowSkip: allowManualSkip, perms: permissions.map { $0 }))
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:4:160: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add @available attribute to enclosing extension
4 | func permissionsSheet(isPresented: Binding<Bool>, skipAlreadyGranted: Bool = true, allowManualSkip: Bool = true, permissions: Set<PermissionType>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
5 | self.modifier(PermissionsSheet(isPresented: isPresented, skipGranted: skipAlreadyGranted, allowSkip: allowManualSkip, perms: permissions.map { $0 }))
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:3:18: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | func permissionsSheet(isPresented: Binding<Bool>, skipAlreadyGranted: Bool = true, allowManualSkip: Bool = true, permissions: Set<PermissionType>) -> some View {
5 | self.modifier(PermissionsSheet(isPresented: isPresented, skipGranted: skipAlreadyGranted, allowSkip: allowManualSkip, perms: permissions.map { $0 }))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:10:6: error: 'StateObject' is only available in macOS 11.0 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
| `- error: 'StateObject' is only available in macOS 11.0 or newer
11 | @Binding var isPresented: Bool
12 | var skipGranted: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
12 | var skipGranted: Bool
13 | var allowSkip: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
13 | var allowSkip: Bool
14 | let perms: Array<PermissionType>
15 | @State var currentIndex: Int = 0
| `- error: 'State' is only available in macOS 10.15 or newer
16 | @State var hasFinished = false
17 | private var currentPermission: PermissionType? {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
14 | let perms: Array<PermissionType>
15 | @State var currentIndex: Int = 0
16 | @State var hasFinished = false
| `- error: 'State' is only available in macOS 10.15 or newer
17 | private var currentPermission: PermissionType? {
18 | guard perms.indices.contains(currentIndex) else { return nil }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:21:41: error: 'View' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
19 | return perms[currentIndex]
20 | }
21 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
22 | content
23 | .sheet(isPresented: $isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:28:25: error: 'View' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:67:28: error: 'View' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:104:6: error: 'StateObject' is only available in macOS 11.0 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
| `- error: 'StateObject' is only available in macOS 11.0 or newer
105 | @State var isGranted = false
106 | @State var isProcessing = false
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:105:6: error: 'State' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
| `- error: 'State' is only available in macOS 10.15 or newer
106 | @State var isProcessing = false
107 | @State var isAnimating = false
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:106:6: error: 'State' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
106 | @State var isProcessing = false
| `- error: 'State' is only available in macOS 10.15 or newer
107 | @State var isAnimating = false
108 | @State var showSkip = false
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:107:6: error: 'State' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
106 | @State var isProcessing = false
107 | @State var isAnimating = false
| `- error: 'State' is only available in macOS 10.15 or newer
108 | @State var showSkip = false
109 | @State var showHelp = false
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:108:6: error: 'State' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
106 | @State var isProcessing = false
107 | @State var isAnimating = false
108 | @State var showSkip = false
| `- error: 'State' is only available in macOS 10.15 or newer
109 | @State var showHelp = false
110 | var permission: PermissionType
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:109:6: error: 'State' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
107 | @State var isAnimating = false
108 | @State var showSkip = false
109 | @State var showHelp = false
| `- error: 'State' is only available in macOS 10.15 or newer
110 | var permission: PermissionType
111 | var skipGranted: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:114:20: error: 'View' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
112 | var allowSkip: Bool
113 | var next: () -> Void
114 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
115 | VStack {
116 | header()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:254:53: error: 'View' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:295:38: error: 'View' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
296 | if #available(iOS 26.0, *) {
297 | return self
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:304:38: error: 'View' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
302 | }
303 | }
304 | func contentTransition() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
305 | if #available(iOS 16.0, *) {
306 | return self .contentTransition(.numericText(countsDown: false))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:311:35: error: 'View' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
312 | Group {
313 | if #available(iOS 16.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:311:54: error: 'Binding' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
312 | Group {
313 | if #available(iOS 16.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:311:111: error: 'View' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
312 | Group {
313 | if #available(iOS 16.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:294:23: error: 'View' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:332:6: error: 'Previewable()' is only available in macOS 14.0 or newer
330 | @available(iOS 17.0, *)
331 | #Preview {
332 | @Previewable @State var isPresented = true
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
333 | Toggle("Present Sheet", isOn: $isPresented)
334 | .toggleStyle(.button)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:332:19: error: 'State' is only available in macOS 10.15 or newer
330 | @available(iOS 17.0, *)
331 | #Preview {
332 | @Previewable @State var isPresented = true
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
333 | Toggle("Present Sheet", isOn: $isPresented)
334 | .toggleStyle(.button)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:331:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
329 |
330 | @available(iOS 17.0, *)
331 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
332 | @Previewable @State var isPresented = true
333 | Toggle("Present Sheet", isOn: $isPresented)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:333:5: error: 'Toggle' is only available in macOS 10.15 or newer
331 | #Preview {
332 | @Previewable @State var isPresented = true
333 | Toggle("Present Sheet", isOn: $isPresented)
| |- error: 'Toggle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
334 | .toggleStyle(.button)
335 | .permissionsSheet(isPresented: $isPresented, permissions: [.camera, .microphone, .bluetooth])
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:333:5: error: 'init(_:isOn:)' is only available in macOS 10.15 or newer
331 | #Preview {
332 | @Previewable @State var isPresented = true
333 | Toggle("Present Sheet", isOn: $isPresented)
| |- error: 'init(_:isOn:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
334 | .toggleStyle(.button)
335 | .permissionsSheet(isPresented: $isPresented, permissions: [.camera, .microphone, .bluetooth])
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:333:12: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
331 | #Preview {
332 | @Previewable @State var isPresented = true
333 | Toggle("Present Sheet", isOn: $isPresented)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
334 | .toggleStyle(.button)
335 | .permissionsSheet(isPresented: $isPresented, permissions: [.camera, .microphone, .bluetooth])
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:334:10: error: 'toggleStyle' is only available in macOS 10.15 or newer
332 | @Previewable @State var isPresented = true
333 | Toggle("Present Sheet", isOn: $isPresented)
334 | .toggleStyle(.button)
| |- error: 'toggleStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
335 | .permissionsSheet(isPresented: $isPresented, permissions: [.camera, .microphone, .bluetooth])
336 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:334:23: error: 'button' is only available in macOS 12.0 or newer
332 | @Previewable @State var isPresented = true
333 | Toggle("Present Sheet", isOn: $isPresented)
334 | .toggleStyle(.button)
| |- error: 'button' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
335 | .permissionsSheet(isPresented: $isPresented, permissions: [.camera, .microphone, .bluetooth])
336 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:5:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add @available attribute to enclosing extension
4 | func permissionsSheet(isPresented: Binding<Bool>, skipAlreadyGranted: Bool = true, allowManualSkip: Bool = true, permissions: Set<PermissionType>) -> some View {
| `- note: add @available attribute to enclosing instance method
5 | self.modifier(PermissionsSheet(isPresented: isPresented, skipGranted: skipAlreadyGranted, allowSkip: allowManualSkip, perms: permissions.map { $0 }))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
6 | }
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:5:14: error: 'modifier' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add @available attribute to enclosing extension
4 | func permissionsSheet(isPresented: Binding<Bool>, skipAlreadyGranted: Bool = true, allowManualSkip: Bool = true, permissions: Set<PermissionType>) -> some View {
| `- note: add @available attribute to enclosing instance method
5 | self.modifier(PermissionsSheet(isPresented: isPresented, skipGranted: skipAlreadyGranted, allowSkip: allowManualSkip, perms: permissions.map { $0 }))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
6 | }
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:23:14: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
19 | return perms[currentIndex]
20 | }
21 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
22 | content
23 | .sheet(isPresented: $isPresented) {
| |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | sheetView
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:26:14: error: 'id' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
19 | return perms[currentIndex]
20 | }
21 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
22 | content
23 | .sheet(isPresented: $isPresented) {
24 | sheetView
25 | }
26 | .id(isPresented)
| |- error: 'id' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | }
28 | var sheetView: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:29:9: error: 'NavigationView' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
| |- error: 'NavigationView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | VStack {
31 | ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:29:24: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | VStack {
31 | ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:29:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | VStack {
31 | ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:30:13: error: 'VStack' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | ZStack {
32 | if let permission = currentPermission {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:30:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
31 | ZStack {
32 | if let permission = currentPermission {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:30:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
31 | ZStack {
32 | if let permission = currentPermission {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:31:17: error: 'ZStack' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
31 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | if let permission = currentPermission {
33 | PermissionView(permission: permission, skipGranted: skipGranted, allowSkip: allowSkip) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:31:17: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
31 | ZStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
32 | if let permission = currentPermission {
33 | PermissionView(permission: permission, skipGranted: skipGranted, allowSkip: allowSkip) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:31:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
31 | ZStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
32 | if let permission = currentPermission {
33 | PermissionView(permission: permission, skipGranted: skipGranted, allowSkip: allowSkip) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:34:29: error: 'withAnimation' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
32 | if let permission = currentPermission {
33 | PermissionView(permission: permission, skipGranted: skipGranted, allowSkip: allowSkip) {
34 | withAnimation(.easeInOut(duration: 0.35)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | if currentIndex + 1 < perms.count {
36 | currentIndex += 1
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:34:44: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
32 | if let permission = currentPermission {
33 | PermissionView(permission: permission, skipGranted: skipGranted, allowSkip: allowSkip) {
34 | withAnimation(.easeInOut(duration: 0.35)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | if currentIndex + 1 < perms.count {
36 | currentIndex += 1
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:36:37: error: cannot pass as inout because setter for 'currentIndex' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
34 | withAnimation(.easeInOut(duration: 0.35)) {
35 | if currentIndex + 1 < perms.count {
36 | currentIndex += 1
| |- error: cannot pass as inout because setter for 'currentIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | } else if currentIndex + 1 == perms.count {
38 | hasFinished = true
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:38:37: error: setter for 'hasFinished' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
36 | currentIndex += 1
37 | } else if currentIndex + 1 == perms.count {
38 | hasFinished = true
| |- error: setter for 'hasFinished' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | currentIndex += 1
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:39:37: error: cannot pass as inout because setter for 'currentIndex' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
37 | } else if currentIndex + 1 == perms.count {
38 | hasFinished = true
39 | currentIndex += 1
| |- error: cannot pass as inout because setter for 'currentIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:43:26: error: 'transition' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
41 | }
42 | }
43 | .transition(.asymmetric(
| |- error: 'transition' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | insertion: .move(edge: .trailing),
45 | removal: .move(edge: .leading)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:43:38: error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
41 | }
42 | }
43 | .transition(.asymmetric(
| |- error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | insertion: .move(edge: .trailing),
45 | removal: .move(edge: .leading)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:44:41: error: 'move(edge:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
42 | }
43 | .transition(.asymmetric(
44 | insertion: .move(edge: .trailing),
| |- error: 'move(edge:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | removal: .move(edge: .leading)
46 | ))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:45:39: error: 'move(edge:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
43 | .transition(.asymmetric(
44 | insertion: .move(edge: .trailing),
45 | removal: .move(edge: .leading)
| |- error: 'move(edge:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | ))
47 | .id(permission)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:47:26: error: 'id' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
45 | removal: .move(edge: .leading)
46 | ))
47 | .id(permission)
| |- error: 'id' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | } else {
49 | if hasFinished {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:32:59: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
31 | ZStack {
32 | if let permission = currentPermission {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | PermissionView(permission: permission, skipGranted: skipGranted, allowSkip: allowSkip) {
34 | withAnimation(.easeInOut(duration: 0.35)) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:51:34: error: 'transition' is only available in macOS 14.0 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
49 | if hasFinished {
50 | finishedView
51 | .transition(.move(edge: .trailing))
| |- error: 'transition' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
52 | } else {
53 | Text("An Error occurred")
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:51:46: error: 'move(edge:)' is only available in macOS 14.0 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
49 | if hasFinished {
50 | finishedView
51 | .transition(.move(edge: .trailing))
| |- error: 'move(edge:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
52 | } else {
53 | Text("An Error occurred")
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:49:40: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
47 | .id(permission)
48 | } else {
49 | if hasFinished {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | finishedView
51 | .transition(.move(edge: .trailing))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:53:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
51 | .transition(.move(edge: .trailing))
52 | } else {
53 | Text("An Error occurred")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | Button("Dismiss") {
55 | isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:53:29: error: 'Text' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
51 | .transition(.move(edge: .trailing))
52 | } else {
53 | Text("An Error occurred")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | Button("Dismiss") {
55 | isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:54:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
52 | } else {
53 | Text("An Error occurred")
54 | Button("Dismiss") {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
55 | isPresented = false
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:54:29: error: 'Button' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
52 | } else {
53 | Text("An Error occurred")
54 | Button("Dismiss") {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | isPresented = false
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:54:29: error: 'init(_:action:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
52 | } else {
53 | Text("An Error occurred")
54 | Button("Dismiss") {
| |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | isPresented = false
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:54:36: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
52 | } else {
53 | Text("An Error occurred")
54 | Button("Dismiss") {
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | isPresented = false
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:55:33: error: setter for 'isPresented' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
53 | Text("An Error occurred")
54 | Button("Dismiss") {
55 | isPresented = false
| |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | }
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:52:32: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
50 | finishedView
51 | .transition(.move(edge: .trailing))
52 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | Text("An Error occurred")
54 | Button("Dismiss") {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:52:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
50 | finishedView
51 | .transition(.move(edge: .trailing))
52 | } else {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
53 | Text("An Error occurred")
54 | Button("Dismiss") {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:52:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
50 | finishedView
51 | .transition(.move(edge: .trailing))
52 | } else {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
53 | Text("An Error occurred")
54 | Button("Dismiss") {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:48:28: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
46 | ))
47 | .id(permission)
48 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | if hasFinished {
50 | finishedView
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:48:28: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
46 | ))
47 | .id(permission)
48 | } else {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
49 | if hasFinished {
50 | finishedView
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:31:24: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
31 | ZStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
32 | if let permission = currentPermission {
33 | PermissionView(permission: permission, skipGranted: skipGranted, allowSkip: allowSkip) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:60:18: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
58 | }
59 | }
60 | .animation(.snappy(duration: 0.35), value: currentIndex)
| |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | }
62 | .navigationTitle(manager.localizationProvider.permissionsTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:60:29: error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
58 | }
59 | }
60 | .animation(.snappy(duration: 0.35), value: currentIndex)
| |- error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | }
62 | .navigationTitle(manager.localizationProvider.permissionsTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:62:14: error: 'navigationTitle' is only available in macOS 11.0 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
60 | .animation(.snappy(duration: 0.35), value: currentIndex)
61 | }
62 | .navigationTitle(manager.localizationProvider.permissionsTitle)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | .navigationBarTitleDisplayMode(.inline)
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:63:14: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
61 | }
62 | .navigationTitle(manager.localizationProvider.permissionsTitle)
63 | .navigationBarTitleDisplayMode(.inline)
| `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
64 | }
65 | .interactiveDismissDisabled(!allowSkip)
SwiftUI.View.navigationBarTitleDisplayMode:2:25: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
| `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:65:10: error: 'interactiveDismissDisabled' is only available in macOS 12.0 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
26 | .id(isPresented)
27 | }
28 | var sheetView: some View {
| `- note: add @available attribute to enclosing property
29 | NavigationView {
30 | VStack {
:
63 | .navigationBarTitleDisplayMode(.inline)
64 | }
65 | .interactiveDismissDisabled(!allowSkip)
| |- error: 'interactiveDismissDisabled' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
66 | }
67 | var finishedView: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:68:9: error: 'VStack' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | VStack {
70 | Image(systemName: "checkmark.circle.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:69:13: error: 'VStack' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | Image(systemName: "checkmark.circle.fill")
71 | .font(.system(size: 75))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:70:17: error: 'Image' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
70 | Image(systemName: "checkmark.circle.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .font(.system(size: 75))
72 | .frame(height: 100)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:70:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
70 | Image(systemName: "checkmark.circle.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
71 | .font(.system(size: 75))
72 | .frame(height: 100)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:71:22: error: 'font' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
70 | Image(systemName: "checkmark.circle.fill")
71 | .font(.system(size: 75))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .frame(height: 100)
73 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:71:28: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
70 | Image(systemName: "checkmark.circle.fill")
71 | .font(.system(size: 75))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
72 | .frame(height: 100)
73 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:72:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
70 | Image(systemName: "checkmark.circle.fill")
71 | .font(.system(size: 75))
72 | .frame(height: 100)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | .padding()
74 | Text(manager.localizationProvider.allSetTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:73:22: error: 'padding' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
71 | .font(.system(size: 75))
72 | .frame(height: 100)
73 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | Text(manager.localizationProvider.allSetTitle)
75 | .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:74:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
72 | .frame(height: 100)
73 | .padding()
74 | Text(manager.localizationProvider.allSetTitle)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
75 | .font(.title)
76 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:74:17: error: 'Text' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
72 | .frame(height: 100)
73 | .padding()
74 | Text(manager.localizationProvider.allSetTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | .font(.title)
76 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:74:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
72 | .frame(height: 100)
73 | .padding()
74 | Text(manager.localizationProvider.allSetTitle)
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | .font(.title)
76 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:75:22: error: 'font' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
73 | .padding()
74 | Text(manager.localizationProvider.allSetTitle)
75 | .font(.title)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | .bold()
77 | Text(manager.localizationProvider.allSetDescription)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:75:28: error: 'title' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
73 | .padding()
74 | Text(manager.localizationProvider.allSetTitle)
75 | .font(.title)
| |- error: 'title' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | .bold()
77 | Text(manager.localizationProvider.allSetDescription)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:76:22: error: 'bold()' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
74 | Text(manager.localizationProvider.allSetTitle)
75 | .font(.title)
76 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | Text(manager.localizationProvider.allSetDescription)
78 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:77:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
75 | .font(.title)
76 | .bold()
77 | Text(manager.localizationProvider.allSetDescription)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
78 | .foregroundStyle(.secondary)
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:77:17: error: 'Text' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
75 | .font(.title)
76 | .bold()
77 | Text(manager.localizationProvider.allSetDescription)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | .foregroundStyle(.secondary)
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:77:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
75 | .font(.title)
76 | .bold()
77 | Text(manager.localizationProvider.allSetDescription)
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | .foregroundStyle(.secondary)
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:78:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
76 | .bold()
77 | Text(manager.localizationProvider.allSetDescription)
78 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
79 | }
80 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:78:39: error: 'secondary' is only available in macOS 12.0 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
76 | .bold()
77 | Text(manager.localizationProvider.allSetDescription)
78 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
79 | }
80 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:69:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
70 | Image(systemName: "checkmark.circle.fill")
71 | .font(.system(size: 75))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:69:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
70 | Image(systemName: "checkmark.circle.fill")
71 | .font(.system(size: 75))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:80:14: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
78 | .foregroundStyle(.secondary)
79 | }
80 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .padding(.vertical, 50)
82 | .frame(maxWidth: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:81:14: error: 'padding' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
79 | }
80 | .multilineTextAlignment(.center)
81 | .padding(.vertical, 50)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .frame(maxWidth: .infinity)
83 | .contentShape(.rect)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:82:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
80 | .multilineTextAlignment(.center)
81 | .padding(.vertical, 50)
82 | .frame(maxWidth: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .contentShape(.rect)
84 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:83:14: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
81 | .padding(.vertical, 50)
82 | .frame(maxWidth: .infinity)
83 | .contentShape(.rect)
| |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | Spacer()
85 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:83:28: error: 'rect' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
81 | .padding(.vertical, 50)
82 | .frame(maxWidth: .infinity)
83 | .contentShape(.rect)
| |- error: 'rect' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | Spacer()
85 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:84:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
82 | .frame(maxWidth: .infinity)
83 | .contentShape(.rect)
84 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
85 | Button(action: {
86 | isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:84:13: error: 'Spacer' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
82 | .frame(maxWidth: .infinity)
83 | .contentShape(.rect)
84 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | Button(action: {
86 | isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:85:13: error: 'Button' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
83 | .contentShape(.rect)
84 | Spacer()
85 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | isPresented = false
87 | }) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:86:17: error: setter for 'isPresented' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
84 | Spacer()
85 | Button(action: {
86 | isPresented = false
| |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | }) {
88 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:88:17: error: 'HStack' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
86 | isPresented = false
87 | }) {
88 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | Spacer()
90 | Text(manager.localizationProvider.doneButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:89:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
87 | }) {
88 | HStack {
89 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
90 | Text(manager.localizationProvider.doneButtonTitle)
91 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:89:21: error: 'Spacer' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
87 | }) {
88 | HStack {
89 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | Text(manager.localizationProvider.doneButtonTitle)
91 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:90:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
88 | HStack {
89 | Spacer()
90 | Text(manager.localizationProvider.doneButtonTitle)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
91 | .bold()
92 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:90:21: error: 'Text' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
88 | HStack {
89 | Spacer()
90 | Text(manager.localizationProvider.doneButtonTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | .bold()
92 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:90:21: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
88 | HStack {
89 | Spacer()
90 | Text(manager.localizationProvider.doneButtonTitle)
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | .bold()
92 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:91:26: error: 'bold()' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
89 | Spacer()
90 | Text(manager.localizationProvider.doneButtonTitle)
91 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | Spacer()
93 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:92:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
90 | Text(manager.localizationProvider.doneButtonTitle)
91 | .bold()
92 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
93 | }
94 | .padding(10)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:92:21: error: 'Spacer' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
90 | Text(manager.localizationProvider.doneButtonTitle)
91 | .bold()
92 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | }
94 | .padding(10)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:88:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
86 | isPresented = false
87 | }) {
88 | HStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
89 | Spacer()
90 | Text(manager.localizationProvider.doneButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:88:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
86 | isPresented = false
87 | }) {
88 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
89 | Spacer()
90 | Text(manager.localizationProvider.doneButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:88:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
86 | isPresented = false
87 | }) {
88 | HStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
89 | Spacer()
90 | Text(manager.localizationProvider.doneButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:94:18: error: 'padding' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
92 | Spacer()
93 | }
94 | .padding(10)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | }
96 | .borderedProminent()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:97:14: error: 'padding' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
95 | }
96 | .borderedProminent()
97 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | .padding(.horizontal)
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:98:14: error: 'padding' is only available in macOS 10.15 or newer
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
69 | VStack {
:
96 | .borderedProminent()
97 | .padding()
98 | .padding(.horizontal)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:68:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private struct PermissionsSheet: ViewModifier {
| `- note: add @available attribute to enclosing struct
10 | @StateObject var manager = PermissionsManager.shared
11 | @Binding var isPresented: Bool
:
65 | .interactiveDismissDisabled(!allowSkip)
66 | }
67 | var finishedView: some View {
| `- note: add @available attribute to enclosing property
68 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
69 | VStack {
70 | Image(systemName: "checkmark.circle.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:182:58: error: cannot find 'UIApplication' in scope
180 | Text(manager.localizationProvider.cantGrantHelpText)
181 | .onTapGesture {
182 | if let url = URL(string: UIApplication.openSettingsURLString),
| `- error: cannot find 'UIApplication' in scope
183 | UIApplication.shared.canOpenURL(url) {
184 | UIApplication.shared.open(url)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:183:36: error: cannot find 'UIApplication' in scope
181 | .onTapGesture {
182 | if let url = URL(string: UIApplication.openSettingsURLString),
183 | UIApplication.shared.canOpenURL(url) {
| `- error: cannot find 'UIApplication' in scope
184 | UIApplication.shared.open(url)
185 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:184:37: error: cannot find 'UIApplication' in scope
182 | if let url = URL(string: UIApplication.openSettingsURLString),
183 | UIApplication.shared.canOpenURL(url) {
184 | UIApplication.shared.open(url)
| `- error: cannot find 'UIApplication' in scope
185 | }
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:224:9: error: 'withAnimation' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
221 | }
222 | }
223 | func changeProcessing(to newState: Bool) async {
| `- note: add @available attribute to enclosing instance method
224 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
225 | isAnimating = true
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:225:13: error: setter for 'isAnimating' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
221 | }
222 | }
223 | func changeProcessing(to newState: Bool) async {
| `- note: add @available attribute to enclosing instance method
224 | withAnimation {
225 | isAnimating = true
| |- error: setter for 'isAnimating' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
226 | }
227 | await wait(for: 0.25)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:228:9: error: 'withAnimation' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
221 | }
222 | }
223 | func changeProcessing(to newState: Bool) async {
| `- note: add @available attribute to enclosing instance method
224 | withAnimation {
225 | isAnimating = true
226 | }
227 | await wait(for: 0.25)
228 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
229 | isProcessing = newState
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:229:13: error: setter for 'isProcessing' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
221 | }
222 | }
223 | func changeProcessing(to newState: Bool) async {
| `- note: add @available attribute to enclosing instance method
224 | withAnimation {
225 | isAnimating = true
:
227 | await wait(for: 0.25)
228 | withAnimation {
229 | isProcessing = newState
| |- error: setter for 'isProcessing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
230 | }
231 | await wait(for: 0.25)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:232:9: error: 'withAnimation' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
221 | }
222 | }
223 | func changeProcessing(to newState: Bool) async {
| `- note: add @available attribute to enclosing instance method
224 | withAnimation {
225 | isAnimating = true
:
230 | }
231 | await wait(for: 0.25)
232 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
233 | isAnimating = false
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:233:13: error: setter for 'isAnimating' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
221 | }
222 | }
223 | func changeProcessing(to newState: Bool) async {
| `- note: add @available attribute to enclosing instance method
224 | withAnimation {
225 | isAnimating = true
:
231 | await wait(for: 0.25)
232 | withAnimation {
233 | isAnimating = false
| |- error: setter for 'isAnimating' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
234 | }
235 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:240:9: error: setter for 'isGranted' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
234 | }
235 | }
236 | func checkGranted(disableRepeatedAnimation: Bool = false) async {
| `- note: add @available attribute to enclosing instance method
237 | if !disableRepeatedAnimation {
238 | await changeProcessing(to: true)
239 | }
240 | isGranted = await permission.isAuthorized()
| |- error: setter for 'isGranted' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
241 | withAnimation(.bouncy(duration: 0.5, extraBounce: 0.25)) {
242 | showSkip = true
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:241:9: error: 'withAnimation' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
234 | }
235 | }
236 | func checkGranted(disableRepeatedAnimation: Bool = false) async {
| `- note: add @available attribute to enclosing instance method
237 | if !disableRepeatedAnimation {
238 | await changeProcessing(to: true)
239 | }
240 | isGranted = await permission.isAuthorized()
241 | withAnimation(.bouncy(duration: 0.5, extraBounce: 0.25)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | showSkip = true
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:241:24: error: 'bouncy(duration:extraBounce:)' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
234 | }
235 | }
236 | func checkGranted(disableRepeatedAnimation: Bool = false) async {
| `- note: add @available attribute to enclosing instance method
237 | if !disableRepeatedAnimation {
238 | await changeProcessing(to: true)
239 | }
240 | isGranted = await permission.isAuthorized()
241 | withAnimation(.bouncy(duration: 0.5, extraBounce: 0.25)) {
| |- error: 'bouncy(duration:extraBounce:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | showSkip = true
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:242:13: error: setter for 'showSkip' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
234 | }
235 | }
236 | func checkGranted(disableRepeatedAnimation: Bool = false) async {
| `- note: add @available attribute to enclosing instance method
237 | if !disableRepeatedAnimation {
238 | await changeProcessing(to: true)
:
240 | isGranted = await permission.isAuthorized()
241 | withAnimation(.bouncy(duration: 0.5, extraBounce: 0.25)) {
242 | showSkip = true
| |- error: setter for 'showSkip' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
243 | }
244 | if !disableRepeatedAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:255:9: error: 'VStack' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
256 | Image(systemName: permission.sfSymbol)
257 | .font(.system(size: 75))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:256:13: error: 'Image' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
257 | .font(.system(size: 75))
258 | .frame(height: 100)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:256:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
257 | .font(.system(size: 75))
258 | .frame(height: 100)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:257:18: error: 'font' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
257 | .font(.system(size: 75))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
258 | .frame(height: 100)
259 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:257:24: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
257 | .font(.system(size: 75))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
258 | .frame(height: 100)
259 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:258:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
257 | .font(.system(size: 75))
258 | .frame(height: 100)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
259 | .padding()
260 | Text(manager.localizationProvider.sheetHeader)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:259:18: error: 'padding' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
257 | .font(.system(size: 75))
258 | .frame(height: 100)
259 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
260 | Text(manager.localizationProvider.sheetHeader)
261 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:260:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
258 | .frame(height: 100)
259 | .padding()
260 | Text(manager.localizationProvider.sheetHeader)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
261 | .foregroundStyle(.secondary)
262 | Text(permission.localizedTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:260:13: error: 'Text' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
258 | .frame(height: 100)
259 | .padding()
260 | Text(manager.localizationProvider.sheetHeader)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
261 | .foregroundStyle(.secondary)
262 | Text(permission.localizedTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:260:13: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
258 | .frame(height: 100)
259 | .padding()
260 | Text(manager.localizationProvider.sheetHeader)
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
261 | .foregroundStyle(.secondary)
262 | Text(permission.localizedTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:261:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
259 | .padding()
260 | Text(manager.localizationProvider.sheetHeader)
261 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
262 | Text(permission.localizedTitle)
263 | .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:261:35: error: 'secondary' is only available in macOS 12.0 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
259 | .padding()
260 | Text(manager.localizationProvider.sheetHeader)
261 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
262 | Text(permission.localizedTitle)
263 | .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:262:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
260 | Text(manager.localizationProvider.sheetHeader)
261 | .foregroundStyle(.secondary)
262 | Text(permission.localizedTitle)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
263 | .font(.title)
264 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:262:13: error: 'Text' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
260 | Text(manager.localizationProvider.sheetHeader)
261 | .foregroundStyle(.secondary)
262 | Text(permission.localizedTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
263 | .font(.title)
264 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:262:13: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
260 | Text(manager.localizationProvider.sheetHeader)
261 | .foregroundStyle(.secondary)
262 | Text(permission.localizedTitle)
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
263 | .font(.title)
264 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:263:18: error: 'font' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
261 | .foregroundStyle(.secondary)
262 | Text(permission.localizedTitle)
263 | .font(.title)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
264 | .bold()
265 | if showGranted {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:263:24: error: 'title' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
261 | .foregroundStyle(.secondary)
262 | Text(permission.localizedTitle)
263 | .font(.title)
| |- error: 'title' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
264 | .bold()
265 | if showGranted {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:264:18: error: 'bold()' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
262 | Text(permission.localizedTitle)
263 | .font(.title)
264 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
265 | if showGranted {
266 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:266:17: error: 'HStack' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
264 | .bold()
265 | if showGranted {
266 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | Image(systemName: isGranted ? "checkmark.circle.fill" : "xmark.circle.fill")
268 | .font(.system(size: 17.5))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:267:21: error: 'Image' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
265 | if showGranted {
266 | HStack {
267 | Image(systemName: isGranted ? "checkmark.circle.fill" : "xmark.circle.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
268 | .font(.system(size: 17.5))
269 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:267:21: error: 'init(systemName:)' is only available in macOS 11.0 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
265 | if showGranted {
266 | HStack {
267 | Image(systemName: isGranted ? "checkmark.circle.fill" : "xmark.circle.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
268 | .font(.system(size: 17.5))
269 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:268:26: error: 'font' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
266 | HStack {
267 | Image(systemName: isGranted ? "checkmark.circle.fill" : "xmark.circle.fill")
268 | .font(.system(size: 17.5))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
269 |
270 | Text(isGranted ? manager.localizationProvider.grantedTitle : manager.localizationProvider.notGrantedTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:268:32: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
266 | HStack {
267 | Image(systemName: isGranted ? "checkmark.circle.fill" : "xmark.circle.fill")
268 | .font(.system(size: 17.5))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
269 |
270 | Text(isGranted ? manager.localizationProvider.grantedTitle : manager.localizationProvider.notGrantedTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:270:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
268 | .font(.system(size: 17.5))
269 |
270 | Text(isGranted ? manager.localizationProvider.grantedTitle : manager.localizationProvider.notGrantedTitle)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
271 | .bold()
272 | .font(.system(size: 20))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:270:21: error: 'Text' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
268 | .font(.system(size: 17.5))
269 |
270 | Text(isGranted ? manager.localizationProvider.grantedTitle : manager.localizationProvider.notGrantedTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
271 | .bold()
272 | .font(.system(size: 20))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:270:21: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
268 | .font(.system(size: 17.5))
269 |
270 | Text(isGranted ? manager.localizationProvider.grantedTitle : manager.localizationProvider.notGrantedTitle)
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
271 | .bold()
272 | .font(.system(size: 20))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:271:26: error: 'bold()' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
269 |
270 | Text(isGranted ? manager.localizationProvider.grantedTitle : manager.localizationProvider.notGrantedTitle)
271 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
272 | .font(.system(size: 20))
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:272:26: error: 'font' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
270 | Text(isGranted ? manager.localizationProvider.grantedTitle : manager.localizationProvider.notGrantedTitle)
271 | .bold()
272 | .font(.system(size: 20))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
273 | }
274 | .foregroundStyle(isGranted ? .green : .red)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:272:32: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
270 | Text(isGranted ? manager.localizationProvider.grantedTitle : manager.localizationProvider.notGrantedTitle)
271 | .bold()
272 | .font(.system(size: 20))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
273 | }
274 | .foregroundStyle(isGranted ? .green : .red)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:266:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
264 | .bold()
265 | if showGranted {
266 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
267 | Image(systemName: isGranted ? "checkmark.circle.fill" : "xmark.circle.fill")
268 | .font(.system(size: 17.5))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:274:18: error: 'foregroundStyle' is only available in macOS 12.0 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
272 | .font(.system(size: 20))
273 | }
274 | .foregroundStyle(isGranted ? .green : .red)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:274:47: error: 'green' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
272 | .font(.system(size: 20))
273 | }
274 | .foregroundStyle(isGranted ? .green : .red)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:274:56: error: 'red' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
272 | .font(.system(size: 20))
273 | }
274 | .foregroundStyle(isGranted ? .green : .red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:265:28: error: 'buildIf' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
263 | .font(.title)
264 | .bold()
265 | if showGranted {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
266 | HStack {
267 | Image(systemName: isGranted ? "checkmark.circle.fill" : "xmark.circle.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:275:13: error: 'buildIf' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
273 | }
274 | .foregroundStyle(isGranted ? .green : .red)
275 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
276 | }
277 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:255:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
256 | Image(systemName: permission.sfSymbol)
257 | .font(.system(size: 75))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:255:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
256 | Image(systemName: permission.sfSymbol)
257 | .font(.system(size: 75))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:255:29: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
256 | Image(systemName: permission.sfSymbol)
257 | .font(.system(size: 75))
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:277:10: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
275 | }
276 | }
277 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
278 | .padding(.vertical, 50)
279 | .frame(maxWidth: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:278:10: error: 'padding' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
276 | }
277 | .multilineTextAlignment(.center)
278 | .padding(.vertical, 50)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
279 | .frame(maxWidth: .infinity)
280 | .contentShape(.rect)
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:279:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
277 | .multilineTextAlignment(.center)
278 | .padding(.vertical, 50)
279 | .frame(maxWidth: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
280 | .contentShape(.rect)
281 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:280:10: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
278 | .padding(.vertical, 50)
279 | .frame(maxWidth: .infinity)
280 | .contentShape(.rect)
| |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
281 | }
282 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:280:24: error: 'rect' is only available in macOS 10.15 or newer
101 | }
102 |
103 | private struct PermissionView: View {
| `- note: add @available attribute to enclosing struct
104 | @StateObject var manager = PermissionsManager.shared
105 | @State var isGranted = false
:
252 | await changeProcessing(to: false)
253 | }
254 | func header(_ showGranted: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
255 | VStack(spacing: 10) {
256 | Image(systemName: permission.sfSymbol)
:
278 | .padding(.vertical, 50)
279 | .frame(maxWidth: .infinity)
280 | .contentShape(.rect)
| |- error: 'rect' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
281 | }
282 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:285:16: error: 'Task' is only available in macOS 10.15 or newer
282 | }
283 |
284 | fileprivate func wait(for seconds: TimeInterval) async {
| `- note: add @available attribute to enclosing global function
285 | try? await Task.sleep(nanoseconds: .seconds(seconds))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
286 | }
287 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:285:21: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
282 | }
283 |
284 | fileprivate func wait(for seconds: TimeInterval) async {
| `- note: add @available attribute to enclosing global function
285 | try? await Task.sleep(nanoseconds: .seconds(seconds))
| |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
286 | }
287 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:298:31: error: reference to member 'glassProminent' cannot be resolved without a contextual type
296 | if #available(iOS 26.0, *) {
297 | return self
298 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
299 | } else {
300 | return self
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:306:48: error: 'contentTransition' is only available in macOS 13.0 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
302 | }
303 | }
304 | func contentTransition() -> some View {
| `- note: add @available attribute to enclosing instance method
305 | if #available(iOS 16.0, *) {
306 | return self .contentTransition(.numericText(countsDown: false))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
307 | } else {
308 | return self
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:313:16: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
312 | Group {
313 | if #available(iOS 16.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
314 | self
315 | .sheet(isPresented: isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:312:9: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| `- note: add @available attribute to enclosing instance method
312 | Group {
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
313 | if #available(iOS 16.0, *) {
314 | self
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:312:9: error: 'Group' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| `- note: add @available attribute to enclosing instance method
312 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
313 | if #available(iOS 16.0, *) {
314 | self
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:312:9: error: 'init(content:)' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| `- note: add @available attribute to enclosing instance method
312 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
313 | if #available(iOS 16.0, *) {
314 | self
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:315:22: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| `- note: add @available attribute to enclosing instance method
312 | Group {
313 | if #available(iOS 16.0, *) {
314 | self
315 | .sheet(isPresented: isPresented) {
| |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
316 | content()
317 | .presentationDetents([.large, .fraction(0.75)])
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:317:30: error: 'presentationDetents' is only available in macOS 13.0 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| `- note: add @available attribute to enclosing instance method
312 | Group {
313 | if #available(iOS 16.0, *) {
:
315 | .sheet(isPresented: isPresented) {
316 | content()
317 | .presentationDetents([.large, .fraction(0.75)])
| |- error: 'presentationDetents' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
318 | .presentationDragIndicator(.visible)
319 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:318:30: error: 'presentationDragIndicator' is only available in macOS 13.0 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| `- note: add @available attribute to enclosing instance method
312 | Group {
313 | if #available(iOS 16.0, *) {
:
316 | content()
317 | .presentationDetents([.large, .fraction(0.75)])
318 | .presentationDragIndicator(.visible)
| |- error: 'presentationDragIndicator' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
319 | }
320 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:313:40: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| `- note: add @available attribute to enclosing instance method
312 | Group {
313 | if #available(iOS 16.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
314 | self
315 | .sheet(isPresented: isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:313:40: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| `- note: add @available attribute to enclosing instance method
312 | Group {
313 | if #available(iOS 16.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
314 | self
315 | .sheet(isPresented: isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:322:22: error: 'fullScreenCover(isPresented:onDismiss:content:)' is unavailable in macOS
320 | } else {
321 | self
322 | .fullScreenCover(isPresented: isPresented) {
| `- error: 'fullScreenCover(isPresented:onDismiss:content:)' is unavailable in macOS
323 | content()
324 | }
SwiftUI.View.fullScreenCover:2:25: note: 'fullScreenCover(isPresented:onDismiss:content:)' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func fullScreenCover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View
| `- note: 'fullScreenCover(isPresented:onDismiss:content:)' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:320:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| `- note: add @available attribute to enclosing instance method
312 | Group {
313 | if #available(iOS 16.0, *) {
:
318 | .presentationDragIndicator(.visible)
319 | }
320 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
321 | self
322 | .fullScreenCover(isPresented: isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:312:15: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
292 | }
293 |
294 | fileprivate extension View {
| `- note: add @available attribute to enclosing extension
295 | func borderedProminent() -> some View {
296 | if #available(iOS 26.0, *) {
:
309 | }
310 | }
311 | func helpOverlayView<Content: View>(isPresented: Binding<Bool>, content: @escaping () -> Content) -> some View {
| `- note: add @available attribute to enclosing instance method
312 | Group {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
313 | if #available(iOS 16.0, *) {
314 | self
BUILD FAILURE 6.1 macosSpm