Build Information
Failed to build Recap, reference main (7669e5), with Swift 6.3 for macOS (SPM) on 19 Apr 2026 02:18:02 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
365 |
366 | if direction == .next {
367 | Image(systemName: systemImage)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
368 | }
369 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:367:6: error: 'init(systemName:)' is only available in macOS 11.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
365 |
366 | if direction == .next {
367 | Image(systemName: systemImage)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
368 | }
369 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:366:27: error: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
364 | }
365 |
366 | if direction == .next {
| |- error: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
367 | Image(systemName: systemImage)
368 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:366:27: error: 'buildIf' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
364 | }
365 |
366 | if direction == .next {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
367 | Image(systemName: systemImage)
368 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:368:5: error: 'buildIf' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
366 | if direction == .next {
367 | Image(systemName: systemImage)
368 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
369 | }
370 | .fixedSize(horizontal: true, vertical: false)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:356:44: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
354 | self.paginate(in: direction)
355 | }, label: {
356 | HStack(spacing: showsTitle ? 8.0 : 0.0) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
357 | if direction == .previous {
358 | Image(systemName: systemImage)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:356:44: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
354 | self.paginate(in: direction)
355 | }, label: {
356 | HStack(spacing: showsTitle ? 8.0 : 0.0) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
357 | if direction == .previous {
358 | Image(systemName: systemImage)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:356:44: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
354 | self.paginate(in: direction)
355 | }, label: {
356 | HStack(spacing: showsTitle ? 8.0 : 0.0) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
357 | if direction == .previous {
358 | Image(systemName: systemImage)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:370:5: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
368 | }
369 | }
370 | .fixedSize(horizontal: true, vertical: false)
| |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
371 | .font(.system(.title3, weight: .semibold))
372 | .contentShape(.rect)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:371:14: error: 'font' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
369 | }
370 | .fixedSize(horizontal: true, vertical: false)
371 | .font(.system(.title3, weight: .semibold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
372 | .contentShape(.rect)
373 | .opacity(isEnabled ? 1.0 : 0.35)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:371:20: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
369 | }
370 | .fixedSize(horizontal: true, vertical: false)
371 | .font(.system(.title3, weight: .semibold))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
372 | .contentShape(.rect)
373 | .opacity(isEnabled ? 1.0 : 0.35)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:371:28: error: 'title3' is only available in macOS 11.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
369 | }
370 | .fixedSize(horizontal: true, vertical: false)
371 | .font(.system(.title3, weight: .semibold))
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
372 | .contentShape(.rect)
373 | .opacity(isEnabled ? 1.0 : 0.35)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:372:14: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
370 | .fixedSize(horizontal: true, vertical: false)
371 | .font(.system(.title3, weight: .semibold))
372 | .contentShape(.rect)
| |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
373 | .opacity(isEnabled ? 1.0 : 0.35)
374 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:372:28: error: 'rect' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
370 | .fixedSize(horizontal: true, vertical: false)
371 | .font(.system(.title3, weight: .semibold))
372 | .contentShape(.rect)
| |- error: 'rect' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
373 | .opacity(isEnabled ? 1.0 : 0.35)
374 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:373:14: error: 'opacity' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
371 | .font(.system(.title3, weight: .semibold))
372 | .contentShape(.rect)
373 | .opacity(isEnabled ? 1.0 : 0.35)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
374 | })
375 | .buttonStyle(.plain)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:375:10: error: 'buttonStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
373 | .opacity(isEnabled ? 1.0 : 0.35)
374 | })
375 | .buttonStyle(.plain)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
376 | .disabled(!isEnabled)
377 | .accessibilityLabel(title)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:375:23: error: 'plain' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
373 | .opacity(isEnabled ? 1.0 : 0.35)
374 | })
375 | .buttonStyle(.plain)
| |- error: 'plain' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
376 | .disabled(!isEnabled)
377 | .accessibilityLabel(title)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:376:10: error: 'disabled' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
374 | })
375 | .buttonStyle(.plain)
376 | .disabled(!isEnabled)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
377 | .accessibilityLabel(title)
378 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:377:10: error: 'accessibilityLabel' is only available in macOS 13.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
:
375 | .buttonStyle(.plain)
376 | .disabled(!isEnabled)
377 | .accessibilityLabel(title)
| |- error: 'accessibilityLabel' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
378 | }
379 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:350:143: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| | |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:383:9: error: 'withAnimation' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add '@available' attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
383 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:385:29: error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add '@available' attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
383 | withAnimation {
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
| |- error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
386 | case .next: self.selectedIndex += 1
387 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:386:25: error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add '@available' attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
:
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
386 | case .next: self.selectedIndex += 1
| |- error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
387 | }
388 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:6: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
404 | if #available(iOS 26.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:405:9: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add '@available' attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
406 | } else {
407 | self.clipShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:405:20: error: 'capsule' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add '@available' attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
406 | } else {
407 | self.clipShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:30: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add '@available' attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add '@available' attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:406:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add '@available' attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
406 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
407 | self.clipShape(.rect(cornerRadius: 16.0))
408 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:403:47: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:429:56: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add '@available' attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
430 | self
431 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:432:18: error: 'padding' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add '@available' attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
431 | } else {
432 | self.padding(.bottom, 24.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
433 | }
434 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:431:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add '@available' attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
431 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
432 | self.padding(.bottom, 24.0)
433 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:428:84: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
[24/25] Compiling Recap View+Recap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:7:77: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
8 | self.environment(\.recapScreenStartIndex, startIndex)
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:46: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:46: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:66: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:54: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:54: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:64: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:100: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:64: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:100: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:120: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:49: error: 'LocalizedStringResource' is only available in macOS 13 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
35 |
36 | /// Configures a custom title for the `RecapScreen` dismiss button.
37 | func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add '@available' attribute to enclosing instance method
38 | self.environment(\.recapScreenDismissButtonTitle, title)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:82: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
35 |
36 | /// Configures a custom title for the `RecapScreen` dismiss button.
37 | func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
38 | self.environment(\.recapScreenDismissButtonTitle, title)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:42:103: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
40 |
41 | /// Configures whether the `RecapScreen` dismiss button is shown.
42 | func recapScreenDismissButtonVisibility(_ visibility: RecapScreenDismissButtonVisibility) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | self.environment(\.recapScreenDismissButtonVisibility, visibility)
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:47:65: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
45 |
46 | /// Configures an `IconFillMode` for the icons displayed on the `RecapScreen`.
47 | func recapScreenIconFillMode(_ style: IconFillMode) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
48 | self.environment(\.recapScreenIconFillMode, style)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:48: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
50 |
51 | /// Configures the vertical alignment of a feature's icon displayed on the `RecapScreen`.
52 | func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
53 | self.environment(\.recapScreenIconAlignment, alignment)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:75: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
50 |
51 | /// Configures the vertical alignment of a feature's icon displayed on the `RecapScreen`.
52 | func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
53 | self.environment(\.recapScreenIconAlignment, alignment)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:57:51: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:57:70: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:57:85: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:63:82: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
61 |
62 | /// Configures how pagination controls are displayed on the `RecapScreen`.
63 | func recapScreenPaginationStyle(_ style: RecapScreenPaginationStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
64 | self.environment(\.recapScreenPaginationStyle, style)
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:41: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add '@available' attribute to enclosing instance method
69 | self.environment(\.backgroundStyle, style)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:65: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
69 | self.environment(\.backgroundStyle, style)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73:41: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73:56: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:78:39: error: 'EdgeInsets' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
76 |
77 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
78 | func recapScreenPadding(_ insets: EdgeInsets) -> some View {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
79 | self.environment(\.recapScreenPadding, insets)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:78:59: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
76 |
77 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
78 | func recapScreenPadding(_ insets: EdgeInsets) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
79 | self.environment(\.recapScreenPadding, insets)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:83:63: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
81 |
82 | /// Configures the spacing to be applied as in between the `RecapScreen` title and a release's featured items.
83 | func recapScreenHeaderSpacing(_ spacing: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
84 | self.environment(\.recapScreenHeaderSpacing, spacing)
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:88:61: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
86 |
87 | /// Configures the spacing to be applied as in between featured items displayed on the `RecapScreen`.
88 | func recapScreenItemSpacing(_ spacing: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
89 | self.environment(\.recapScreenItemSpacing, spacing)
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:93:85: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
91 |
92 | /// Configures a customizable action for the `RecapScreen` dismiss button, useful when your screen is presented through non-standard means.
93 | func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
94 | if let dismissAction {
95 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:18: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:120:32: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
118 | // MARK: TitleStyle
119 |
120 | var recapScreenTitleStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add '@available' attribute to enclosing property
121 | get { self[TitleStyleKey.self] }
122 | set { self[TitleStyleKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:35: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
126 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add '@available' attribute to enclosing static property
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:49: error: 'ForegroundStyle' is only available in macOS 10.15 or newer
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
126 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
| | `- error: 'ForegroundStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:65: error: 'foreground' is only available in macOS 10.15 or newer
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
126 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
| | `- error: 'foreground' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:125:20: warning: protocol 'EnvironmentKey' requires 'AnyShapeStyle' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- warning: protocol 'EnvironmentKey' requires 'AnyShapeStyle' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
126 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
127 | }
SwiftUI.AnyShapeStyle:2:23: note: 'AnyShapeStyle' declared here
1 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
2 | @frozen public struct AnyShapeStyle : ShapeStyle {
| `- note: 'AnyShapeStyle' declared here
3 | public init<S>(_ style: S) where S : ShapeStyle
4 | public func _apply(to shape: inout _ShapeStyle_Shape)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:30: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:44: error: 'Color' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'Color' is only available in macOS 10.15 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:50: error: 'blue' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'blue' is only available in macOS 10.15 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:30: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:44: error: 'Color' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'Color' is only available in macOS 10.15 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:50: error: 'white' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'white' is only available in macOS 10.15 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:145:40: error: 'LocalizedStringResource' is only available in macOS 13 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
143 | // MARK: DismissButtonTitle
144 |
145 | var recapScreenDismissButtonTitle: LocalizedStringResource {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add '@available' attribute to enclosing property
146 | get { self[DismissButtonLocalizedKeyTitle.self] }
147 | set { self[DismissButtonLocalizedKeyTitle.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:151:46: error: 'LocalizedStringResource' is only available in macOS 13 or newer
148 | }
149 |
150 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
151 | @MainActor static let defaultValue = LocalizedStringResource(
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add '@available' attribute to enclosing static property
152 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
153 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:152:13: error: 'LocalizationValue' is only available in macOS 12 or newer
148 | }
149 |
150 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
151 | @MainActor static let defaultValue = LocalizedStringResource(
| `- note: add '@available' attribute to enclosing static property
152 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
| `- error: 'LocalizationValue' is only available in macOS 12 or newer
153 | bundle: .atURL(Bundle.module.bundleURL)
154 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:150:20: warning: protocol 'EnvironmentKey' requires 'LocalizedStringResource' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
148 | }
149 |
150 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- warning: protocol 'EnvironmentKey' requires 'LocalizedStringResource' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
151 | @MainActor static let defaultValue = LocalizedStringResource(
152 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
Foundation.LocalizedStringResource:2:15: note: 'LocalizedStringResource' declared here
1 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
2 | public struct LocalizedStringResource : Equatable, Codable, CustomLocalizedStringResourceConvertible, ExpressibleByStringInterpolation {
| `- note: 'LocalizedStringResource' declared here
3 | public let key: String
4 | public let defaultValue: String.LocalizationValue
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:181:48: error: 'Color' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
179 | // MARK: SelectedPageIndicatorColor
180 |
181 | var recapScreenSelectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
182 | get { self[SelectedPageIndicatorColorKey.self] }
183 | set { self[SelectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:187:35: error: 'Color' is only available in macOS 10.15 or newer
184 | }
185 |
186 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
187 | static let defaultValue = Color.primary
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:187:41: error: 'primary' is only available in macOS 10.15 or newer
184 | }
185 |
186 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
187 | static let defaultValue = Color.primary
| | `- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:192:50: error: 'Color' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
190 | // MARK: DeselectedPageIndicatorColor
191 |
192 | var recapScreenDeselectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
193 | get { self[DeselectedPageIndicatorColorKey.self] }
194 | set { self[DeselectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:198:35: error: 'Color' is only available in macOS 10.15 or newer
195 | }
196 |
197 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
198 | static let defaultValue = Color.gray
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:198:41: error: 'gray' is only available in macOS 10.15 or newer
195 | }
196 |
197 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
198 | static let defaultValue = Color.gray
| | `- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:225:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
223 | // MARK: IconAlignment
224 |
225 | var recapScreenIconAlignment: VerticalAlignment {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
226 | get { self[IconAlignmentKey.self] }
227 | set { self[IconAlignmentKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:231:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
228 | }
229 |
230 | private struct IconAlignmentKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
231 | static let defaultValue = VerticalAlignment.center
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
232 | }
233 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:231:53: error: 'center' is only available in macOS 10.15 or newer
228 | }
229 |
230 | private struct IconAlignmentKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
231 | static let defaultValue = VerticalAlignment.center
| | `- error: 'center' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
232 | }
233 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:236:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
234 | // MARK: PaddingKey
235 |
236 | var recapScreenPadding: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
237 | get { self[PaddingKey.self] }
238 | set { self[PaddingKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:242:35: error: 'EdgeInsets' is only available in macOS 10.15 or newer
239 | }
240 |
241 | private struct PaddingKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
242 | static let defaultValue = EdgeInsets(top: 48.0, leading: 32.0, bottom: 24.0, trailing: 32.0)
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
243 | }
244 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:104:20: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:8:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
| `- note: add '@available' attribute to enclosing instance method
8 | self.environment(\.recapScreenStartIndex, startIndex)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:51: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:18:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:20:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
21 | foregroundStyle: AnyShapeStyle(Color.white)
22 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:48: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:54: error: 'white' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:28:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:30:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
31 | foregroundStyle: AnyShapeStyle(foregroundStyle)
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:31:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
31 | foregroundStyle: AnyShapeStyle(foregroundStyle)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | )
33 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:38:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
35 |
36 | /// Configures a custom title for the `RecapScreen` dismiss button.
37 | func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
| `- note: add '@available' attribute to enclosing instance method
38 | self.environment(\.recapScreenDismissButtonTitle, title)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:43:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
40 |
41 | /// Configures whether the `RecapScreen` dismiss button is shown.
42 | func recapScreenDismissButtonVisibility(_ visibility: RecapScreenDismissButtonVisibility) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | self.environment(\.recapScreenDismissButtonVisibility, visibility)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:48:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
45 |
46 | /// Configures an `IconFillMode` for the icons displayed on the `RecapScreen`.
47 | func recapScreenIconFillMode(_ style: IconFillMode) -> some View {
| `- note: add '@available' attribute to enclosing instance method
48 | self.environment(\.recapScreenIconFillMode, style)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:53:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
50 |
51 | /// Configures the vertical alignment of a feature's icon displayed on the `RecapScreen`.
52 | func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing instance method
53 | self.environment(\.recapScreenIconAlignment, alignment)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:59:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:64:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
61 |
62 | /// Configures how pagination controls are displayed on the `RecapScreen`.
63 | func recapScreenPaginationStyle(_ style: RecapScreenPaginationStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
64 | self.environment(\.recapScreenPaginationStyle, style)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:69:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| `- note: add '@available' attribute to enclosing instance method
69 | self.environment(\.backgroundStyle, style)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | }
71 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:69:28: error: 'backgroundStyle' is only available in macOS 13.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| `- note: add '@available' attribute to enclosing instance method
69 | self.environment(\.backgroundStyle, style)
| |- error: 'backgroundStyle' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
70 | }
71 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:28: error: 'backgroundStyle' is only available in macOS 13.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
| |- error: 'backgroundStyle' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:45: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:45: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:79:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
76 |
77 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
78 | func recapScreenPadding(_ insets: EdgeInsets) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | self.environment(\.recapScreenPadding, insets)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:84:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
81 |
82 | /// Configures the spacing to be applied as in between the `RecapScreen` title and a release's featured items.
83 | func recapScreenHeaderSpacing(_ spacing: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
84 | self.environment(\.recapScreenHeaderSpacing, spacing)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:89:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
86 |
87 | /// Configures the spacing to be applied as in between featured items displayed on the `RecapScreen`.
88 | func recapScreenItemSpacing(_ spacing: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
89 | self.environment(\.recapScreenItemSpacing, spacing)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:95:18: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
91 |
92 | /// Configures a customizable action for the `RecapScreen` dismiss button, useful when your screen is presented through non-standard means.
93 | func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | if let dismissAction {
95 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | } else {
97 | self.environment(\.recapScreenDismissAction, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:97:18: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
91 |
92 | /// Configures a customizable action for the `RecapScreen` dismiss button, useful when your screen is presented through non-standard means.
93 | func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | if let dismissAction {
95 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
96 | } else {
97 | self.environment(\.recapScreenDismissAction, nil)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | }
99 | }
[25/25] Compiling Recap resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:7:77: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
8 | self.environment(\.recapScreenStartIndex, startIndex)
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:46: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:46: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:66: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:54: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:54: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:64: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:100: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:64: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:100: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:120: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:49: error: 'LocalizedStringResource' is only available in macOS 13 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
35 |
36 | /// Configures a custom title for the `RecapScreen` dismiss button.
37 | func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add '@available' attribute to enclosing instance method
38 | self.environment(\.recapScreenDismissButtonTitle, title)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:82: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
35 |
36 | /// Configures a custom title for the `RecapScreen` dismiss button.
37 | func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
38 | self.environment(\.recapScreenDismissButtonTitle, title)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:42:103: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
40 |
41 | /// Configures whether the `RecapScreen` dismiss button is shown.
42 | func recapScreenDismissButtonVisibility(_ visibility: RecapScreenDismissButtonVisibility) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | self.environment(\.recapScreenDismissButtonVisibility, visibility)
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:47:65: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
45 |
46 | /// Configures an `IconFillMode` for the icons displayed on the `RecapScreen`.
47 | func recapScreenIconFillMode(_ style: IconFillMode) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
48 | self.environment(\.recapScreenIconFillMode, style)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:48: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
50 |
51 | /// Configures the vertical alignment of a feature's icon displayed on the `RecapScreen`.
52 | func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
53 | self.environment(\.recapScreenIconAlignment, alignment)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:75: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
50 |
51 | /// Configures the vertical alignment of a feature's icon displayed on the `RecapScreen`.
52 | func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
53 | self.environment(\.recapScreenIconAlignment, alignment)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:57:51: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:57:70: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:57:85: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:63:82: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
61 |
62 | /// Configures how pagination controls are displayed on the `RecapScreen`.
63 | func recapScreenPaginationStyle(_ style: RecapScreenPaginationStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
64 | self.environment(\.recapScreenPaginationStyle, style)
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:41: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add '@available' attribute to enclosing instance method
69 | self.environment(\.backgroundStyle, style)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:65: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
69 | self.environment(\.backgroundStyle, style)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73:41: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73:56: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:78:39: error: 'EdgeInsets' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
76 |
77 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
78 | func recapScreenPadding(_ insets: EdgeInsets) -> some View {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
79 | self.environment(\.recapScreenPadding, insets)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:78:59: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
76 |
77 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
78 | func recapScreenPadding(_ insets: EdgeInsets) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
79 | self.environment(\.recapScreenPadding, insets)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:83:63: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
81 |
82 | /// Configures the spacing to be applied as in between the `RecapScreen` title and a release's featured items.
83 | func recapScreenHeaderSpacing(_ spacing: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
84 | self.environment(\.recapScreenHeaderSpacing, spacing)
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:88:61: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
86 |
87 | /// Configures the spacing to be applied as in between featured items displayed on the `RecapScreen`.
88 | func recapScreenItemSpacing(_ spacing: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
89 | self.environment(\.recapScreenItemSpacing, spacing)
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:93:85: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
91 |
92 | /// Configures a customizable action for the `RecapScreen` dismiss button, useful when your screen is presented through non-standard means.
93 | func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
94 | if let dismissAction {
95 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:18: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:120:32: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
118 | // MARK: TitleStyle
119 |
120 | var recapScreenTitleStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add '@available' attribute to enclosing property
121 | get { self[TitleStyleKey.self] }
122 | set { self[TitleStyleKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:35: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
126 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add '@available' attribute to enclosing static property
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:49: error: 'ForegroundStyle' is only available in macOS 10.15 or newer
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
126 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
| | `- error: 'ForegroundStyle' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:65: error: 'foreground' is only available in macOS 10.15 or newer
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
126 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
| | `- error: 'foreground' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:125:20: warning: protocol 'EnvironmentKey' requires 'AnyShapeStyle' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- warning: protocol 'EnvironmentKey' requires 'AnyShapeStyle' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
126 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
127 | }
SwiftUI.AnyShapeStyle:2:23: note: 'AnyShapeStyle' declared here
1 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
2 | @frozen public struct AnyShapeStyle : ShapeStyle {
| `- note: 'AnyShapeStyle' declared here
3 | public init<S>(_ style: S) where S : ShapeStyle
4 | public func _apply(to shape: inout _ShapeStyle_Shape)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:30: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:44: error: 'Color' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'Color' is only available in macOS 10.15 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:50: error: 'blue' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'blue' is only available in macOS 10.15 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:30: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:44: error: 'Color' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'Color' is only available in macOS 10.15 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:50: error: 'white' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'white' is only available in macOS 10.15 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:145:40: error: 'LocalizedStringResource' is only available in macOS 13 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
143 | // MARK: DismissButtonTitle
144 |
145 | var recapScreenDismissButtonTitle: LocalizedStringResource {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add '@available' attribute to enclosing property
146 | get { self[DismissButtonLocalizedKeyTitle.self] }
147 | set { self[DismissButtonLocalizedKeyTitle.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:151:46: error: 'LocalizedStringResource' is only available in macOS 13 or newer
148 | }
149 |
150 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
151 | @MainActor static let defaultValue = LocalizedStringResource(
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add '@available' attribute to enclosing static property
152 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
153 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:152:13: error: 'LocalizationValue' is only available in macOS 12 or newer
148 | }
149 |
150 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
151 | @MainActor static let defaultValue = LocalizedStringResource(
| `- note: add '@available' attribute to enclosing static property
152 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
| `- error: 'LocalizationValue' is only available in macOS 12 or newer
153 | bundle: .atURL(Bundle.module.bundleURL)
154 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:150:20: warning: protocol 'EnvironmentKey' requires 'LocalizedStringResource' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
148 | }
149 |
150 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- warning: protocol 'EnvironmentKey' requires 'LocalizedStringResource' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
151 | @MainActor static let defaultValue = LocalizedStringResource(
152 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
Foundation.LocalizedStringResource:2:15: note: 'LocalizedStringResource' declared here
1 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
2 | public struct LocalizedStringResource : Equatable, Codable, CustomLocalizedStringResourceConvertible, ExpressibleByStringInterpolation {
| `- note: 'LocalizedStringResource' declared here
3 | public let key: String
4 | public let defaultValue: String.LocalizationValue
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:181:48: error: 'Color' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
179 | // MARK: SelectedPageIndicatorColor
180 |
181 | var recapScreenSelectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
182 | get { self[SelectedPageIndicatorColorKey.self] }
183 | set { self[SelectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:187:35: error: 'Color' is only available in macOS 10.15 or newer
184 | }
185 |
186 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
187 | static let defaultValue = Color.primary
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:187:41: error: 'primary' is only available in macOS 10.15 or newer
184 | }
185 |
186 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
187 | static let defaultValue = Color.primary
| | `- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:192:50: error: 'Color' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
190 | // MARK: DeselectedPageIndicatorColor
191 |
192 | var recapScreenDeselectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
193 | get { self[DeselectedPageIndicatorColorKey.self] }
194 | set { self[DeselectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:198:35: error: 'Color' is only available in macOS 10.15 or newer
195 | }
196 |
197 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
198 | static let defaultValue = Color.gray
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:198:41: error: 'gray' is only available in macOS 10.15 or newer
195 | }
196 |
197 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
198 | static let defaultValue = Color.gray
| | `- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:225:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
223 | // MARK: IconAlignment
224 |
225 | var recapScreenIconAlignment: VerticalAlignment {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
226 | get { self[IconAlignmentKey.self] }
227 | set { self[IconAlignmentKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:231:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
228 | }
229 |
230 | private struct IconAlignmentKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
231 | static let defaultValue = VerticalAlignment.center
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
232 | }
233 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:231:53: error: 'center' is only available in macOS 10.15 or newer
228 | }
229 |
230 | private struct IconAlignmentKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
231 | static let defaultValue = VerticalAlignment.center
| | `- error: 'center' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
232 | }
233 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:236:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
234 | // MARK: PaddingKey
235 |
236 | var recapScreenPadding: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
237 | get { self[PaddingKey.self] }
238 | set { self[PaddingKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:242:35: error: 'EdgeInsets' is only available in macOS 10.15 or newer
239 | }
240 |
241 | private struct PaddingKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
242 | static let defaultValue = EdgeInsets(top: 48.0, leading: 32.0, bottom: 24.0, trailing: 32.0)
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
243 | }
244 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:104:20: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:8:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
| `- note: add '@available' attribute to enclosing instance method
8 | self.environment(\.recapScreenStartIndex, startIndex)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:51: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:18:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:20:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
21 | foregroundStyle: AnyShapeStyle(Color.white)
22 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:48: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:54: error: 'white' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:28:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:30:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
31 | foregroundStyle: AnyShapeStyle(foregroundStyle)
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:31:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
31 | foregroundStyle: AnyShapeStyle(foregroundStyle)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | )
33 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:38:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
35 |
36 | /// Configures a custom title for the `RecapScreen` dismiss button.
37 | func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
| `- note: add '@available' attribute to enclosing instance method
38 | self.environment(\.recapScreenDismissButtonTitle, title)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:43:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
40 |
41 | /// Configures whether the `RecapScreen` dismiss button is shown.
42 | func recapScreenDismissButtonVisibility(_ visibility: RecapScreenDismissButtonVisibility) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | self.environment(\.recapScreenDismissButtonVisibility, visibility)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:48:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
45 |
46 | /// Configures an `IconFillMode` for the icons displayed on the `RecapScreen`.
47 | func recapScreenIconFillMode(_ style: IconFillMode) -> some View {
| `- note: add '@available' attribute to enclosing instance method
48 | self.environment(\.recapScreenIconFillMode, style)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:53:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
50 |
51 | /// Configures the vertical alignment of a feature's icon displayed on the `RecapScreen`.
52 | func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing instance method
53 | self.environment(\.recapScreenIconAlignment, alignment)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:59:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:64:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
61 |
62 | /// Configures how pagination controls are displayed on the `RecapScreen`.
63 | func recapScreenPaginationStyle(_ style: RecapScreenPaginationStyle) -> some View {
| `- note: add '@available' attribute to enclosing instance method
64 | self.environment(\.recapScreenPaginationStyle, style)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:69:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| `- note: add '@available' attribute to enclosing instance method
69 | self.environment(\.backgroundStyle, style)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | }
71 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:69:28: error: 'backgroundStyle' is only available in macOS 13.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| `- note: add '@available' attribute to enclosing instance method
69 | self.environment(\.backgroundStyle, style)
| |- error: 'backgroundStyle' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
70 | }
71 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:28: error: 'backgroundStyle' is only available in macOS 13.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
| |- error: 'backgroundStyle' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:45: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:45: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
| `- note: add '@available' attribute to enclosing instance method
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:79:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
76 |
77 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
78 | func recapScreenPadding(_ insets: EdgeInsets) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | self.environment(\.recapScreenPadding, insets)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:84:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
81 |
82 | /// Configures the spacing to be applied as in between the `RecapScreen` title and a release's featured items.
83 | func recapScreenHeaderSpacing(_ spacing: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
84 | self.environment(\.recapScreenHeaderSpacing, spacing)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:89:14: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
86 |
87 | /// Configures the spacing to be applied as in between featured items displayed on the `RecapScreen`.
88 | func recapScreenItemSpacing(_ spacing: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
89 | self.environment(\.recapScreenItemSpacing, spacing)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:95:18: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
91 |
92 | /// Configures a customizable action for the `RecapScreen` dismiss button, useful when your screen is presented through non-standard means.
93 | func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | if let dismissAction {
95 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | } else {
97 | self.environment(\.recapScreenDismissAction, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:97:18: error: 'environment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add '@available' attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
91 |
92 | /// Configures a customizable action for the `RecapScreen` dismiss button, useful when your screen is presented through non-standard means.
93 | func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | if let dismissAction {
95 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
96 | } else {
97 | self.environment(\.recapScreenDismissAction, nil)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | }
99 | }
BUILD FAILURE 6.3 macosSpm