The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DateGrid, reference 0.0.3 (68378c), with Swift 6.3 for macOS (SPM) on 22 Apr 2026 13:48:11 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yodagamaheshan/DateGrid.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yodagamaheshan/DateGrid
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at 68378c8 remove Preference related size estimation
Cloned https://github.com/yodagamaheshan/DateGrid.git
Revision (git rev-parse @):
68378c8276f2d57569fa492188e1d098ea56869b
SUCCESS checkout https://github.com/yodagamaheshan/DateGrid.git at 0.0.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "dategrid",
      "name": "DateGrid",
      "url": "https://github.com/yodagamaheshan/DateGrid.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DateGrid",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/yodagamaheshan/DateGrid.git
[1/261] Fetching dategrid
Fetched https://github.com/yodagamaheshan/DateGrid.git from cache (0.84s)
Creating working copy for https://github.com/yodagamaheshan/DateGrid.git
Working copy of https://github.com/yodagamaheshan/DateGrid.git resolved at 0.0.3 (68378c8)
warning: '.resolve-product-dependencies': dependency 'dategrid' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/yodagamaheshan/DateGrid.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/12] Compiling DateGrid DateFormatter+dateFormats.swift
[4/13] Compiling DateGrid WeekDaySymbols.swift
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct WeekDaySymbols_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
28 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
29 |         WeekDaySymbols()
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:15:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
   |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
17 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:15:9: error: 'HStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
   |         |- error: 'HStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
17 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:15:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
   |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
17 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:16:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
   |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
17 |                 Spacer()
18 |                 Text(item)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:16:13: error: 'ForEach' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
   |             |- error: 'ForEach' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
17 |                 Spacer()
18 |                 Text(item)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:16:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
   |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
17 |                 Spacer()
18 |                 Text(item)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:17:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
17 |                 Spacer()
   |                 |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
18 |                 Text(item)
19 |                     .bold()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:17:17: error: 'Spacer' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
17 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
18 |                 Text(item)
19 |                     .bold()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:18:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
17 |                 Spacer()
18 |                 Text(item)
   |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
19 |                     .bold()
20 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:18:17: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
17 |                 Spacer()
18 |                 Text(item)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
19 |                     .bold()
20 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:19:22: error: 'bold()' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
17 |                 Spacer()
18 |                 Text(item)
19 |                     .bold()
   |                      |- error: 'bold()' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
20 |                 Spacer()
21 |
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:20:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
   :
18 |                 Text(item)
19 |                     .bold()
20 |                 Spacer()
   |                 |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
21 |
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:20:17: error: 'Spacer' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
   :
18 |                 Text(item)
19 |                     .bold()
20 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
21 |
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:16:75: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
   |                                                                           |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                                           `- note: add 'if #available' version check
17 |                 Spacer()
18 |                 Text(item)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:16:75: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
   |                                                                           |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                                           `- note: add 'if #available' version check
