Build Information
Failed to build Permissions, reference 1.2.0 (5e4010), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 08:29:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
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:18: error: 'buttonStyle' 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 {
| `- note: add '@available' attribute to enclosing instance method
296 | if #available(iOS 26.0, *) {
297 | return self
298 | .buttonStyle(.glassProminent)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
299 | } else {
300 | return self
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions-SwiftUI.swift:298:31: error: 'glassProminent' is only available in macOS 26.0 or newer
292 | }
293 |
294 | fileprivate extension View {
| `- note: add '@available' attribute to enclosing extension
295 | func borderedProminent() -> some View {
| `- note: add '@available' attribute to enclosing instance method
296 | if #available(iOS 26.0, *) {
297 | return self
298 | .buttonStyle(.glassProminent)
| |- error: 'glassProminent' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
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 [#ResultBuilderMethods]
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 [#ResultBuilderMethods]
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
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
[5/5] Compiling Permissions Permissions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:12:58: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | 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
13 | /// A Descriptive Text explaining the user what the given Permission grants your App access to
14 | func makeLocalizedDescription(for type: PermissionType) -> LocalizedStringKey
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:14:64: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
13 | /// A Descriptive Text explaining the user what the given Permission grants your App access to
14 | 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
15 | /// The header to display on top of Permissions in the Permission Sheet, Default: "This App Requires Access to"
16 | var sheetHeader: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:16:22: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
14 | func makeLocalizedDescription(for type: PermissionType) -> LocalizedStringKey
15 | /// The header to display on top of Permissions in the Permission Sheet, Default: "This App Requires Access to"
16 | var sheetHeader: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | /// The Title to display when setup has completed in the Permission Sheet, Default: "All Set!"
18 | var allSetTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:18:22: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
16 | var sheetHeader: LocalizedStringKey { get }
17 | /// The Title to display when setup has completed in the Permission Sheet, Default: "All Set!"
18 | var allSetTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
19 | /// The Description to display when setup has completed in the Permission Sheet, Default: "Tap Done below to start using this App"
20 | var allSetDescription: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:20:28: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
18 | var allSetTitle: LocalizedStringKey { get }
19 | /// The Description to display when setup has completed in the Permission Sheet, Default: "Tap Done below to start using this App"
20 | var allSetDescription: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
21 | /// The Text to Display when a Permission is granted
22 | var grantedTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:22:23: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
20 | var allSetDescription: LocalizedStringKey { get }
21 | /// The Text to Display when a Permission is granted
22 | var grantedTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
23 | /// The Text to Display when a Permission is not granted
24 | var notGrantedTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:24:26: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
22 | var grantedTitle: LocalizedStringKey { get }
23 | /// The Text to Display when a Permission is not granted
24 | var notGrantedTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
25 | /// The Grant Buttons Title
26 | var grantButtonTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:26:27: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
24 | var notGrantedTitle: LocalizedStringKey { get }
25 | /// The Grant Buttons Title
26 | var grantButtonTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
27 | /// The Continue Buttons Title
28 | var continueButtonTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:28:30: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
26 | var grantButtonTitle: LocalizedStringKey { get }
27 | /// The Continue Buttons Title
28 | var continueButtonTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
29 | /// The Done Buttons Title
30 | var doneButtonTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:30:26: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
28 | var continueButtonTitle: LocalizedStringKey { get }
29 | /// The Done Buttons Title
30 | var doneButtonTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
31 | /// The Text to display while waiting
32 | var waitingTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:32:23: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
30 | var doneButtonTitle: LocalizedStringKey { get }
31 | /// The Text to display while waiting
32 | var waitingTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
33 | /// The "Tap Here to Skip" Buttons Title, its displayed below the skipNoticeText
34 | var tapHereToSkipButtonTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:34:35: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
32 | var waitingTitle: LocalizedStringKey { get }
33 | /// The "Tap Here to Skip" Buttons Title, its displayed below the skipNoticeText
34 | var tapHereToSkipButtonTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
35 | /// The Skip Notice, by default: "If you do not want to grant this Permission, you can"
36 | var skipNoticeText: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:36:25: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
34 | var tapHereToSkipButtonTitle: LocalizedStringKey { get }
35 | /// The Skip Notice, by default: "If you do not want to grant this Permission, you can"
36 | var skipNoticeText: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
37 | /// The "Help" Sheet Title Header
38 | var helpNavigationTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:38:30: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
36 | var skipNoticeText: LocalizedStringKey { get }
37 | /// The "Help" Sheet Title Header
38 | var helpNavigationTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
39 | /// The "What does this Permission do?" Title of the Section in the Help Sheet
40 | var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:40:47: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
38 | var helpNavigationTitle: LocalizedStringKey { get }
39 | /// The "What does this Permission do?" Title of the Section in the Help Sheet
40 | var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
41 | /// The "Permissions" Title shown in the Sheet
42 | var permissionsTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:42:27: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
40 | var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey { get }
41 | /// The "Permissions" Title shown in the Sheet
42 | var permissionsTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
43 | /// The "I can't grant this Permission!" Title shown in the Sheet
44 | var cantGrantSectionTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:44:32: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
42 | var permissionsTitle: LocalizedStringKey { get }
43 | /// The "I can't grant this Permission!" Title shown in the Sheet
44 | var cantGrantSectionTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
45 | /// The Help Text for the cantGrantSectionTitle Section, by default:
46 | var cantGrantHelpText: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:46:28: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
44 | var cantGrantSectionTitle: LocalizedStringKey { get }
45 | /// The Help Text for the cantGrantSectionTitle Section, by default:
46 | var cantGrantHelpText: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
47 | /// The "Need Help?" Buttons Title
48 | var needHelpButtonTitle: LocalizedStringKey { get }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:48:30: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | public protocol PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing protocol
11 | /// A Short Title for the Permission, e.g. "Microphone"
12 | func makeLocalizedTitle(for type: PermissionType) -> LocalizedStringKey
:
46 | var cantGrantHelpText: LocalizedStringKey { get }
47 | /// The "Need Help?" Buttons Title
48 | var needHelpButtonTitle: LocalizedStringKey { get }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:52:25: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
49 | }
50 |
51 | public extension PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing extension
52 | var skipNoticeText: LocalizedStringKey { DefaultPermissionsLocalizationProvider.defaultProvider.skipNoticeText }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
53 | var tapHereToSkipButtonTitle: LocalizedStringKey { DefaultPermissionsLocalizationProvider.defaultProvider.tapHereToSkipButtonTitle }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:53:35: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
49 | }
50 |
51 | public extension PermissionsLocalizationProvider {
| `- note: add '@available' attribute to enclosing extension
52 | var skipNoticeText: LocalizedStringKey { DefaultPermissionsLocalizationProvider.defaultProvider.skipNoticeText }
53 | var tapHereToSkipButtonTitle: LocalizedStringKey { DefaultPermissionsLocalizationProvider.defaultProvider.tapHereToSkipButtonTitle }
| | `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:61:37: 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?"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
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"
63 | public var cantGrantSectionTitle: LocalizedStringKey = "I can't grant this Permission!"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:61:58: 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?"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
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"
63 | public var cantGrantSectionTitle: LocalizedStringKey = "I can't grant this Permission!"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:62:35: 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"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
63 | public var cantGrantSectionTitle: LocalizedStringKey = "I can't grant this Permission!"
64 | public var permissionsTitle: LocalizedStringKey = "Permissions"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:62: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"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
63 | public var cantGrantSectionTitle: LocalizedStringKey = "I can't grant this Permission!"
64 | public var permissionsTitle: LocalizedStringKey = "Permissions"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:63:39: 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"
63 | public var cantGrantSectionTitle: LocalizedStringKey = "I can't grant this Permission!"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
64 | public var permissionsTitle: LocalizedStringKey = "Permissions"
65 | public var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey = "What does this Permission do?"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:63:60: 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"
63 | public var cantGrantSectionTitle: LocalizedStringKey = "I can't grant this Permission!"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
64 | public var permissionsTitle: LocalizedStringKey = "Permissions"
65 | public var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey = "What does this Permission do?"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:64:34: 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"
63 | public var cantGrantSectionTitle: LocalizedStringKey = "I can't grant this Permission!"
64 | public var permissionsTitle: LocalizedStringKey = "Permissions"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
65 | public var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey = "What does this Permission do?"
66 | public var helpNavigationTitle: LocalizedStringKey = "Help"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:64:55: 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"
63 | public var cantGrantSectionTitle: LocalizedStringKey = "I can't grant this Permission!"
64 | public var permissionsTitle: LocalizedStringKey = "Permissions"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
65 | public var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey = "What does this Permission do?"
66 | public var helpNavigationTitle: LocalizedStringKey = "Help"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:65:54: 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"
63 | public var cantGrantSectionTitle: LocalizedStringKey = "I can't grant this Permission!"
64 | public var permissionsTitle: LocalizedStringKey = "Permissions"
65 | public var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey = "What does this Permission do?"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
66 | public var helpNavigationTitle: LocalizedStringKey = "Help"
67 | public var tapHereToSkipButtonTitle: LocalizedStringKey = "Tap here to Skip"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:65:75: 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"
63 | public var cantGrantSectionTitle: LocalizedStringKey = "I can't grant this Permission!"
64 | public var permissionsTitle: LocalizedStringKey = "Permissions"
65 | public var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey = "What does this Permission do?"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
66 | public var helpNavigationTitle: LocalizedStringKey = "Help"
67 | public var tapHereToSkipButtonTitle: LocalizedStringKey = "Tap here to Skip"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:66:37: 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"
:
64 | public var permissionsTitle: LocalizedStringKey = "Permissions"
65 | public var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey = "What does this Permission do?"
66 | public var helpNavigationTitle: LocalizedStringKey = "Help"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
67 | public var tapHereToSkipButtonTitle: LocalizedStringKey = "Tap here to Skip"
68 | public var skipNoticeText: LocalizedStringKey = "If you do not want to grant this Permission, you can"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:66:58: 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"
:
64 | public var permissionsTitle: LocalizedStringKey = "Permissions"
65 | public var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey = "What does this Permission do?"
66 | public var helpNavigationTitle: LocalizedStringKey = "Help"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
67 | public var tapHereToSkipButtonTitle: LocalizedStringKey = "Tap here to Skip"
68 | public var skipNoticeText: LocalizedStringKey = "If you do not want to grant this Permission, you can"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:67:42: 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"
:
65 | public var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey = "What does this Permission do?"
66 | public var helpNavigationTitle: LocalizedStringKey = "Help"
67 | public var tapHereToSkipButtonTitle: LocalizedStringKey = "Tap here to Skip"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
68 | public var skipNoticeText: LocalizedStringKey = "If you do not want to grant this Permission, you can"
69 | public var grantButtonTitle: LocalizedStringKey = "Grant"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:67:63: 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"
:
65 | public var whatDoesThisPermissionDoSectionTitle: LocalizedStringKey = "What does this Permission do?"
66 | public var helpNavigationTitle: LocalizedStringKey = "Help"
67 | public var tapHereToSkipButtonTitle: LocalizedStringKey = "Tap here to Skip"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
68 | public var skipNoticeText: LocalizedStringKey = "If you do not want to grant this Permission, you can"
69 | public var grantButtonTitle: LocalizedStringKey = "Grant"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:68:32: 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"
:
66 | public var helpNavigationTitle: LocalizedStringKey = "Help"
67 | public var tapHereToSkipButtonTitle: LocalizedStringKey = "Tap here to Skip"
68 | public var skipNoticeText: LocalizedStringKey = "If you do not want to grant this Permission, you can"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
69 | public var grantButtonTitle: LocalizedStringKey = "Grant"
70 | public var continueButtonTitle: LocalizedStringKey = "Continue"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:68:53: 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"
:
66 | public var helpNavigationTitle: LocalizedStringKey = "Help"
67 | public var tapHereToSkipButtonTitle: LocalizedStringKey = "Tap here to Skip"
68 | public var skipNoticeText: LocalizedStringKey = "If you do not want to grant this Permission, you can"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
69 | public var grantButtonTitle: LocalizedStringKey = "Grant"
70 | public var continueButtonTitle: LocalizedStringKey = "Continue"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:69:34: 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"
:
67 | public var tapHereToSkipButtonTitle: LocalizedStringKey = "Tap here to Skip"
68 | public var skipNoticeText: LocalizedStringKey = "If you do not want to grant this Permission, you can"
69 | public var grantButtonTitle: LocalizedStringKey = "Grant"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
70 | public var continueButtonTitle: LocalizedStringKey = "Continue"
71 | public var doneButtonTitle: LocalizedStringKey = "Done"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:69:55: 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"
:
67 | public var tapHereToSkipButtonTitle: LocalizedStringKey = "Tap here to Skip"
68 | public var skipNoticeText: LocalizedStringKey = "If you do not want to grant this Permission, you can"
69 | public var grantButtonTitle: LocalizedStringKey = "Grant"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
70 | public var continueButtonTitle: LocalizedStringKey = "Continue"
71 | public var doneButtonTitle: LocalizedStringKey = "Done"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:70:37: 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"
:
68 | public var skipNoticeText: LocalizedStringKey = "If you do not want to grant this Permission, you can"
69 | public var grantButtonTitle: LocalizedStringKey = "Grant"
70 | public var continueButtonTitle: LocalizedStringKey = "Continue"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
71 | public var doneButtonTitle: LocalizedStringKey = "Done"
72 | public var waitingTitle: LocalizedStringKey = "Waiting"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:70:58: 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"
:
68 | public var skipNoticeText: LocalizedStringKey = "If you do not want to grant this Permission, you can"
69 | public var grantButtonTitle: LocalizedStringKey = "Grant"
70 | public var continueButtonTitle: LocalizedStringKey = "Continue"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
71 | public var doneButtonTitle: LocalizedStringKey = "Done"
72 | public var waitingTitle: LocalizedStringKey = "Waiting"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:71:33: 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"
:
69 | public var grantButtonTitle: LocalizedStringKey = "Grant"
70 | public var continueButtonTitle: LocalizedStringKey = "Continue"
71 | public var doneButtonTitle: LocalizedStringKey = "Done"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
72 | public var waitingTitle: LocalizedStringKey = "Waiting"
73 | public var grantedTitle: LocalizedStringKey = "Granted"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:71:54: 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"
:
69 | public var grantButtonTitle: LocalizedStringKey = "Grant"
70 | public var continueButtonTitle: LocalizedStringKey = "Continue"
71 | public var doneButtonTitle: LocalizedStringKey = "Done"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
72 | public var waitingTitle: LocalizedStringKey = "Waiting"
73 | public var grantedTitle: LocalizedStringKey = "Granted"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:72:30: 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"
:
70 | public var continueButtonTitle: LocalizedStringKey = "Continue"
71 | public var doneButtonTitle: LocalizedStringKey = "Done"
72 | public var waitingTitle: LocalizedStringKey = "Waiting"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
73 | public var grantedTitle: LocalizedStringKey = "Granted"
74 | public var notGrantedTitle: LocalizedStringKey = "Not Granted"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:72:51: 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"
:
70 | public var continueButtonTitle: LocalizedStringKey = "Continue"
71 | public var doneButtonTitle: LocalizedStringKey = "Done"
72 | public var waitingTitle: LocalizedStringKey = "Waiting"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
73 | public var grantedTitle: LocalizedStringKey = "Granted"
74 | public var notGrantedTitle: LocalizedStringKey = "Not Granted"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:73:30: 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"
:
71 | public var doneButtonTitle: LocalizedStringKey = "Done"
72 | public var waitingTitle: LocalizedStringKey = "Waiting"
73 | public var grantedTitle: LocalizedStringKey = "Granted"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
74 | public var notGrantedTitle: LocalizedStringKey = "Not Granted"
75 | public var allSetDescription: LocalizedStringKey = "Tap Done below to start using this App"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:73:51: 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"
:
71 | public var doneButtonTitle: LocalizedStringKey = "Done"
72 | public var waitingTitle: LocalizedStringKey = "Waiting"
73 | public var grantedTitle: LocalizedStringKey = "Granted"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
74 | public var notGrantedTitle: LocalizedStringKey = "Not Granted"
75 | public var allSetDescription: LocalizedStringKey = "Tap Done below to start using this App"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:74:33: 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"
:
72 | public var waitingTitle: LocalizedStringKey = "Waiting"
73 | public var grantedTitle: LocalizedStringKey = "Granted"
74 | public var notGrantedTitle: LocalizedStringKey = "Not Granted"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
75 | public var allSetDescription: LocalizedStringKey = "Tap Done below to start using this App"
76 | public var allSetTitle: LocalizedStringKey = "All Set!"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:74:54: 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"
:
72 | public var waitingTitle: LocalizedStringKey = "Waiting"
73 | public var grantedTitle: LocalizedStringKey = "Granted"
74 | public var notGrantedTitle: LocalizedStringKey = "Not Granted"
| `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
75 | public var allSetDescription: LocalizedStringKey = "Tap Done below to start using this App"
76 | public var allSetTitle: LocalizedStringKey = "All Set!"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:75:35: 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: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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:80:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
78 | return switch type {
79 | case .camera:
80 | "Camera"
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | case .microphone:
82 | "Microphone"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:82:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
78 | return switch type {
79 | case .camera:
80 | "Camera"
81 | case .microphone:
82 | "Microphone"
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | case .locationWhenInUse:
84 | "Location while in Use"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:84:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
78 | return switch type {
79 | case .camera:
:
82 | "Microphone"
83 | case .locationWhenInUse:
84 | "Location while in Use"
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | case .locationAlways:
86 | "Location at all Times"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:86:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
78 | return switch type {
79 | case .camera:
:
84 | "Location while in Use"
85 | case .locationAlways:
86 | "Location at all Times"
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | case .notifications:
88 | "Notifications"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:88:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
78 | return switch type {
79 | case .camera:
:
86 | "Location at all Times"
87 | case .notifications:
88 | "Notifications"
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | case .photoLibrary:
90 | "Photo Library"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:90:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
78 | return switch type {
79 | case .camera:
:
88 | "Notifications"
89 | case .photoLibrary:
90 | "Photo Library"
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | case .contacts:
92 | "Contacts"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:92:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
78 | return switch type {
79 | case .camera:
:
90 | "Photo Library"
91 | case .contacts:
92 | "Contacts"
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | case .bluetooth:
94 | "Bluetooth"
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:94:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
78 | return switch type {
79 | case .camera:
:
92 | "Contacts"
93 | case .bluetooth:
94 | "Bluetooth"
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:100:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
98 | return switch type {
99 | case .camera:
100 | "The \"Camera\" permission allows this app to access your camera to take photos or record videos.\n\nExample: A camera app that lets you capture photos and videos directly within the app."
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | case .microphone:
102 | "The \"Microphone\" permission allows this app to access your microphone to record audio.\n\nExample: A voice memos app that lets you record audio notes."
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:102:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
98 | return switch type {
99 | case .camera:
100 | "The \"Camera\" permission allows this app to access your camera to take photos or record videos.\n\nExample: A camera app that lets you capture photos and videos directly within the app."
101 | case .microphone:
102 | "The \"Microphone\" permission allows this app to access your microphone to record audio.\n\nExample: A voice memos app that lets you record audio notes."
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | case .locationWhenInUse:
104 | "The \"Location While in Use\" permission allows this app to access your location only while you are actively using it.\n\nExample: A weather app that shows your current weather based on your precise location while the app is open."
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:104:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
98 | return switch type {
99 | case .camera:
:
102 | "The \"Microphone\" permission allows this app to access your microphone to record audio.\n\nExample: A voice memos app that lets you record audio notes."
103 | case .locationWhenInUse:
104 | "The \"Location While in Use\" permission allows this app to access your location only while you are actively using it.\n\nExample: A weather app that shows your current weather based on your precise location while the app is open."
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | case .locationAlways:
106 | "The \"Location Always\" permission allows this app to access your location even when it is running in the background.\n\nExample: A navigation app that provides turn-by-turn directions even when you switch to another app."
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:106:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
98 | return switch type {
99 | case .camera:
:
104 | "The \"Location While in Use\" permission allows this app to access your location only while you are actively using it.\n\nExample: A weather app that shows your current weather based on your precise location while the app is open."
105 | case .locationAlways:
106 | "The \"Location Always\" permission allows this app to access your location even when it is running in the background.\n\nExample: A navigation app that provides turn-by-turn directions even when you switch to another app."
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | case .notifications:
108 | "The \"Notifications\" permission allows this app to send you alerts and updates.\n\nExample: A messaging app that notifies you of new messages in your chats."
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:108:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
98 | return switch type {
99 | case .camera:
:
106 | "The \"Location Always\" permission allows this app to access your location even when it is running in the background.\n\nExample: A navigation app that provides turn-by-turn directions even when you switch to another app."
107 | case .notifications:
108 | "The \"Notifications\" permission allows this app to send you alerts and updates.\n\nExample: A messaging app that notifies you of new messages in your chats."
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | case .photoLibrary:
110 | "The \"Photo Library\" permission allows this app to access and modify your photos.\n\nExample: A photo viewer app that lets you browse, edit, and organize your photos."
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:110:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
98 | return switch type {
99 | case .camera:
:
108 | "The \"Notifications\" permission allows this app to send you alerts and updates.\n\nExample: A messaging app that notifies you of new messages in your chats."
109 | case .photoLibrary:
110 | "The \"Photo Library\" permission allows this app to access and modify your photos.\n\nExample: A photo viewer app that lets you browse, edit, and organize your photos."
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
111 | case .contacts:
112 | "The \"Contacts\" permission allows this app to access your contacts.\n\nExample: A messaging app that helps you find friends and connect with people in your contact list."
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:112:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
98 | return switch type {
99 | case .camera:
:
110 | "The \"Photo Library\" permission allows this app to access and modify your photos.\n\nExample: A photo viewer app that lets you browse, edit, and organize your photos."
111 | case .contacts:
112 | "The \"Contacts\" permission allows this app to access your contacts.\n\nExample: A messaging app that helps you find friends and connect with people in your contact list."
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | case .bluetooth:
114 | "The \"Bluetooth\" permission allows this app to connect to nearby devices using Bluetooth.\n\nExample: A fitness app that syncs data with a Bluetooth heart rate monitor."
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:114:17: 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 {
| `- note: add '@available' attribute to enclosing instance method
98 | return switch type {
99 | case .camera:
:
112 | "The \"Contacts\" permission allows this app to access your contacts.\n\nExample: A messaging app that helps you find friends and connect with people in your contact list."
113 | case .bluetooth:
114 | "The \"Bluetooth\" permission allows this app to connect to nearby devices using Bluetooth.\n\nExample: A fitness app that syncs data with a Bluetooth heart rate monitor."
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:172:43: error: 'requestAccess(for:)' is only available in macOS 10.14 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 |
:
164 | }
165 |
166 | public func request() async {
| `- note: add '@available' attribute to enclosing instance method
167 | guard self.hasRequiredInfoPlistKey() else {
168 | return
:
170 | switch self {
171 | case .camera:
172 | _ = await AVCaptureDevice.requestAccess(for: .video)
| |- error: 'requestAccess(for:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
173 |
174 | case .microphone:
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:175:43: error: 'requestAccess(for:)' is only available in macOS 10.14 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 |
:
164 | }
165 |
166 | public func request() async {
| `- note: add '@available' attribute to enclosing instance method
167 | guard self.hasRequiredInfoPlistKey() else {
168 | return
:
173 |
174 | case .microphone:
175 | _ = await AVCaptureDevice.requestAccess(for: .audio)
| |- error: 'requestAccess(for:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
176 |
177 | case .locationWhenInUse:
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:181:32: error: 'UNUserNotificationCenter' is only available in macOS 10.14 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 |
:
164 | }
165 |
166 | public func request() async {
| `- note: add '@available' attribute to enclosing instance method
167 | guard self.hasRequiredInfoPlistKey() else {
168 | return
:
179 |
180 | case .notifications:
181 | _ = try? await UNUserNotificationCenter.current()
| |- error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
182 | .requestAuthorization(options: [.alert, .sound, .badge])
183 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:185:42: error: 'requestAuthorization(for:)' is only available in macOS 11 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 |
:
164 | }
165 |
166 | public func request() async {
| `- note: add '@available' attribute to enclosing instance method
167 | guard self.hasRequiredInfoPlistKey() else {
168 | return
:
183 |
184 | case .photoLibrary:
185 | _ = await PHPhotoLibrary.requestAuthorization(for: .readWrite)
| |- error: 'requestAuthorization(for:)' is only available in macOS 11 or newer
| `- note: add 'if #available' version check
186 |
187 | case .locationAlways:
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:201:40: error: 'authorizationStatus(for:)' is only available in macOS 10.14 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 |
:
196 | }
197 |
198 | public func isAuthorized() async -> Bool {
| `- note: add '@available' attribute to enclosing instance method
199 | switch self {
200 | case .camera:
201 | return AVCaptureDevice.authorizationStatus(for: .video) == .authorized
| |- error: 'authorizationStatus(for:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
202 |
203 | case .microphone:
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:204:40: error: 'authorizationStatus(for:)' is only available in macOS 10.14 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 |
:
196 | }
197 |
198 | public func isAuthorized() async -> Bool {
| `- note: add '@available' attribute to enclosing instance method
199 | switch self {
200 | case .camera:
:
202 |
203 | case .microphone:
204 | return AVCaptureDevice.authorizationStatus(for: .audio) == .authorized
| |- error: 'authorizationStatus(for:)' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
205 |
206 | case .locationWhenInUse:
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:207:50: error: 'authorizationStatus' is only available in macOS 11.0 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 |
:
196 | }
197 |
198 | public func isAuthorized() async -> Bool {
| `- note: add '@available' attribute to enclosing instance method
199 | switch self {
200 | case .camera:
:
205 |
206 | case .locationWhenInUse:
207 | let status = CLLocationManager().authorizationStatus
| |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
208 | return status == .authorizedWhenInUse || status == .authorizedAlways
209 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:208:35: error: 'authorizedWhenInUse' is unavailable in macOS
206 | case .locationWhenInUse:
207 | let status = CLLocationManager().authorizationStatus
208 | return status == .authorizedWhenInUse || status == .authorizedAlways
| `- error: 'authorizedWhenInUse' is unavailable in macOS
209 |
210 | case .locationAlways:
CoreLocation.CLAuthorizationStatus.authorizedWhenInUse:3:8: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
1 | enum CLAuthorizationStatus {
2 | @available(macOS, unavailable)
3 | case authorizedWhenInUse}
| `- note: 'authorizedWhenInUse' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:211:50: error: 'authorizationStatus' is only available in macOS 11.0 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 |
:
196 | }
197 |
198 | public func isAuthorized() async -> Bool {
| `- note: add '@available' attribute to enclosing instance method
199 | switch self {
200 | case .camera:
:
209 |
210 | case .locationAlways:
211 | let status = CLLocationManager().authorizationStatus
| |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
212 | return status == .authorizedAlways
213 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:215:38: error: 'UNUserNotificationCenter' is only available in macOS 10.14 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 |
:
196 | }
197 |
198 | public func isAuthorized() async -> Bool {
| `- note: add '@available' attribute to enclosing instance method
199 | switch self {
200 | case .camera:
:
213 |
214 | case .notifications:
215 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| |- error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
216 | return settings.authorizationStatus == .authorized || settings.authorizationStatus == .provisional
217 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:216:104: error: 'provisional' is only available in macOS 10.14 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 |
:
196 | }
197 |
198 | public func isAuthorized() async -> Bool {
| `- note: add '@available' attribute to enclosing instance method
199 | switch self {
200 | case .camera:
:
214 | case .notifications:
215 | let settings = await UNUserNotificationCenter.current().notificationSettings()
216 | return settings.authorizationStatus == .authorized || settings.authorizationStatus == .provisional
| |- error: 'provisional' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
217 |
218 | case .photoLibrary:
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:219:45: error: 'authorizationStatus(for:)' is only available in macOS 11 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 |
:
196 | }
197 |
198 | public func isAuthorized() async -> Bool {
| `- note: add '@available' attribute to enclosing instance method
199 | switch self {
200 | case .camera:
:
217 |
218 | case .photoLibrary:
219 | let status = PHPhotoLibrary.authorizationStatus(for: .readWrite)
| |- error: 'authorizationStatus(for:)' is only available in macOS 11 or newer
| `- note: add 'if #available' version check
220 | return status == .authorized || status == .limited
221 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:225:64: error: 'limited' is unavailable in macOS
223 | let status = CNContactStore.authorizationStatus(for: .contacts)
224 | if #available(iOS 18, *) {
225 | return status == .authorized || status == .limited
| `- error: 'limited' is unavailable in macOS
226 | } else {
227 | return status == .authorized
Contacts.CNAuthorizationStatus.limited:3:8: note: 'limited' has been explicitly marked unavailable here
1 | enum CNAuthorizationStatus {
2 | @available(macOS, unavailable)
3 | case limited}
| `- note: 'limited' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:241:26: error: 'Logger' is only available in macOS 11.0 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 |
:
233 | }
234 |
235 | public func hasRequiredInfoPlistKey() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
236 | let bundle = Bundle.main
237 |
:
239 | let hasKey = bundle.object(forInfoDictionaryKey: key) != nil
240 | if !hasKey {
241 | let logger = Logger(subsystem: "com.timi2506.Permissions", category: "error")
| |- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
242 | logger.critical("Required Info Plist Key Missing for \(self.rawValue): \(self.requiredPlistKey ?? "NONE")")
243 | print("CRITICAL: Required Info Plist Key Missing for \(self.rawValue): \(self.requiredPlistKey ?? "NONE") - This incident has been logged")
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:242:29: error: 'OSLogMessage' is only available in macOS 11.0 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 |
:
233 | }
234 |
235 | public func hasRequiredInfoPlistKey() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
236 | let bundle = Bundle.main
237 |
:
240 | if !hasKey {
241 | let logger = Logger(subsystem: "com.timi2506.Permissions", category: "error")
242 | logger.critical("Required Info Plist Key Missing for \(self.rawValue): \(self.requiredPlistKey ?? "NONE")")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
243 | print("CRITICAL: Required Info Plist Key Missing for \(self.rawValue): \(self.requiredPlistKey ?? "NONE") - This incident has been logged")
244 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:242:67: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 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 |
:
233 | }
234 |
235 | public func hasRequiredInfoPlistKey() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
236 | let bundle = Bundle.main
237 |
:
240 | if !hasKey {
241 | let logger = Logger(subsystem: "com.timi2506.Permissions", category: "error")
242 | logger.critical("Required Info Plist Key Missing for \(self.rawValue): \(self.requiredPlistKey ?? "NONE")")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
243 | print("CRITICAL: Required Info Plist Key Missing for \(self.rawValue): \(self.requiredPlistKey ?? "NONE") - This incident has been logged")
244 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:242:85: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 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 |
:
233 | }
234 |
235 | public func hasRequiredInfoPlistKey() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
236 | let bundle = Bundle.main
237 |
:
240 | if !hasKey {
241 | let logger = Logger(subsystem: "com.timi2506.Permissions", category: "error")
242 | logger.critical("Required Info Plist Key Missing for \(self.rawValue): \(self.requiredPlistKey ?? "NONE")")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
243 | print("CRITICAL: Required Info Plist Key Missing for \(self.rawValue): \(self.requiredPlistKey ?? "NONE") - This incident has been logged")
244 | }
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:339:17: error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
332 | }
333 |
334 | private class LocationHelper: NSObject, CLLocationManagerDelegate {
| `- note: add '@available' attribute to enclosing class
335 | @MainActor static let shared = LocationHelper()
336 | private let manager = CLLocationManager()
337 |
338 | func requestWhenInUse() {
| `- note: add '@available' attribute to enclosing instance method
339 | manager.requestWhenInUseAuthorization()
| |- error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
340 | }
341 | func requestAlways() {
/Users/admin/builder/spi-builder-workspace/Sources/Permissions/Permissions.swift:342:17: error: 'requestAlwaysAuthorization()' is only available in macOS 10.15 or newer
332 | }
333 |
334 | private class LocationHelper: NSObject, CLLocationManagerDelegate {
| `- note: add '@available' attribute to enclosing class
335 | @MainActor static let shared = LocationHelper()
336 | private let manager = CLLocationManager()
:
339 | manager.requestWhenInUseAuthorization()
340 | }
341 | func requestAlways() {
| `- note: add '@available' attribute to enclosing instance method
342 | manager.requestAlwaysAuthorization()
| |- error: 'requestAlwaysAuthorization()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
343 | }
344 | }
BUILD FAILURE 6.3 macosSpm