17 |                 Spacer()
18 |                 Text(item)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:16:75: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
   |                                                                           |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                                           `- note: add 'if #available' version check
17 |                 Spacer()
18 |                 Text(item)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:15:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
   |                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                `- note: add 'if #available' version check
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
17 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:14:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                |               `- note: add 'if #available' version check
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:14:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                |               `- note: add 'if #available' version check
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
[5/13] Compiling DateGrid Calendar+genarageDates.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Compiling DateGrid Date+dateFormat.swift
[7/13] Compiling DateGrid DateGridDate.swift
[8/13] Compiling DateGrid CalenderModes.swift
[9/13] Emitting module DateGrid
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
14 |     }
15 |
16 |     @State private var isShown = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
17 |     private let date: Date
18 |
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:42:31: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct DateCell1_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
43 |         DateCell1(date: Date())
44 |             .background(Color.red)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct NoramalDayCell: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     public init(date: Date) {
12 |         self.date = date
   :
14 |
15 |     private var date: Date
16 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
17 |         Text(date.day)
18 |             .padding(8)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:26:31: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct NoramalDayCell_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
26 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
27 |         NoramalDayCell(date: Date())
28 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:17:56: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
15 |     ///   - selectedMonth: date relevent to showing month, then you can extract the componnets
16 |     ///   - content:
17 |     public init(interval: DateInterval, selectedMonth: Binding<Date>, mode: CalenderMode, @ViewBuilder content: @escaping (DateGridDate) -> DateView) {
   |            |                                           `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
18 |         self.viewModel = .init(interval: interval, mode: mode)
19 |         self._selectedMonth = selectedMonth
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:17:92: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
15 |     ///   - selectedMonth: date relevent to showing month, then you can extract the componnets
16 |     ///   - content:
17 |     public init(interval: DateInterval, selectedMonth: Binding<Date>, mode: CalenderMode, @ViewBuilder content: @escaping (DateGridDate) -> DateView) {
   |            |                                                                               `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
18 |         self.viewModel = .init(interval: interval, mode: mode)
19 |         self._selectedMonth = selectedMonth
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:26:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
24 |     private let viewModel: DateGridViewModel
25 |     private let content: (DateGridDate) -> DateView
26 |     @Binding var selectedMonth: Date
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:28:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
26 |     @Binding var selectedMonth: Date
27 |
28 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
29 |
30 |         TabView(selection: $selectedMonth) {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:10:56: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               |                                        `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:43:6: error: 'State' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct CalendarView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |
43 |     @State static var selectedMonthDate = Date()
   |      `- error: 'State' is only available in macOS 10.15 or newer
44 |
45 |     static var previews: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:45:31: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct CalendarView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |
43 |     @State static var selectedMonthDate = Date()
44 |
45 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
46 |         VStack {
47 |             Text(selectedMonthDate.description)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:63:20: error: 'View' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:59:54: error: 'View' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        |                                             `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGridViewModel.swift:17:20: error: 'calendar' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | class DateGridViewModel: ObservableObject {
   |       `- note: add '@available' attribute to enclosing class
11 |     //Fixme: change var names "mode"
12 |     init(interval: DateInterval, mode: CalenderMode) {
   :
15 |     }
16 |
17 |     @Environment(\.calendar) var calendar
   |                    `- error: 'calendar' is only available in macOS 10.15 or newer
18 |     let interval: DateInterval
19 |     var mode: CalenderMode
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGridViewModel.swift:17:6: error: 'Environment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | class DateGridViewModel: ObservableObject {
   |       `- note: add '@available' attribute to enclosing class
11 |     //Fixme: change var names "mode"
12 |     init(interval: DateInterval, mode: CalenderMode) {
   :
15 |     }
16 |
17 |     @Environment(\.calendar) var calendar
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
18 |     let interval: DateInterval
19 |     var mode: CalenderMode
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGridViewModel.swift:10:26: error: 'ObservableObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | class DateGridViewModel: ObservableObject {
   |       |                  `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |       `- note: add '@available' attribute to enclosing class
11 |     //Fixme: change var names "mode"
12 |     init(interval: DateInterval, mode: CalenderMode) {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WeekDaySymbols: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
15 |         HStack {
16 |             ForEach(Calendar.current.veryShortWeekdaySymbols, id: \.self) { item in
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/WeekDaySymbols/WeekDaySymbols.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct WeekDaySymbols_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
28 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
29 |         WeekDaySymbols()
30 |     }
[10/13] Compiling DateGrid NoramalDayCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct NoramalDayCell: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     public init(date: Date) {
12 |         self.date = date
   :
14 |
15 |     private var date: Date
16 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
17 |         Text(date.day)
18 |             .padding(8)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:26:31: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct NoramalDayCell_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
26 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
27 |         NoramalDayCell(date: Date())
28 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:17:9: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct NoramalDayCell: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     public init(date: Date) {
12 |         self.date = date
   :
14 |
15 |     private var date: Date
16 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
17 |         Text(date.day)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
18 |             .padding(8)
19 |             .background(Color.blue)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:18:14: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct NoramalDayCell: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     public init(date: Date) {
12 |         self.date = date
   :
14 |
15 |     private var date: Date
16 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
17 |         Text(date.day)
18 |             .padding(8)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
19 |             .background(Color.blue)
20 |             .cornerRadius(8)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:19:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct NoramalDayCell: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     public init(date: Date) {
12 |         self.date = date
   :
14 |
15 |     private var date: Date
16 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
17 |         Text(date.day)
18 |             .padding(8)
19 |             .background(Color.blue)
   |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
20 |             .cornerRadius(8)
21 |             .padding([.bottom], 10)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:19:25: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct NoramalDayCell: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     public init(date: Date) {
12 |         self.date = date
   :
14 |
15 |     private var date: Date
16 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
17 |         Text(date.day)
18 |             .padding(8)
19 |             .background(Color.blue)
   |                         |- error: 'Color' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
20 |             .cornerRadius(8)
21 |             .padding([.bottom], 10)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:19:31: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct NoramalDayCell: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     public init(date: Date) {
12 |         self.date = date
   :
14 |
15 |     private var date: Date
16 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
17 |         Text(date.day)
18 |             .padding(8)
19 |             .background(Color.blue)
   |                               |- error: 'blue' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
20 |             .cornerRadius(8)
21 |             .padding([.bottom], 10)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:20:14: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct NoramalDayCell: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     public init(date: Date) {
12 |         self.date = date
   :
14 |
15 |     private var date: Date
16 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
17 |         Text(date.day)
18 |             .padding(8)
19 |             .background(Color.blue)
20 |             .cornerRadius(8)
   |              |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
21 |             .padding([.bottom], 10)
22 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/NoramalDayCell.swift:21:14: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct NoramalDayCell: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     public init(date: Date) {
12 |         self.date = date
   :
14 |
15 |     private var date: Date
16 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
17 |         Text(date.day)
18 |             .padding(8)
19 |             .background(Color.blue)
20 |             .cornerRadius(8)
21 |             .padding([.bottom], 10)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
22 |     }
23 | }
[11/13] Compiling DateGrid DateGridViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGridViewModel.swift:17:20: error: 'calendar' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | class DateGridViewModel: ObservableObject {
   |       `- note: add '@available' attribute to enclosing class
11 |     //Fixme: change var names "mode"
12 |     init(interval: DateInterval, mode: CalenderMode) {
   :
15 |     }
16 |
17 |     @Environment(\.calendar) var calendar
   |                    `- error: 'calendar' is only available in macOS 10.15 or newer
18 |     let interval: DateInterval
19 |     var mode: CalenderMode
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGridViewModel.swift:17:6: error: 'Environment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | class DateGridViewModel: ObservableObject {
   |       `- note: add '@available' attribute to enclosing class
11 |     //Fixme: change var names "mode"
12 |     init(interval: DateInterval, mode: CalenderMode) {
   :
15 |     }
16 |
17 |     @Environment(\.calendar) var calendar
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
18 |     let interval: DateInterval
19 |     var mode: CalenderMode
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGridViewModel.swift:10:26: error: 'ObservableObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | class DateGridViewModel: ObservableObject {
   |       |                  `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |       `- note: add '@available' attribute to enclosing class
11 |     //Fixme: change var names "mode"
12 |     init(interval: DateInterval, mode: CalenderMode) {
[12/13] Compiling DateGrid DateCell1.swift
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
14 |     }
15 |
16 |     @State private var isShown = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
17 |     private let date: Date
18 |
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:42:31: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct DateCell1_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
43 |         DateCell1(date: Date())
44 |             .background(Color.red)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:20:9: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
   |         |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
21 |             if isShown {
22 |                 Text(date.day)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:20:9: error: 'Group' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
   |         |- error: 'Group' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
21 |             if isShown {
22 |                 Text(date.day)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:20:9: error: 'init(content:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
   |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
21 |             if isShown {
22 |                 Text(date.day)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:22:17: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
22 |                 Text(date.day)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
23 |                     .padding(8)
24 |                     .background(Color.purple)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:23:22: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
22 |                 Text(date.day)
23 |                     .padding(8)
   |                      |- error: 'padding' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
24 |                     .background(Color.purple)
25 |                     .cornerRadius(20)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:24:22: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
22 |                 Text(date.day)
23 |                     .padding(8)
24 |                     .background(Color.purple)
   |                      |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |                      `- note: add 'if #available' version check
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:24:33: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
22 |                 Text(date.day)
23 |                     .padding(8)
24 |                     .background(Color.purple)
   |                                 |- error: 'Color' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:24:39: error: 'purple' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
22 |                 Text(date.day)
23 |                     .padding(8)
24 |                     .background(Color.purple)
   |                                       |- error: 'purple' is only available in macOS 10.15 or newer
   |                                       `- note: add 'if #available' version check
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:25:22: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
23 |                     .padding(8)
24 |                     .background(Color.purple)
25 |                     .cornerRadius(20)
   |                      |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
26 |                     .padding(.bottom, 10)
27 |                     .transition(AnyTransition.scale.animation(Animation.spring().delay(Double(date.day)!/30)))
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:26:22: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
24 |                     .background(Color.purple)
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
   |                      |- error: 'padding' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
27 |                     .transition(AnyTransition.scale.animation(Animation.spring().delay(Double(date.day)!/30)))
28 |
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:27:22: error: 'transition' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
27 |                     .transition(AnyTransition.scale.animation(Animation.spring().delay(Double(date.day)!/30)))
   |                      |- error: 'transition' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
28 |
29 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:27:33: error: 'AnyTransition' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
27 |                     .transition(AnyTransition.scale.animation(Animation.spring().delay(Double(date.day)!/30)))
   |                                 |- error: 'AnyTransition' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
28 |
29 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:27:47: error: 'scale' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
27 |                     .transition(AnyTransition.scale.animation(Animation.spring().delay(Double(date.day)!/30)))
   |                                               |- error: 'scale' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
28 |
29 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:27:53: error: 'animation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
27 |                     .transition(AnyTransition.scale.animation(Animation.spring().delay(Double(date.day)!/30)))
   |                                                     |- error: 'animation' is only available in macOS 10.15 or newer
   |                                                     `- note: add 'if #available' version check
28 |
29 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:27:63: error: 'Animation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
27 |                     .transition(AnyTransition.scale.animation(Animation.spring().delay(Double(date.day)!/30)))
   |                                                               |- error: 'Animation' is only available in macOS 10.15 or newer
   |                                                               `- note: add 'if #available' version check
28 |
29 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:27:73: error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
27 |                     .transition(AnyTransition.scale.animation(Animation.spring().delay(Double(date.day)!/30)))
   |                                                                         |- error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
   |                                                                         `- note: add 'if #available' version check
28 |
29 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:27:82: error: 'delay' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
25 |                     .cornerRadius(20)
26 |                     .padding(.bottom, 10)
27 |                     .transition(AnyTransition.scale.animation(Animation.spring().delay(Double(date.day)!/30)))
   |                                                                                  |- error: 'delay' is only available in macOS 10.15 or newer
   |                                                                                  `- note: add 'if #available' version check
28 |
29 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:21:24: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   |                        |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
22 |                 Text(date.day)
23 |                     .padding(8)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:30:17: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
28 |
29 |             } else {
30 |                 Text("")
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
31 |                     .onAppear(perform: {
32 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:31:22: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
29 |             } else {
30 |                 Text("")
31 |                     .onAppear(perform: {
   |                      |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
32 |                         withAnimation {
33 |                             isShown = true
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:32:25: error: 'withAnimation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
30 |                 Text("")
31 |                     .onAppear(perform: {
32 |                         withAnimation {
   |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
33 |                             isShown = true
34 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:33:29: error: setter for 'isShown' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
31 |                     .onAppear(perform: {
32 |                         withAnimation {
33 |                             isShown = true
   |                             |- error: setter for 'isShown' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
34 |                         }
35 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:29:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
   :
27 |                     .transition(AnyTransition.scale.animation(Animation.spring().delay(Double(date.day)!/30)))
28 |
29 |             } else {
   |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
30 |                 Text("")
31 |                     .onAppear(perform: {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:20:15: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
   |               |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |               `- note: add 'if #available' version check
21 |             if isShown {
22 |                 Text(date.day)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:19:32: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct DateCell1: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public init(date: Date) {
   :
17 |     private let date: Date
18 |
19 |     public var body: some View {
   |                |               |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                |               `- note: add 'if #available' version check
   |                `- note: add '@available' attribute to enclosing property
20 |         Group {
21 |             if isShown {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:44:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
39 | }
40 |
41 | struct DateCell1_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
43 |         DateCell1(date: Date())
44 |             .background(Color.red)
   |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
45 |     }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:44:25: error: 'Color' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct DateCell1_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
43 |         DateCell1(date: Date())
44 |             .background(Color.red)
   |                         |- error: 'Color' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
45 |     }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/Cell/DateCell1.swift:44:31: error: 'red' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct DateCell1_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
43 |         DateCell1(date: Date())
44 |             .background(Color.red)
   |                               |- error: 'red' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
45 |     }
46 | }
[13/13] Compiling DateGrid DateGrid.swift
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:17:56: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
15 |     ///   - selectedMonth: date relevent to showing month, then you can extract the componnets
16 |     ///   - content:
17 |     public init(interval: DateInterval, selectedMonth: Binding<Date>, mode: CalenderMode, @ViewBuilder content: @escaping (DateGridDate) -> DateView) {
   |            |                                           `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
18 |         self.viewModel = .init(interval: interval, mode: mode)
19 |         self._selectedMonth = selectedMonth
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:17:92: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
15 |     ///   - selectedMonth: date relevent to showing month, then you can extract the componnets
16 |     ///   - content:
17 |     public init(interval: DateInterval, selectedMonth: Binding<Date>, mode: CalenderMode, @ViewBuilder content: @escaping (DateGridDate) -> DateView) {
   |            |                                                                               `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
18 |         self.viewModel = .init(interval: interval, mode: mode)
19 |         self._selectedMonth = selectedMonth
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:26:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
24 |     private let viewModel: DateGridViewModel
25 |     private let content: (DateGridDate) -> DateView
26 |     @Binding var selectedMonth: Date
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:28:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
26 |     @Binding var selectedMonth: Date
27 |
28 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
29 |
30 |         TabView(selection: $selectedMonth) {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:10:56: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               |                                        `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:43:6: error: 'State' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct CalendarView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |
43 |     @State static var selectedMonthDate = Date()
   |      `- error: 'State' is only available in macOS 10.15 or newer
44 |
45 |     static var previews: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:45:31: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct CalendarView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |
43 |     @State static var selectedMonthDate = Date()
44 |
45 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
46 |         VStack {
47 |             Text(selectedMonthDate.description)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:63:20: error: 'View' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:59:54: error: 'View' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        |                                             `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:30:9: error: 'TabView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
26 |     @Binding var selectedMonth: Date
27 |
28 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
29 |
30 |         TabView(selection: $selectedMonth) {
   |         |- error: 'TabView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
31 |
32 |             MonthsOrWeeks(viewModel: viewModel, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:34:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
26 |     @Binding var selectedMonth: Date
27 |
28 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
29 |
30 |         TabView(selection: $selectedMonth) {
   :
32 |             MonthsOrWeeks(viewModel: viewModel, content: content)
33 |         }
34 |         .frame(height: viewModel.mode.estimateHeight, alignment: .center)
   |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
35 |         .tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:34:67: error: 'center' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
26 |     @Binding var selectedMonth: Date
27 |
28 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
29 |
30 |         TabView(selection: $selectedMonth) {
   :
32 |             MonthsOrWeeks(viewModel: viewModel, content: content)
33 |         }
34 |         .frame(height: viewModel.mode.estimateHeight, alignment: .center)
   |                                                                   |- error: 'center' is only available in macOS 10.15 or newer
   |                                                                   `- note: add 'if #available' version check
35 |         .tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:35:10: error: 'tabViewStyle' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct DateGrid<DateView>: View where DateView: View {
   |               `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     /// DateStack view
   :
26 |     @Binding var selectedMonth: Date
27 |
28 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
29 |
30 |         TabView(selection: $selectedMonth) {
   :
33 |         }
34 |         .frame(height: viewModel.mode.estimateHeight, alignment: .center)
35 |         .tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
   |          |- error: 'tabViewStyle' is only available in macOS 11.0 or newer
   |          `- note: add 'if #available' version check
36 |     }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:35:23: error: 'PageTabViewStyle' is unavailable in macOS
33 |         }
34 |         .frame(height: viewModel.mode.estimateHeight, alignment: .center)
35 |         .tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
   |                       `- error: 'PageTabViewStyle' is unavailable in macOS
36 |     }
37 |
SwiftUI.PageTabViewStyle:3:15: note: 'PageTabViewStyle' has been explicitly marked unavailable here
 1 | @available(iOS 14.0, tvOS 14.0, watchOS 7.0, *)
 2 | @available(macOS, unavailable)
 3 | public struct PageTabViewStyle : TabViewStyle {
   |               `- note: 'PageTabViewStyle' has been explicitly marked unavailable here
 4 |     public struct IndexDisplayMode : Sendable {
 5 |         public static let automatic: PageTabViewStyle.IndexDisplayMode
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:46:9: error: 'VStack' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct CalendarView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |
43 |     @State static var selectedMonthDate = Date()
44 |
45 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
46 |         VStack {
   |         |- error: 'VStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             Text(selectedMonthDate.description)
48 |             WeekDaySymbols()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:47:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | }
40 |
41 | struct CalendarView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |
43 |     @State static var selectedMonthDate = Date()
44 |
45 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
46 |         VStack {
47 |             Text(selectedMonthDate.description)
   |             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
48 |             WeekDaySymbols()
49 |
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:47:13: error: 'Text' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct CalendarView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |
43 |     @State static var selectedMonthDate = Date()
44 |
45 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
46 |         VStack {
47 |             Text(selectedMonthDate.description)
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
48 |             WeekDaySymbols()
49 |
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:46:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | }
40 |
41 | struct CalendarView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
42 |
43 |     @State static var selectedMonthDate = Date()
44 |
45 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
46 |         VStack {
   |                |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                `- note: add 'if #available' version check
47 |             Text(selectedMonthDate.description)
48 |             WeekDaySymbols()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGridViewModel.swift:17:20: error: 'calendar' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | class DateGridViewModel: ObservableObject {
   |       `- note: add '@available' attribute to enclosing class
11 |     //Fixme: change var names "mode"
12 |     init(interval: DateInterval, mode: CalenderMode) {
   :
15 |     }
16 |
17 |     @Environment(\.calendar) var calendar
   |                    `- error: 'calendar' is only available in macOS 10.15 or newer
18 |     let interval: DateInterval
19 |     var mode: CalenderMode
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:64:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
   |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
65 |
66 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:64:9: error: 'ForEach' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
   |         |- error: 'ForEach' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
65 |
66 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:64:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
   |         |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
65 |
66 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:64:54: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
   |                                                      |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                      `- note: add 'if #available' version check
65 |
66 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:66:13: error: 'VStack' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
66 |             VStack {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
67 |
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:66:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
66 |             VStack {
   |                    |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
67 |
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:68:17: error: 'LazyVGrid' is only available in macOS 11.0 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
66 |             VStack {
67 |
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
   |                 |- error: 'LazyVGrid' is only available in macOS 11.0 or newer
   |                 `- note: add 'if #available' version check
69 |
70 |                     ForEach(viewModel.days(for: monthOrWeek), id: \.self) { date in
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:68:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
66 |             VStack {
67 |
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
   |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
69 |
70 |                     ForEach(viewModel.days(for: monthOrWeek), id: \.self) { date in
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:68:53: error: 'GridItem' is only available in macOS 11.0 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
66 |             VStack {
67 |
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
   |                                                     |- error: 'GridItem' is only available in macOS 11.0 or newer
   |                                                     `- note: add 'if #available' version check
69 |
70 |                     ForEach(viewModel.days(for: monthOrWeek), id: \.self) { date in
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:70:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
69 |
70 |                     ForEach(viewModel.days(for: monthOrWeek), id: \.self) { date in
   |                     |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
71 |                         let dateGridDate = DateGridDate(date: date, currentMonth: monthOrWeek)
72 |                         if viewModel.calendar.isDate(date, equalTo: monthOrWeek, toGranularity: .month) {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:70:21: error: 'ForEach' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
69 |
70 |                     ForEach(viewModel.days(for: monthOrWeek), id: \.self) { date in
   |                     |- error: 'ForEach' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
71 |                         let dateGridDate = DateGridDate(date: date, currentMonth: monthOrWeek)
72 |                         if viewModel.calendar.isDate(date, equalTo: monthOrWeek, toGranularity: .month) {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:70:21: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
69 |
70 |                     ForEach(viewModel.days(for: monthOrWeek), id: \.self) { date in
   |                     |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
71 |                         let dateGridDate = DateGridDate(date: date, currentMonth: monthOrWeek)
72 |                         if viewModel.calendar.isDate(date, equalTo: monthOrWeek, toGranularity: .month) {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:74:34: error: 'id' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
72 |                         if viewModel.calendar.isDate(date, equalTo: monthOrWeek, toGranularity: .month) {
73 |                             content(dateGridDate)
74 |                                 .id(date)
   |                                  |- error: 'id' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
75 |
76 |                         } else {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:72:105: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
70 |                     ForEach(viewModel.days(for: monthOrWeek), id: \.self) { date in
71 |                         let dateGridDate = DateGridDate(date: date, currentMonth: monthOrWeek)
72 |                         if viewModel.calendar.isDate(date, equalTo: monthOrWeek, toGranularity: .month) {
   |                                                                                                         |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                                                         `- note: add 'if #available' version check
73 |                             content(dateGridDate)
74 |                                 .id(date)
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:78:34: error: 'hidden()' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
76 |                         } else {
77 |                             content(dateGridDate)
78 |                                 .hidden()
   |                                  |- error: 'hidden()' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
79 |                         }
80 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:76:32: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
74 |                                 .id(date)
75 |
76 |                         } else {
   |                                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
77 |                             content(dateGridDate)
78 |                                 .hidden()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:70:75: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
69 |
70 |                     ForEach(viewModel.days(for: monthOrWeek), id: \.self) { date in
   |                                                                           |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                                           `- note: add 'if #available' version check
71 |                         let dateGridDate = DateGridDate(date: date, currentMonth: monthOrWeek)
72 |                         if viewModel.calendar.isDate(date, equalTo: monthOrWeek, toGranularity: .month) {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:68:118: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
66 |             VStack {
67 |
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
   |                                                                                                                      |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                                                                                      `- note: add 'if #available' version check
69 |
70 |                     ForEach(viewModel.days(for: monthOrWeek), id: \.self) { date in
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:82:18: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
80 |                     }
81 |                 }
82 |                 .tag(monthOrWeek)
   |                  |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
83 |                 //Tab view frame alignment to .Top didnt work dtz y
84 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:84:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
82 |                 .tag(monthOrWeek)
83 |                 //Tab view frame alignment to .Top didnt work dtz y
84 |                 Spacer()
   |                 |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
85 |             }
86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:84:17: error: 'Spacer' is only available in macOS 10.15 or newer
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
   :
82 |                 .tag(monthOrWeek)
83 |                 //Tab view frame alignment to .Top didnt work dtz y
84 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
85 |             }
86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:66:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
66 |             VStack {
   |                    |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
67 |
68 |                 LazyVGrid(columns: Array(repeating: GridItem(.flexible()), count: numberOfDayasInAWeek), spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/DateGrid/DateGrid.swift:63:25: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | struct MonthsOrWeeks<DateView>: View where DateView: View {
   |        `- note: add '@available' attribute to enclosing generic struct
60 |     let viewModel: DateGridViewModel
61 |     let content: (DateGridDate) -> DateView
62 |
63 |     var body: some View {
   |         |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         |               `- note: add 'if #available' version check
   |         `- note: add '@available' attribute to enclosing property
64 |         ForEach(viewModel.monthsOrWeeks, id: \.self) { monthOrWeek in
65 |
BUILD FAILURE 6.3 macosSpm