Build Information
Failed to build NeoBrutalism, reference 2.0.0 (6d6438), with Swift 6.0 for macOS (SPM) on 11 May 2025 11:19:37 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:70:35: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
68 | Text("Second")
69 | }
70 | NBRadioItem(value: 2) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | Text("Thhird")
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:60:37: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | NBRadioGroup(value: $value) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | Text("Radio")
62 | .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:60:37: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | NBRadioGroup(value: $value) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | Text("Radio")
62 | .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:60:37: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | NBRadioGroup(value: $value) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | Text("Radio")
62 | .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:60:37: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | NBRadioGroup(value: $value) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | Text("Radio")
62 | .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:46:27: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
44 | #Preview(traits: .modifier(NBPreviewHelper())) {
45 | @Previewable @State var value = 0
46 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | Text("\(value)")
48 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:64:6: error: 'Previewable()' is only available in macOS 14.0 or newer
62 | @available(iOS 18.0, *)
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
64 | @Previewable @State var value = 0
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
65 | VStack(spacing: 24.0) {
66 | NBRadioItem(value: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:64:19: error: 'State' is only available in macOS 10.15 or newer
62 | @available(iOS 18.0, *)
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
64 | @Previewable @State var value = 0
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | VStack(spacing: 24.0) {
66 | NBRadioItem(value: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:63:2: error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
61 |
62 | @available(iOS 18.0, *)
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:63:19: error: 'modifier' is only available in macOS 15.0 or newer
61 |
62 | @available(iOS 18.0, *)
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'modifier' is only available in macOS 15.0 or newer
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:65:5: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | NBRadioItem(value: 0) {
67 | Text("Radio Item")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:65:5: error: 'VStack' is only available in macOS 10.15 or newer
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | NBRadioItem(value: 0) {
67 | Text("Radio Item")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:65:5: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | NBRadioItem(value: 0) {
67 | Text("Radio Item")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:65:27: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | NBRadioItem(value: 0) {
67 | Text("Radio Item")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:66:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
66 | NBRadioItem(value: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | Text("Radio Item")
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:66:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
66 | NBRadioItem(value: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | Text("Radio Item")
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:66:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
66 | NBRadioItem(value: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | Text("Radio Item")
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:67:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
65 | VStack(spacing: 24.0) {
66 | NBRadioItem(value: 0) {
67 | Text("Radio Item")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:67:13: error: 'Text' is only available in macOS 10.15 or newer
65 | VStack(spacing: 24.0) {
66 | NBRadioItem(value: 0) {
67 | Text("Radio Item")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:66:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
66 | NBRadioItem(value: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | Text("Radio Item")
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:65:27: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | NBRadioItem(value: 0) {
67 | Text("Radio Item")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:63:48: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
61 |
62 | @available(iOS 18.0, *)
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:63:48: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
61 |
62 | @available(iOS 18.0, *)
63 | #Preview(traits: .modifier(NBPreviewHelper())) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | @Previewable @State var value = 0
65 | VStack(spacing: 24.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/RoundSkeleton.swift:22:6: error: 'Previewable()' is only available in macOS 14.0 or newer
20 | @available(iOS 18.0, *)
21 | #Preview(traits: .modifier(NBPreviewHelper())) {
22 | @Previewable @State var value = 0
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
23 | VStack(spacing: 12.0) {
24 | NBRoundSkeleton()
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/RoundSkeleton.swift:22:19: error: 'State' is only available in macOS 10.15 or newer
20 | @available(iOS 18.0, *)
21 | #Preview(traits: .modifier(NBPreviewHelper())) {
22 | @Previewable @State var value = 0
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | VStack(spacing: 12.0) {
24 | NBRoundSkeleton()
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/RoundSkeleton.swift:21:2: error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
19 |
20 | @available(iOS 18.0, *)
21 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
22 | @Previewable @State var value = 0
23 | VStack(spacing: 12.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/RoundSkeleton.swift:21:19: error: 'modifier' is only available in macOS 15.0 or newer
19 |
20 | @available(iOS 18.0, *)
21 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'modifier' is only available in macOS 15.0 or newer
22 | @Previewable @State var value = 0
23 | VStack(spacing: 12.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/RoundSkeleton.swift:23:5: error: 'VStack' is only available in macOS 10.15 or newer
21 | #Preview(traits: .modifier(NBPreviewHelper())) {
22 | @Previewable @State var value = 0
23 | VStack(spacing: 12.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | NBRoundSkeleton()
25 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/RoundSkeleton.swift:27:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
25 |
26 | NBRoundSkeleton()
27 | .frame(width: 120, height: 120)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/TextSkeleton.swift:19:6: error: 'Previewable()' is only available in macOS 14.0 or newer
17 | @available(iOS 18.0, *)
18 | #Preview(traits: .modifier(NBPreviewHelper())) {
19 | @Previewable @State var value = 0
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
20 | VStack(spacing: 12.0) {
21 | NBTextSkeleton()
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/TextSkeleton.swift:19:19: error: 'State' is only available in macOS 10.15 or newer
17 | @available(iOS 18.0, *)
18 | #Preview(traits: .modifier(NBPreviewHelper())) {
19 | @Previewable @State var value = 0
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | VStack(spacing: 12.0) {
21 | NBTextSkeleton()
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/TextSkeleton.swift:18:2: error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
16 |
17 | @available(iOS 18.0, *)
18 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
19 | @Previewable @State var value = 0
20 | VStack(spacing: 12.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/TextSkeleton.swift:18:19: error: 'modifier' is only available in macOS 15.0 or newer
16 |
17 | @available(iOS 18.0, *)
18 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'modifier' is only available in macOS 15.0 or newer
19 | @Previewable @State var value = 0
20 | VStack(spacing: 12.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/TextSkeleton.swift:20:5: error: 'VStack' is only available in macOS 10.15 or newer
18 | #Preview(traits: .modifier(NBPreviewHelper())) {
19 | @Previewable @State var value = 0
20 | VStack(spacing: 12.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | NBTextSkeleton()
22 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/TextSkeleton.swift:24:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
22 |
23 | NBTextSkeleton()
24 | .frame(width: 120, height: 20.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:59:6: error: 'Previewable()' is only available in macOS 14.0 or newer
57 | @available(iOS 18.0, *)
58 | #Preview(traits: .modifier(NBPreviewHelper())) {
59 | @Previewable @State var sliderValue: CGFloat = 0.5
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
60 |
61 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:59:19: error: 'State' is only available in macOS 10.15 or newer
57 | @available(iOS 18.0, *)
58 | #Preview(traits: .modifier(NBPreviewHelper())) {
59 | @Previewable @State var sliderValue: CGFloat = 0.5
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 |
61 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:58:2: error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
56 |
57 | @available(iOS 18.0, *)
58 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
59 | @Previewable @State var sliderValue: CGFloat = 0.5
60 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:58:19: error: 'modifier' is only available in macOS 15.0 or newer
56 |
57 | @available(iOS 18.0, *)
58 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'modifier' is only available in macOS 15.0 or newer
59 | @Previewable @State var sliderValue: CGFloat = 0.5
60 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:61:5: error: 'VStack' is only available in macOS 10.15 or newer
59 | @Previewable @State var sliderValue: CGFloat = 0.5
60 |
61 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | ZStack {
63 | HStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:62:9: error: 'ZStack' is only available in macOS 10.15 or newer
60 |
61 | VStack {
62 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | HStack(alignment: .center) {
64 | Text("\(sliderValue, specifier: "%.2f")")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:63:13: error: 'HStack' is only available in macOS 10.15 or newer
61 | VStack {
62 | ZStack {
63 | HStack(alignment: .center) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | Text("\(sliderValue, specifier: "%.2f")")
65 | .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:63:32: error: 'center' is only available in macOS 10.15 or newer
61 | VStack {
62 | ZStack {
63 | HStack(alignment: .center) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | Text("\(sliderValue, specifier: "%.2f")")
65 | .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:64:17: error: 'Text' is only available in macOS 10.15 or newer
62 | ZStack {
63 | HStack(alignment: .center) {
64 | Text("\(sliderValue, specifier: "%.2f")")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .padding(.horizontal)
66 | .frame(width: 100.0)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:64:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
62 | ZStack {
63 | HStack(alignment: .center) {
64 | Text("\(sliderValue, specifier: "%.2f")")
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .padding(.horizontal)
66 | .frame(width: 100.0)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:64:22: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
62 | ZStack {
63 | HStack(alignment: .center) {
64 | Text("\(sliderValue, specifier: "%.2f")")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .padding(.horizontal)
66 | .frame(width: 100.0)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:64:24: error: conformance of 'CGFloat' to '_FormatSpecifiable' is only available in macOS 10.15 or newer
62 | ZStack {
63 | HStack(alignment: .center) {
64 | Text("\(sliderValue, specifier: "%.2f")")
| |- error: conformance of 'CGFloat' to '_FormatSpecifiable' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .padding(.horizontal)
66 | .frame(width: 100.0)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:65:22: error: 'padding' is only available in macOS 10.15 or newer
63 | HStack(alignment: .center) {
64 | Text("\(sliderValue, specifier: "%.2f")")
65 | .padding(.horizontal)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .frame(width: 100.0)
67 | NBSlider(value: $sliderValue)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:66:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
64 | Text("\(sliderValue, specifier: "%.2f")")
65 | .padding(.horizontal)
66 | .frame(width: 100.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | NBSlider(value: $sliderValue)
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:59:6: error: 'Previewable()' is only available in macOS 14.0 or newer
57 | @available(iOS 18.0, *)
58 | #Preview(traits: .modifier(NBPreviewHelper())) {
59 | @Previewable @State var switchState1 = true
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
60 | @Previewable @State var switchState2 = false
61 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:59:19: error: 'State' is only available in macOS 10.15 or newer
57 | @available(iOS 18.0, *)
58 | #Preview(traits: .modifier(NBPreviewHelper())) {
59 | @Previewable @State var switchState1 = true
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | @Previewable @State var switchState2 = false
61 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:60:6: error: 'Previewable()' is only available in macOS 14.0 or newer
58 | #Preview(traits: .modifier(NBPreviewHelper())) {
59 | @Previewable @State var switchState1 = true
60 | @Previewable @State var switchState2 = false
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
61 |
62 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:60:19: error: 'State' is only available in macOS 10.15 or newer
58 | #Preview(traits: .modifier(NBPreviewHelper())) {
59 | @Previewable @State var switchState1 = true
60 | @Previewable @State var switchState2 = false
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 |
62 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:58:2: error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
56 |
57 | @available(iOS 18.0, *)
58 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
59 | @Previewable @State var switchState1 = true
60 | @Previewable @State var switchState2 = false
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:58:19: error: 'modifier' is only available in macOS 15.0 or newer
56 |
57 | @available(iOS 18.0, *)
58 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'modifier' is only available in macOS 15.0 or newer
59 | @Previewable @State var switchState1 = true
60 | @Previewable @State var switchState2 = false
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:62:5: error: 'VStack' is only available in macOS 10.15 or newer
60 | @Previewable @State var switchState2 = false
61 |
62 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | HStack {
64 | Toggle(isOn: $switchState1) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:62:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
60 | @Previewable @State var switchState2 = false
61 |
62 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | HStack {
64 | Toggle(isOn: $switchState1) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:62:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
60 | @Previewable @State var switchState2 = false
61 |
62 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | HStack {
64 | Toggle(isOn: $switchState1) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:63:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
61 |
62 | VStack {
63 | HStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | Toggle(isOn: $switchState1) {
65 | Text("Switch")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:63:9: error: 'HStack' is only available in macOS 10.15 or newer
61 |
62 | VStack {
63 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | Toggle(isOn: $switchState1) {
65 | Text("Switch")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:63:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
61 |
62 | VStack {
63 | HStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | Toggle(isOn: $switchState1) {
65 | Text("Switch")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:63:16: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
61 |
62 | VStack {
63 | HStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | Toggle(isOn: $switchState1) {
65 | Text("Switch")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:64:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
62 | VStack {
63 | HStack {
64 | Toggle(isOn: $switchState1) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | Text("Switch")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:64:13: error: 'Toggle' is only available in macOS 10.15 or newer
62 | VStack {
63 | HStack {
64 | Toggle(isOn: $switchState1) {
| |- error: 'Toggle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | Text("Switch")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:64:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
62 | VStack {
63 | HStack {
64 | Toggle(isOn: $switchState1) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | Text("Switch")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:65:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
63 | HStack {
64 | Toggle(isOn: $switchState1) {
65 | Text("Switch")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:65:17: error: 'Text' is only available in macOS 10.15 or newer
63 | HStack {
64 | Toggle(isOn: $switchState1) {
65 | Text("Switch")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:64:41: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
62 | VStack {
63 | HStack {
64 | Toggle(isOn: $switchState1) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | Text("Switch")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:63:16: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
61 |
62 | VStack {
63 | HStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | Toggle(isOn: $switchState1) {
65 | Text("Switch")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:69:9: error: 'Toggle' is only available in macOS 10.15 or newer
67 | }
68 |
69 | Toggle(isOn: $switchState1) {}
| |- error: 'Toggle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .disabled(true)
71 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:70:14: error: 'disabled' is only available in macOS 10.15 or newer
68 |
69 | Toggle(isOn: $switchState1) {}
70 | .disabled(true)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 |
72 | Toggle(isOn: $switchState2) {}
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:72:9: error: 'Toggle' is only available in macOS 10.15 or newer
70 | .disabled(true)
71 |
72 | Toggle(isOn: $switchState2) {}
| |- error: 'Toggle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | .disabled(true)
74 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:73:14: error: 'disabled' is only available in macOS 10.15 or newer
71 |
72 | Toggle(isOn: $switchState2) {}
73 | .disabled(true)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 |
75 | Toggle(isOn: $switchState2) {}
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:75:9: error: 'Toggle' is only available in macOS 10.15 or newer
73 | .disabled(true)
74 |
75 | Toggle(isOn: $switchState2) {}
| |- error: 'Toggle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 |
77 | }.toggleStyle(.neoBrutalismSwitch)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:62:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
60 | @Previewable @State var switchState2 = false
61 |
62 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | HStack {
64 | Toggle(isOn: $switchState1) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:77:7: error: 'toggleStyle' is only available in macOS 10.15 or newer
75 | Toggle(isOn: $switchState2) {}
76 |
77 | }.toggleStyle(.neoBrutalismSwitch)
| |- error: 'toggleStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:34:6: error: 'Previewable()' is only available in macOS 14.0 or newer
32 | @available(iOS 18.0, *)
33 | #Preview(traits: .modifier(NBPreviewHelper())) {
34 | @Previewable @State var value = 0
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 |
36 | VStack(spacing: 24.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:34:19: error: 'State' is only available in macOS 10.15 or newer
32 | @available(iOS 18.0, *)
33 | #Preview(traits: .modifier(NBPreviewHelper())) {
34 | @Previewable @State var value = 0
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 |
36 | VStack(spacing: 24.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:33:2: error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
31 |
32 | @available(iOS 18.0, *)
33 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
34 | @Previewable @State var value = 0
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:33:19: error: 'modifier' is only available in macOS 15.0 or newer
31 |
32 | @available(iOS 18.0, *)
33 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'modifier' is only available in macOS 15.0 or newer
34 | @Previewable @State var value = 0
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:36:5: error: 'VStack' is only available in macOS 10.15 or newer
34 | @Previewable @State var value = 0
35 |
36 | VStack(spacing: 24.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:36:27: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
34 | @Previewable @State var value = 0
35 |
36 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:36:27: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
34 | @Previewable @State var value = 0
35 |
36 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:36:27: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
34 | @Previewable @State var value = 0
35 |
36 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:37:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
35 |
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:37:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
35 |
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:37:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
35 |
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:37:41: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
35 |
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:37:41: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
35 |
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:37:41: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
35 |
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:38:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:38:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:38:24: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:38:24: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:39:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:39:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:39:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:39:45: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:39:45: error: 'Text' is only available in macOS 10.15 or newer
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:39:43: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:40:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | }
42 | NBFlatCard {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:40:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | }
42 | NBFlatCard {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:40:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | }
42 | NBFlatCard {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:40:45: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | }
42 | NBFlatCard {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:40:45: error: 'Text' is only available in macOS 10.15 or newer
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | }
42 | NBFlatCard {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:40:43: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
38 | NBTabsList {
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | }
42 | NBFlatCard {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:38:24: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:38:24: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
36 | VStack(spacing: 24.0) {
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | NBTabsTrigger(tabItem: 0) { Text("First") }
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:42:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
41 | }
42 | NBFlatCard {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | ZStack {
44 | NBTabsContent(tabItem: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:42:24: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
40 | NBTabsTrigger(tabItem: 1) { Text("Second") }
41 | }
42 | NBFlatCard {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | ZStack {
44 | NBTabsContent(tabItem: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:43:17: error: 'ZStack' is only available in macOS 10.15 or newer
41 | }
42 | NBFlatCard {
43 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | NBTabsContent(tabItem: 0) {
45 | Text("First")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:43:24: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
41 | }
42 | NBFlatCard {
43 | ZStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | NBTabsContent(tabItem: 0) {
45 | Text("First")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:44:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
42 | NBFlatCard {
43 | ZStack {
44 | NBTabsContent(tabItem: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | Text("First")
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:44:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
42 | NBFlatCard {
43 | ZStack {
44 | NBTabsContent(tabItem: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | Text("First")
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:44:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
42 | NBFlatCard {
43 | ZStack {
44 | NBTabsContent(tabItem: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | Text("First")
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:45:25: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
43 | ZStack {
44 | NBTabsContent(tabItem: 0) {
45 | Text("First")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | NBTabsContent(tabItem: 1) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:45:25: error: 'Text' is only available in macOS 10.15 or newer
43 | ZStack {
44 | NBTabsContent(tabItem: 0) {
45 | Text("First")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | NBTabsContent(tabItem: 1) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:44:47: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
42 | NBFlatCard {
43 | ZStack {
44 | NBTabsContent(tabItem: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | Text("First")
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:48:25: error: 'VStack' is only available in macOS 10.15 or newer
46 | }
47 | NBTabsContent(tabItem: 1) {
48 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | Text("Second")
50 | Text("Second")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:49:29: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
47 | NBTabsContent(tabItem: 1) {
48 | VStack {
49 | Text("Second")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | Text("Second")
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:49:29: error: 'Text' is only available in macOS 10.15 or newer
47 | NBTabsContent(tabItem: 1) {
48 | VStack {
49 | Text("Second")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | Text("Second")
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:50:29: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
48 | VStack {
49 | Text("Second")
50 | Text("Second")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:50:29: error: 'Text' is only available in macOS 10.15 or newer
48 | VStack {
49 | Text("Second")
50 | Text("Second")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:48:32: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
46 | }
47 | NBTabsContent(tabItem: 1) {
48 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | Text("Second")
50 | Text("Second")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:48:32: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
46 | }
47 | NBTabsContent(tabItem: 1) {
48 | VStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | Text("Second")
50 | Text("Second")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:43:24: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
41 | }
42 | NBFlatCard {
43 | ZStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | NBTabsContent(tabItem: 0) {
45 | Text("First")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:56:9: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
54 | }
55 | }
56 | Spacer()
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:56:9: error: 'Spacer' is only available in macOS 10.15 or newer
54 | }
55 | }
56 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:36:27: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
34 | @Previewable @State var value = 0
35 |
36 | VStack(spacing: 24.0) {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | NBTabs(selectedTabItem: $value) {
38 | NBTabsList {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:25:6: error: 'Previewable()' is only available in macOS 14.0 or newer
23 | @available(iOS 18.0, *)
24 | #Preview(traits: .modifier(NBPreviewHelper())) {
25 | @Previewable @State var value = 0
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 |
27 | VStack(spacing: 24.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:25:19: error: 'State' is only available in macOS 10.15 or newer
23 | @available(iOS 18.0, *)
24 | #Preview(traits: .modifier(NBPreviewHelper())) {
25 | @Previewable @State var value = 0
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 |
27 | VStack(spacing: 24.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:24:2: error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
22 |
23 | @available(iOS 18.0, *)
24 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'Preview(_:traits:_:body:)' is only available in macOS 14.0 or newer
25 | @Previewable @State var value = 0
26 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:24:19: error: 'modifier' is only available in macOS 15.0 or newer
22 |
23 | @available(iOS 18.0, *)
24 | #Preview(traits: .modifier(NBPreviewHelper())) {
| `- error: 'modifier' is only available in macOS 15.0 or newer
25 | @Previewable @State var value = 0
26 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:27:5: error: 'VStack' is only available in macOS 10.15 or newer
25 | @Previewable @State var value = 0
26 |
27 | VStack(spacing: 24.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:27:5: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
25 | @Previewable @State var value = 0
26 |
27 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:27:27: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
25 | @Previewable @State var value = 0
26 |
27 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:27:27: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
25 | @Previewable @State var value = 0
26 |
27 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:28:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
26 |
27 | VStack(spacing: 24.0) {
28 | NBFlatCard {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | NBTabsContent(tabItem: 0) {
30 | Text("First")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:28:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
26 |
27 | VStack(spacing: 24.0) {
28 | NBFlatCard {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | NBTabsContent(tabItem: 0) {
30 | Text("First")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:28:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
26 |
27 | VStack(spacing: 24.0) {
28 | NBFlatCard {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | NBTabsContent(tabItem: 0) {
30 | Text("First")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:28:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
26 |
27 | VStack(spacing: 24.0) {
28 | NBFlatCard {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | NBTabsContent(tabItem: 0) {
30 | Text("First")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:28:20: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
26 |
27 | VStack(spacing: 24.0) {
28 | NBFlatCard {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | NBTabsContent(tabItem: 0) {
30 | Text("First")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:29:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
27 | VStack(spacing: 24.0) {
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Text("First")
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:29:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
27 | VStack(spacing: 24.0) {
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Text("First")
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:29:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
27 | VStack(spacing: 24.0) {
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Text("First")
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:30:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
30 | Text("First")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:30:17: error: 'Text' is only available in macOS 10.15 or newer
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
30 | Text("First")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:29:39: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
27 | VStack(spacing: 24.0) {
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Text("First")
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:28:20: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
26 |
27 | VStack(spacing: 24.0) {
28 | NBFlatCard {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | NBTabsContent(tabItem: 0) {
30 | Text("First")
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:27:27: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
25 | @Previewable @State var value = 0
26 |
27 | VStack(spacing: 24.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | NBFlatCard {
29 | NBTabsContent(tabItem: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:34:6: error: 'environment' is only available in macOS 10.15 or newer
32 | }
33 | }
34 | .environment(\.nbSelectedTabItem, 0)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:3:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | @Entry var nbTheme: NBTheme = .default
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:8:44: error: 'View' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public extension View {
| `- note: add @available attribute to enclosing extension
8 | func nbTheme(_ theme: NBTheme) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
9 | environment(\.nbTheme, theme)
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:7:18: error: 'View' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
8 | func nbTheme(_ theme: NBTheme) -> some View {
9 | environment(\.nbTheme, theme)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:34:45: error: 'clear' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
32 | public private(set) var mainText: Color
33 |
34 | public private(set) var clear: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
35 |
36 | // MARK: Spacings
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:16:35: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
16 | public private(set) var main: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
17 |
18 | /* white and secondary black - main color when the UI element should be emphasised */
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:19:33: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
17 |
18 | /* white and secondary black - main color when the UI element should be emphasised */
19 | public private(set) var bw: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | public private(set) var overlay: Color
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:21:38: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
19 | public private(set) var bw: Color
20 |
21 | public private(set) var overlay: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
22 |
23 | public private(set) var background: Color
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:23:41: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
21 | public private(set) var overlay: Color
22 |
23 | public private(set) var background: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
24 |
25 | public private(set) var blank: Color
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:25:36: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
23 | public private(set) var background: Color
24 |
25 | public private(set) var blank: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
26 |
27 | public private(set) var border: Color
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:27:37: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
25 | public private(set) var blank: Color
26 |
27 | public private(set) var border: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
28 |
29 | public private(set) var text: Color
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:29:35: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
27 | public private(set) var border: Color
28 |
29 | public private(set) var text: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
30 |
31 | /* text that is placed on background with main color */
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:32:39: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
30 |
31 | /* text that is placed on background with main color */
32 | public private(set) var mainText: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
33 |
34 | public private(set) var clear: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:34:36: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
32 | public private(set) var mainText: Color
33 |
34 | public private(set) var clear: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
35 |
36 | // MARK: Spacings
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:180:56: error: cannot find type 'UIColor' in scope
178 | public extension Color {
179 | init(
180 | light lightColor: @escaping @autoclosure () -> UIColor,
| `- error: cannot find type 'UIColor' in scope
181 | dark darkColor: @escaping @autoclosure () -> UIColor
182 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:180:27: error: @escaping attribute only applies to function types
178 | public extension Color {
179 | init(
180 | light lightColor: @escaping @autoclosure () -> UIColor,
| `- error: @escaping attribute only applies to function types
181 | dark darkColor: @escaping @autoclosure () -> UIColor
182 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:181:54: error: cannot find type 'UIColor' in scope
179 | init(
180 | light lightColor: @escaping @autoclosure () -> UIColor,
181 | dark darkColor: @escaping @autoclosure () -> UIColor
| `- error: cannot find type 'UIColor' in scope
182 | ) {
183 | self.init(UIColor(light: lightColor(), dark: darkColor()))
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:181:25: error: @escaping attribute only applies to function types
179 | init(
180 | light lightColor: @escaping @autoclosure () -> UIColor,
181 | dark darkColor: @escaping @autoclosure () -> UIColor
| `- error: @escaping attribute only applies to function types
182 | ) {
183 | self.init(UIColor(light: lightColor(), dark: darkColor()))
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:61:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
59 | // MARK: Themes
60 |
61 | public static let `default`: NBTheme = .init(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
62 | main: Color(
63 | light: .rgb(0.533, 0.667, 0.933),
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:102:15: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
99 | )
100 |
101 | public func updateBy(
| `- note: add @available attribute to enclosing instance method
102 | main: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
103 | bw: Color? = nil,
104 | overlay: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:103:13: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
99 | )
100 |
101 | public func updateBy(
| `- note: add @available attribute to enclosing instance method
102 | main: Color? = nil,
103 | bw: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
104 | overlay: Color? = nil,
105 | background: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:104:18: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
99 | )
100 |
101 | public func updateBy(
| `- note: add @available attribute to enclosing instance method
102 | main: Color? = nil,
103 | bw: Color? = nil,
104 | overlay: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
105 | background: Color? = nil,
106 | blank: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:105:21: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
99 | )
100 |
101 | public func updateBy(
| `- note: add @available attribute to enclosing instance method
102 | main: Color? = nil,
103 | bw: Color? = nil,
104 | overlay: Color? = nil,
105 | background: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
106 | blank: Color? = nil,
107 | border: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:106:16: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
99 | )
100 |
101 | public func updateBy(
| `- note: add @available attribute to enclosing instance method
102 | main: Color? = nil,
103 | bw: Color? = nil,
104 | overlay: Color? = nil,
105 | background: Color? = nil,
106 | blank: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
107 | border: Color? = nil,
108 | text: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:107:17: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
99 | )
100 |
101 | public func updateBy(
| `- note: add @available attribute to enclosing instance method
102 | main: Color? = nil,
103 | bw: Color? = nil,
:
105 | background: Color? = nil,
106 | blank: Color? = nil,
107 | border: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
108 | text: Color? = nil,
109 | mainText: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:108:15: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
99 | )
100 |
101 | public func updateBy(
| `- note: add @available attribute to enclosing instance method
102 | main: Color? = nil,
103 | bw: Color? = nil,
:
106 | blank: Color? = nil,
107 | border: Color? = nil,
108 | text: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
109 | mainText: Color? = nil,
110 | smsize: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:109:19: error: 'Color' is only available in macOS 10.15 or newer
11 | }
12 |
13 | public struct NBTheme: Sendable {
| `- note: add @available attribute to enclosing struct
14 | // MARK: Color
15 |
:
99 | )
100 |
101 | public func updateBy(
| `- note: add @available attribute to enclosing instance method
102 | main: Color? = nil,
103 | bw: Color? = nil,
:
107 | border: Color? = nil,
108 | text: Color? = nil,
109 | mainText: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
110 | smsize: CGFloat? = nil,
111 | size: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:150:18: error: cannot find type 'UIColor' in scope
148 | }
149 |
150 | public extension UIColor {
| `- error: cannot find type 'UIColor' in scope
151 | convenience init(
152 | light lightColor: @escaping @autoclosure () -> UIColor,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Common/Theme.swift:178:18: error: 'Color' is only available in macOS 10.15 or newer
176 | }
177 |
178 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
179 | init(
180 | light lightColor: @escaping @autoclosure () -> UIColor,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Accordian.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAccordion<Trigger, Content>: View where Trigger: View, Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 |
6 | let trigger: Trigger
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Accordian.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAccordion<Trigger, Content>: View where Trigger: View, Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
:
7 | let content: Content
8 |
9 | @State private var isExpanded = false
| `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 | public init(@ViewBuilder trigger: () -> Trigger, @ViewBuilder content: () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Accordian.swift:11:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAccordion<Trigger, Content>: View where Trigger: View, Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
:
9 | @State private var isExpanded = false
10 |
11 | public init(@ViewBuilder trigger: () -> Trigger, @ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
12 | self.trigger = trigger()
13 | self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Accordian.swift:11:55: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAccordion<Trigger, Content>: View where Trigger: View, Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
:
9 | @State private var isExpanded = false
10 |
11 | public init(@ViewBuilder trigger: () -> Trigger, @ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
12 | self.trigger = trigger()
13 | self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Accordian.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAccordion<Trigger, Content>: View where Trigger: View, Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
:
14 | }
15 |
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 | ZStack {
18 | VStack(spacing: 0.0) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Accordian.swift:3:66: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAccordion<Trigger, Content>: View where Trigger: View, Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Accordian.swift:3:81: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAccordion<Trigger, Content>: View where Trigger: View, Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Accordian.swift:48:34: error: 'View' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension NBAccordion {
| `- note: add @available attribute to enclosing extension
48 | var triggerWrappedView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
49 | ZStack {
50 | theme.main
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:8:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAlert<Icon, Head, Desc>: View where Icon: View, Head: View, Desc: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum AlertType {
5 | case `default`, neutral
6 | }
7 |
8 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
9 |
10 | private let type: AlertType
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:16:38: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAlert<Icon, Head, Desc>: View where Icon: View, Head: View, Desc: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum AlertType {
5 | case `default`, neutral
:
14 | private let head: Head
15 |
16 | private var textForegroundColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | switch type {
18 | case .default:
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:26:38: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAlert<Icon, Head, Desc>: View where Icon: View, Head: View, Desc: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum AlertType {
5 | case `default`, neutral
:
23 | }
24 |
25 | public init(
| `- note: add @available attribute to enclosing initializer
26 | type: AlertType = .default, @ViewBuilder desc: () -> Desc,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 | @ViewBuilder icon: () -> Icon = { EmptyView() }, @ViewBuilder head: () -> Head
28 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:27:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAlert<Icon, Head, Desc>: View where Icon: View, Head: View, Desc: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum AlertType {
5 | case `default`, neutral
:
23 | }
24 |
25 | public init(
| `- note: add @available attribute to enclosing initializer
26 | type: AlertType = .default, @ViewBuilder desc: () -> Desc,
27 | @ViewBuilder icon: () -> Icon = { EmptyView() }, @ViewBuilder head: () -> Head
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ) {
29 | self.type = type
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:27:59: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAlert<Icon, Head, Desc>: View where Icon: View, Head: View, Desc: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum AlertType {
5 | case `default`, neutral
:
23 | }
24 |
25 | public init(
| `- note: add @available attribute to enclosing initializer
26 | type: AlertType = .default, @ViewBuilder desc: () -> Desc,
27 | @ViewBuilder icon: () -> Icon = { EmptyView() }, @ViewBuilder head: () -> Head
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ) {
29 | self.type = type
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAlert<Icon, Head, Desc>: View where Icon: View, Head: View, Desc: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum AlertType {
5 | case `default`, neutral
:
33 | }
34 |
35 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
36 | ZStack {
37 | HStack(alignment: .top) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:3:59: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAlert<Icon, Head, Desc>: View where Icon: View, Head: View, Desc: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | public enum AlertType {
5 | case `default`, neutral
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:3:71: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAlert<Icon, Head, Desc>: View where Icon: View, Head: View, Desc: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | public enum AlertType {
5 | case `default`, neutral
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:3:83: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBAlert<Icon, Head, Desc>: View where Icon: View, Head: View, Desc: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | public enum AlertType {
5 | case `default`, neutral
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:56:31: error: 'View' is only available in macOS 10.15 or newer
53 | }
54 |
55 | extension NBAlert {
| `- note: add @available attribute to enclosing extension
56 | var iconWrappedView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
57 | icon
58 | .frame(minWidth: theme.size)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Alert.swift:63:26: error: 'Color' is only available in macOS 10.15 or newer
53 | }
54 |
55 | extension NBAlert {
| `- note: add @available attribute to enclosing extension
56 | var iconWrappedView: some View {
57 | icon
:
61 | }
62 |
63 | var backgroundColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
64 | switch type {
65 | case .default:
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Badge.swift:8:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBBadge<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum BadgeType {
5 | case `default`, neutral
6 | }
7 |
8 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
9 |
10 | private let type: BadgeType
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Badge.swift:13:46: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBBadge<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum BadgeType {
5 | case `default`, neutral
:
11 | private let content: Content
12 |
13 | public init(type: BadgeType = .default, @ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | self.type = type
15 | self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Badge.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBBadge<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum BadgeType {
5 | case `default`, neutral
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | ZStack {
20 | content
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Badge.swift:3:53: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBBadge<Content>: View where Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | public enum BadgeType {
5 | case `default`, neutral
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Badge.swift:32:38: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | extension NBBadge {
| `- note: add @available attribute to enclosing extension
32 | private var textForegroundColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
33 | switch type {
34 | case .default:
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Badge.swift:41:34: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | extension NBBadge {
| `- note: add @available attribute to enclosing extension
32 | private var textForegroundColor: Color {
33 | switch type {
:
39 | }
40 |
41 | private var backgroundColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
42 | switch type {
43 | case .default:
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Button.swift:3:18: error: 'ButtonStyle' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension ButtonStyle where Self == NBButtonStyle {
| | `- error: 'ButtonStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | static func neoBrutalism(type: NBButtonStyle.ButtonType = .default, variant: NBButtonStyle.ShadowVariant = .default) -> NBButtonStyle {
5 | return .init(type: type, variant: variant)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Button.swift:18:6: error: 'Environment' is only available in macOS 10.15 or newer
7 | }
8 |
9 | public struct NBButtonStyle: ButtonStyle {
| `- note: add @available attribute to enclosing struct
10 | public enum ButtonType {
11 | case `default`, neutral
:
16 | }
17 |
18 | @Environment(\.nbTheme) private var theme
| `- error: 'Environment' is only available in macOS 10.15 or newer
19 |
20 | init(type: ButtonType = .default, variant: ShadowVariant = .default) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Button.swift:28:64: error: 'View' is only available in macOS 10.15 or newer
7 | }
8 |
9 | public struct NBButtonStyle: ButtonStyle {
| `- note: add @available attribute to enclosing struct
10 | public enum ButtonType {
11 | case `default`, neutral
:
26 | let variant: ShadowVariant
27 |
28 | public func makeBody(configuration: Configuration) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
29 | let isPressed = configuration.isPressed
30 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Button.swift:47:38: error: 'Color' is only available in macOS 10.15 or newer
7 | }
8 |
9 | public struct NBButtonStyle: ButtonStyle {
| `- note: add @available attribute to enclosing struct
10 | public enum ButtonType {
11 | case `default`, neutral
:
45 | }
46 |
47 | private var textForegroundColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
48 | switch type {
49 | case .default: return theme.mainText
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Button.swift:54:34: error: 'Color' is only available in macOS 10.15 or newer
7 | }
8 |
9 | public struct NBButtonStyle: ButtonStyle {
| `- note: add @available attribute to enclosing struct
10 | public enum ButtonType {
11 | case `default`, neutral
:
52 | }
53 |
54 | private var backgroundColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
55 | switch type {
56 | case .default: return theme.main
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:8:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBCard<Header, Main, Footer>: View where Header: View, Main: View, Footer: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum CardType {
5 | case `default`, neutral
6 | }
7 |
8 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
9 |
10 | let type: CardType
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:17:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBCard<Header, Main, Footer>: View where Header: View, Main: View, Footer: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum CardType {
5 | case `default`, neutral
:
13 | let footer: Footer?
14 |
15 | public init(
| `- note: add @available attribute to enclosing initializer
16 | type: CardType = .default,
17 | @ViewBuilder header: () -> Header? = { EmptyView() },
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
18 | @ViewBuilder main: () -> Main,
19 | @ViewBuilder footer: () -> Footer? = { EmptyView() }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:18:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBCard<Header, Main, Footer>: View where Header: View, Main: View, Footer: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum CardType {
5 | case `default`, neutral
:
13 | let footer: Footer?
14 |
15 | public init(
| `- note: add @available attribute to enclosing initializer
16 | type: CardType = .default,
17 | @ViewBuilder header: () -> Header? = { EmptyView() },
18 | @ViewBuilder main: () -> Main,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
19 | @ViewBuilder footer: () -> Footer? = { EmptyView() }
20 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:19:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBCard<Header, Main, Footer>: View where Header: View, Main: View, Footer: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum CardType {
5 | case `default`, neutral
:
13 | let footer: Footer?
14 |
15 | public init(
| `- note: add @available attribute to enclosing initializer
16 | type: CardType = .default,
17 | @ViewBuilder header: () -> Header? = { EmptyView() },
18 | @ViewBuilder main: () -> Main,
19 | @ViewBuilder footer: () -> Footer? = { EmptyView() }
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
20 | ) {
21 | self.type = type
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:17:48: error: 'EmptyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBCard<Header, Main, Footer>: View where Header: View, Main: View, Footer: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum CardType {
5 | case `default`, neutral
:
13 | let footer: Footer?
14 |
15 | public init(
| `- note: add @available attribute to enclosing initializer
16 | type: CardType = .default,
17 | @ViewBuilder header: () -> Header? = { EmptyView() },
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | @ViewBuilder main: () -> Main,
19 | @ViewBuilder footer: () -> Footer? = { EmptyView() }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:19:48: error: 'EmptyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBCard<Header, Main, Footer>: View where Header: View, Main: View, Footer: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum CardType {
5 | case `default`, neutral
:
13 | let footer: Footer?
14 |
15 | public init(
| `- note: add @available attribute to enclosing initializer
16 | type: CardType = .default,
17 | @ViewBuilder header: () -> Header? = { EmptyView() },
18 | @ViewBuilder main: () -> Main,
19 | @ViewBuilder footer: () -> Footer? = { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | ) {
21 | self.type = type
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBCard<Header, Main, Footer>: View where Header: View, Main: View, Footer: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum CardType {
5 | case `default`, neutral
:
25 | }
26 |
27 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
28 | ZStack {
29 | VStack(alignment: .leading, spacing: theme.spacing) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:3:64: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBCard<Header, Main, Footer>: View where Header: View, Main: View, Footer: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | public enum CardType {
5 | case `default`, neutral
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:3:76: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBCard<Header, Main, Footer>: View where Header: View, Main: View, Footer: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | public enum CardType {
5 | case `default`, neutral
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:3:90: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBCard<Header, Main, Footer>: View where Header: View, Main: View, Footer: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | public enum CardType {
5 | case `default`, neutral
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:49:38: error: 'Color' is only available in macOS 10.15 or newer
46 | }
47 |
48 | extension NBCard {
| `- note: add @available attribute to enclosing extension
49 | private var textForegroundColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
50 | switch type {
51 | case .default:
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Card.swift:58:34: error: 'Color' is only available in macOS 10.15 or newer
46 | }
47 |
48 | extension NBCard {
| `- note: add @available attribute to enclosing extension
49 | private var textForegroundColor: Color {
50 | switch type {
:
56 | }
57 |
58 | private var backgroundColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | switch type {
60 | case .default:
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Checbox/ChecboxShape.swift:4:35: error: 'Path' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct NBCheckboxShape: Shape {
| `- note: add @available attribute to enclosing struct
4 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
5 | var path = Path()
6 | let scale = min(rect.width, rect.height) / 16.0
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Checbox/Checkbox.swift:3:18: error: 'ToggleStyle' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension ToggleStyle where Self == NBCheckboxToggleStyle {
| | `- error: 'ToggleStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | static var neoBrutalismChecklist: NBCheckboxToggleStyle { .init() }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Checbox/Checkbox.swift:8:6: error: 'Environment' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBCheckboxToggleStyle: ToggleStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
9 |
10 | public func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Checbox/Checkbox.swift:10:64: error: 'View' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBCheckboxToggleStyle: ToggleStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.nbTheme) var theme: NBTheme
9 |
10 | public func makeBody(configuration: Configuration) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
11 | Button {
12 | withAnimation(.interactiveSpring) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Checbox/Checkbox.swift:26:69: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | extension NBCheckboxToggleStyle {
| `- note: add @available attribute to enclosing extension
26 | private func makeCheckbox(configuration: Configuration) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
27 | ZStack {
28 | if configuration.isOn {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Checbox/Checkbox.swift:47:37: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | extension NBCheckboxToggleStyle {
| `- note: add @available attribute to enclosing extension
26 | private func makeCheckbox(configuration: Configuration) -> some View {
27 | ZStack {
:
45 | }
46 |
47 | private var checkboxShape: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
48 | NBCheckboxShape()
49 | .stroke(theme.border, style: StrokeStyle(lineWidth: theme.borderWidth, lineCap: .round, lineJoin: .round))
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Checbox/Checkbox.swift:73:2: note: expanded code originates here
71 | Toggle(isOn: $checkboxState2) {}
72 | }.toggleStyle(.neoBrutalismChecklist)
73 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var checkboxState1 = true
+--------------------------------------------------------------------
74 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:3:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | @Entry var nbCollapsableDidToggle: NBCollapsable.CollapsableDidToggle = {}
5 | @Entry var nbCollapsableIsExpanded: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:9:6: error: 'Environment' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBCollapsableContent<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
9 | @Environment(\.nbCollapsableIsExpanded) var isExpanded
| `- error: 'Environment' is only available in macOS 10.15 or newer
10 |
11 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:13:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBCollapsableContent<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
9 | @Environment(\.nbCollapsableIsExpanded) var isExpanded
10 |
11 | let content: Content
12 |
13 | public init(@ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | self.content = content()
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:17:27: error: 'View' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBCollapsableContent<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
9 | @Environment(\.nbCollapsableIsExpanded) var isExpanded
10 |
:
15 | }
16 |
17 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
18 | if isExpanded {
19 | content
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:8:66: error: 'View' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBCollapsableContent<Content>: View where Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
9 | @Environment(\.nbCollapsableIsExpanded) var isExpanded
10 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:25:6: error: 'Environment' is only available in macOS 10.15 or newer
22 | }
23 |
24 | public struct NBCollapsibleTrigger<Trigger>: View where Trigger: View {
| `- note: add @available attribute to enclosing generic struct
25 | @Environment(\.nbCollapsableDidToggle) var collapsableDidToggle
| `- error: 'Environment' is only available in macOS 10.15 or newer
26 |
27 | let trigger: Trigger
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:29:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
22 | }
23 |
24 | public struct NBCollapsibleTrigger<Trigger>: View where Trigger: View {
| `- note: add @available attribute to enclosing generic struct
25 | @Environment(\.nbCollapsableDidToggle) var collapsableDidToggle
26 |
27 | let trigger: Trigger
28 |
29 | public init(@ViewBuilder trigger: () -> Trigger) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
30 | self.trigger = trigger()
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:33:27: error: 'View' is only available in macOS 10.15 or newer
22 | }
23 |
24 | public struct NBCollapsibleTrigger<Trigger>: View where Trigger: View {
| `- note: add @available attribute to enclosing generic struct
25 | @Environment(\.nbCollapsableDidToggle) var collapsableDidToggle
26 |
:
31 | }
32 |
33 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
34 | trigger
35 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:24:66: error: 'View' is only available in macOS 10.15 or newer
22 | }
23 |
24 | public struct NBCollapsibleTrigger<Trigger>: View where Trigger: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
25 | @Environment(\.nbCollapsableDidToggle) var collapsableDidToggle
26 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:43:6: error: 'Environment' is only available in macOS 10.15 or newer
40 | }
41 |
42 | public struct NBCollapsable<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
43 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
44 |
45 | typealias CollapsableDidToggle = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:47:6: error: 'Binding' is only available in macOS 10.15 or newer
40 | }
41 |
42 | public struct NBCollapsable<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
43 | @Environment(\.nbTheme) var theme: NBTheme
44 |
45 | typealias CollapsableDidToggle = () -> Void
46 |
47 | @Binding var isExpanded: Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
48 | let content: Content
49 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:50:29: error: 'Binding' is only available in macOS 10.15 or newer
40 | }
41 |
42 | public struct NBCollapsable<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
43 | @Environment(\.nbTheme) var theme: NBTheme
44 |
:
48 | let content: Content
49 |
50 | public init(isExpanded: Binding<Bool>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
51 | @ViewBuilder content: () -> Content)
52 | {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:51:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
40 | }
41 |
42 | public struct NBCollapsable<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
43 | @Environment(\.nbTheme) var theme: NBTheme
44 |
:
48 | let content: Content
49 |
50 | public init(isExpanded: Binding<Bool>,
| `- note: add @available attribute to enclosing initializer
51 | @ViewBuilder content: () -> Content)
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
52 | {
53 | _isExpanded = isExpanded
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:57:27: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | public struct NBCollapsable<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
43 | @Environment(\.nbTheme) var theme: NBTheme
44 |
:
55 | }
56 |
57 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
58 | VStack(spacing: theme.smspacing) {
59 | content
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:42:59: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | public struct NBCollapsable<Content>: View where Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
43 | @Environment(\.nbTheme) var theme: NBTheme
44 |
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Collapsable.swift:95:2: note: expanded code originates here
93 | }
94 | }
95 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var isExapanded = true
+--------------------------------------------------------------------
96 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:8:35: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add @available attribute to enclosing extension
4 | func nbDrawer<Content>(
| `- note: add @available attribute to enclosing instance method
5 | isPresented: Binding<Bool>,
6 | onDismiss: (() -> Void)? = nil,
7 | @ViewBuilder content: @escaping () -> Content
8 | ) -> some View where Content: View {
| `- error: 'View' is only available in macOS 10.15 or newer
9 | modifier(NBShowDrawer(isPresented: isPresented, onDismiss: onDismiss, drawerContent: content))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:5:22: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add @available attribute to enclosing extension
4 | func nbDrawer<Content>(
| `- note: add @available attribute to enclosing instance method
5 | isPresented: Binding<Bool>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
6 | onDismiss: (() -> Void)? = nil,
7 | @ViewBuilder content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:7:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add @available attribute to enclosing extension
4 | func nbDrawer<Content>(
| `- note: add @available attribute to enclosing instance method
5 | isPresented: Binding<Bool>,
6 | onDismiss: (() -> Void)? = nil,
7 | @ViewBuilder content: @escaping () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | ) -> some View where Content: View {
9 | modifier(NBShowDrawer(isPresented: isPresented, onDismiss: onDismiss, drawerContent: content))
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:8:15: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add @available attribute to enclosing extension
4 | func nbDrawer<Content>(
| `- note: add @available attribute to enclosing instance method
5 | isPresented: Binding<Bool>,
6 | onDismiss: (() -> Void)? = nil,
7 | @ViewBuilder content: @escaping () -> Content
8 | ) -> some View where Content: View {
| `- error: 'View' is only available in macOS 10.15 or newer
9 | modifier(NBShowDrawer(isPresented: isPresented, onDismiss: onDismiss, drawerContent: content))
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:3:18: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | func nbDrawer<Content>(
5 | isPresented: Binding<Bool>,
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:14:6: error: 'Environment' is only available in macOS 10.15 or newer
11 | }
12 |
13 | struct NBShowDrawer<DrawerContent>: ViewModifier where DrawerContent: View {
| `- note: add @available attribute to enclosing generic struct
14 | @Environment(\.nbTheme) private var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
15 |
16 | @Binding private var isPresented: Bool
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
11 | }
12 |
13 | struct NBShowDrawer<DrawerContent>: ViewModifier where DrawerContent: View {
| `- note: add @available attribute to enclosing generic struct
14 | @Environment(\.nbTheme) private var theme: NBTheme
15 |
16 | @Binding private var isPresented: Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
17 | let onDismiss: (() -> Void)?
18 | let drawerContent: DrawerContent
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
11 | }
12 |
13 | struct NBShowDrawer<DrawerContent>: ViewModifier where DrawerContent: View {
| `- note: add @available attribute to enclosing generic struct
14 | @Environment(\.nbTheme) private var theme: NBTheme
15 |
:
18 | let drawerContent: DrawerContent
19 |
20 | @State private var contentHeight: CGFloat = 100.0
| `- error: 'State' is only available in macOS 10.15 or newer
21 |
22 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:23:22: error: 'Binding' is only available in macOS 10.15 or newer
11 | }
12 |
13 | struct NBShowDrawer<DrawerContent>: ViewModifier where DrawerContent: View {
| `- note: add @available attribute to enclosing generic struct
14 | @Environment(\.nbTheme) private var theme: NBTheme
15 |
:
20 | @State private var contentHeight: CGFloat = 100.0
21 |
22 | public init(
| `- note: add @available attribute to enclosing initializer
23 | isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil,
| `- error: 'Binding' is only available in macOS 10.15 or newer
24 | @ViewBuilder drawerContent: () -> DrawerContent
25 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:24:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 | }
12 |
13 | struct NBShowDrawer<DrawerContent>: ViewModifier where DrawerContent: View {
| `- note: add @available attribute to enclosing generic struct
14 | @Environment(\.nbTheme) private var theme: NBTheme
15 |
:
20 | @State private var contentHeight: CGFloat = 100.0
21 |
22 | public init(
| `- note: add @available attribute to enclosing initializer
23 | isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil,
24 | @ViewBuilder drawerContent: () -> DrawerContent
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
25 | ) {
26 | _isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:31:41: error: 'View' is only available in macOS 10.15 or newer
11 | }
12 |
13 | struct NBShowDrawer<DrawerContent>: ViewModifier where DrawerContent: View {
| `- note: add @available attribute to enclosing generic struct
14 | @Environment(\.nbTheme) private var theme: NBTheme
15 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
32 | content
33 | .sheet(isPresented: $isPresented, onDismiss: onDismiss) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:13:71: error: 'View' is only available in macOS 10.15 or newer
11 | }
12 |
13 | struct NBShowDrawer<DrawerContent>: ViewModifier where DrawerContent: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
14 | @Environment(\.nbTheme) private var theme: NBTheme
15 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:58:33: error: 'View' is only available in macOS 10.15 or newer
55 | }
56 |
57 | extension NBShowDrawer {
| `- note: add @available attribute to enclosing extension
58 | private var topBorder: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | Rectangle()
60 | .fill(theme.border)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:65:37: error: 'View' is only available in macOS 10.15 or newer
55 | }
56 |
57 | extension NBShowDrawer {
| `- note: add @available attribute to enclosing extension
58 | private var topBorder: some View {
59 | Rectangle()
:
63 | }
64 |
65 | private var dragIndicator: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
66 | Rectangle()
67 | .fill(theme.text)
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Drawer.swift:98:2: note: expanded code originates here
96 | }
97 | }
98 | }
+--- macro expansion #Preview --------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var isShowingSheet = true
+-------------------------------------------------------------------
99 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/FlatCard.swift:8:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBFlatCard<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum FlatCardType {
5 | case `default`, neutral
6 | }
7 |
8 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
9 |
10 | let type: FlatCardType
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/FlatCard.swift:15:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBFlatCard<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum FlatCardType {
5 | case `default`, neutral
:
11 | let content: Content?
12 |
13 | public init(
| `- note: add @available attribute to enclosing initializer
14 | type: FlatCardType = .default,
15 | @ViewBuilder content: () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
16 | ) {
17 | self.type = type
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/FlatCard.swift:21:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBFlatCard<Content>: View where Content: View {
| `- note: add @available attribute to enclosing generic struct
4 | public enum FlatCardType {
5 | case `default`, neutral
:
19 | }
20 |
21 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
22 | content
23 | .foregroundStyle(textForegroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/FlatCard.swift:3:56: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBFlatCard<Content>: View where Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | public enum FlatCardType {
5 | case `default`, neutral
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/FlatCard.swift:32:38: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | extension NBFlatCard {
| `- note: add @available attribute to enclosing extension
32 | private var textForegroundColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
33 | switch type {
34 | case .default:
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/FlatCard.swift:41:34: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | extension NBFlatCard {
| `- note: add @available attribute to enclosing extension
32 | private var textForegroundColor: Color {
33 | switch type {
:
39 | }
40 |
41 | private var backgroundColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
42 | switch type {
43 | case .default:
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Input.swift:3:18: error: 'TextFieldStyle' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension TextFieldStyle where Self == NBInputStyle {
| | `- error: 'TextFieldStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | static var neoBrutalism: NBInputStyle { .init() }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Input.swift:8:20: error: 'isEnabled' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBInputStyle: @preconcurrency TextFieldStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.isEnabled) private var isEnabled
| `- error: 'isEnabled' is only available in macOS 10.15 or newer
9 | @Environment(\.nbTheme) var theme: NBTheme
10 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Input.swift:8:6: error: 'Environment' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBInputStyle: @preconcurrency TextFieldStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.isEnabled) private var isEnabled
| `- error: 'Environment' is only available in macOS 10.15 or newer
9 | @Environment(\.nbTheme) var theme: NBTheme
10 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Input.swift:9:6: error: 'Environment' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBInputStyle: @preconcurrency TextFieldStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.isEnabled) private var isEnabled
9 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
10 |
11 | @MainActor public func _body(configuration: TextField<Self._Label>) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Input.swift:11:49: error: 'TextField' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBInputStyle: @preconcurrency TextFieldStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.isEnabled) private var isEnabled
9 | @Environment(\.nbTheme) var theme: NBTheme
10 |
11 | @MainActor public func _body(configuration: TextField<Self._Label>) -> some View {
| | `- error: 'TextField' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
12 | configuration
13 | .padding(theme.padding)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Input.swift:11:81: error: 'View' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBInputStyle: @preconcurrency TextFieldStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.isEnabled) private var isEnabled
9 | @Environment(\.nbTheme) var theme: NBTheme
10 |
11 | @MainActor public func _body(configuration: TextField<Self._Label>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
12 | configuration
13 | .padding(theme.padding)
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Input.swift:32:2: note: expanded code originates here
30 | .textFieldStyle(.neoBrutalism)
31 | }
32 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var inputValue = ""
+--------------------------------------------------------------------
33 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Progress.swift:3:18: error: 'ProgressViewStyle' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | public extension ProgressViewStyle where Self == NBProgressViewStyle {
| | `- error: 'ProgressViewStyle' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
4 | static var neoBrutalism: NBProgressViewStyle { .init() }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Progress.swift:8:6: error: 'Environment' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBProgressViewStyle: ProgressViewStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
9 |
10 | public func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Progress.swift:10:64: error: 'View' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBProgressViewStyle: ProgressViewStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.nbTheme) var theme: NBTheme
9 |
10 | public func makeBody(configuration: Configuration) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
11 | let value = configuration.fractionCompleted ?? 0.0
12 | GeometryReader { geometry in
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:3:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | @Entry var nbRadioItemDidSelect: NBRadioGroup.RadioItemDidSelect = { _ in }
5 | @Entry var nbSelectedRadioItemValue: AnyEquatable? = nil
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBRadioGroup<Content, ValueType>: View where Content: View, ValueType: Equatable {
| `- note: add @available attribute to enclosing generic struct
9 | typealias RadioItemDidSelect = (AnyEquatable) -> Void
10 |
11 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
12 |
13 | @Binding var value: AnyEquatable
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBRadioGroup<Content, ValueType>: View where Content: View, ValueType: Equatable {
| `- note: add @available attribute to enclosing generic struct
9 | typealias RadioItemDidSelect = (AnyEquatable) -> Void
10 |
11 | @Environment(\.nbTheme) var theme: NBTheme
12 |
13 | @Binding var value: AnyEquatable
| `- error: 'Binding' is only available in macOS 10.15 or newer
14 | let content: Content
15 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:17:16: error: 'Binding' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBRadioGroup<Content, ValueType>: View where Content: View, ValueType: Equatable {
| `- note: add @available attribute to enclosing generic struct
9 | typealias RadioItemDidSelect = (AnyEquatable) -> Void
10 |
:
14 | let content: Content
15 |
16 | public init(
| `- note: add @available attribute to enclosing initializer
17 | value: Binding<ValueType>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
18 | @ViewBuilder content: () -> Content
19 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:18:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBRadioGroup<Content, ValueType>: View where Content: View, ValueType: Equatable {
| `- note: add @available attribute to enclosing generic struct
9 | typealias RadioItemDidSelect = (AnyEquatable) -> Void
10 |
:
14 | let content: Content
15 |
16 | public init(
| `- note: add @available attribute to enclosing initializer
17 | value: Binding<ValueType>,
18 | @ViewBuilder content: () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
19 | ) {
20 | // Convert to Binding<any Equatable>
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:32:27: error: 'View' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBRadioGroup<Content, ValueType>: View where Content: View, ValueType: Equatable {
| `- note: add @available attribute to enclosing generic struct
9 | typealias RadioItemDidSelect = (AnyEquatable) -> Void
10 |
:
30 | }
31 |
32 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
33 | VStack(alignment: .leading, spacing: theme.smspacing) {
34 | content
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:8:69: error: 'View' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBRadioGroup<Content, ValueType>: View where Content: View, ValueType: Equatable {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
9 | typealias RadioItemDidSelect = (AnyEquatable) -> Void
10 |
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/Radio.swift:75:2: note: expanded code originates here
73 | }
74 | }
75 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var value = 0
+--------------------------------------------------------------------
76 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBRadioIndicator: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 |
6 | let selected: Bool
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:8:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBRadioIndicator: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
6 | let selected: Bool
7 |
8 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
9 | ZStack {
10 | Circle()
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:26:6: error: 'Environment' is only available in macOS 10.15 or newer
23 | }
24 |
25 | public struct NBRadioItem<Label>: View where Label: View {
| `- note: add @available attribute to enclosing generic struct
26 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
27 | @Environment(\.nbSelectedRadioItemValue) var selectedRadioItemValue: AnyEquatable?
28 | @Environment(\.nbRadioItemDidSelect) var radioItemDidSelect: NBRadioGroup.RadioItemDidSelect
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:27:6: error: 'Environment' is only available in macOS 10.15 or newer
23 | }
24 |
25 | public struct NBRadioItem<Label>: View where Label: View {
| `- note: add @available attribute to enclosing generic struct
26 | @Environment(\.nbTheme) var theme: NBTheme
27 | @Environment(\.nbSelectedRadioItemValue) var selectedRadioItemValue: AnyEquatable?
| `- error: 'Environment' is only available in macOS 10.15 or newer
28 | @Environment(\.nbRadioItemDidSelect) var radioItemDidSelect: NBRadioGroup.RadioItemDidSelect
29 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:28:6: error: 'Environment' is only available in macOS 10.15 or newer
23 | }
24 |
25 | public struct NBRadioItem<Label>: View where Label: View {
| `- note: add @available attribute to enclosing generic struct
26 | @Environment(\.nbTheme) var theme: NBTheme
27 | @Environment(\.nbSelectedRadioItemValue) var selectedRadioItemValue: AnyEquatable?
28 | @Environment(\.nbRadioItemDidSelect) var radioItemDidSelect: NBRadioGroup.RadioItemDidSelect
| `- error: 'Environment' is only available in macOS 10.15 or newer
29 |
30 | var value: AnyEquatable
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:42:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
23 | }
24 |
25 | public struct NBRadioItem<Label>: View where Label: View {
| `- note: add @available attribute to enclosing generic struct
26 | @Environment(\.nbTheme) var theme: NBTheme
27 | @Environment(\.nbSelectedRadioItemValue) var selectedRadioItemValue: AnyEquatable?
:
38 | var label: Label
39 |
40 | public init(
| `- note: add @available attribute to enclosing initializer
41 | value: AnyEquatable,
42 | @ViewBuilder label: () -> Label
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
43 | ) {
44 | self.value = value
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | public struct NBRadioItem<Label>: View where Label: View {
| `- note: add @available attribute to enclosing generic struct
26 | @Environment(\.nbTheme) var theme: NBTheme
27 | @Environment(\.nbSelectedRadioItemValue) var selectedRadioItemValue: AnyEquatable?
:
46 | }
47 |
48 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
49 | HStack(spacing: theme.smspacing) {
50 | NBRadioIndicator(selected: selected)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:25:53: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | public struct NBRadioItem<Label>: View where Label: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
26 | @Environment(\.nbTheme) var theme: NBTheme
27 | @Environment(\.nbSelectedRadioItemValue) var selectedRadioItemValue: AnyEquatable?
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Radio/RadioItem.swift:70:2: note: expanded code originates here
68 | }
69 | }
70 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var value = 0
+--------------------------------------------------------------------
71 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/RoundSkeleton.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBRoundSkeleton: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 |
6 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/RoundSkeleton.swift:8:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBRoundSkeleton: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
6 | public init() {}
7 |
8 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
9 | Circle()
10 | .fill(theme.clear)
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/RoundSkeleton.swift:29:2: note: expanded code originates here
27 | .frame(width: 120, height: 120)
28 | }
29 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var value = 0
+--------------------------------------------------------------------
30 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/TextSkeleton.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTextSkeleton: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 |
6 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/TextSkeleton.swift:8:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTextSkeleton: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
6 | public init() {}
7 |
8 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
9 | Rectangle()
10 | .fill(theme.clear)
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Skeleton/TextSkeleton.swift:26:2: note: expanded code originates here
24 | .frame(width: 120, height: 20.0)
25 | }
26 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var value = 0
+--------------------------------------------------------------------
27 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBSlider: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 |
6 | /** Value from 0 to 1 */
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:7:6: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBSlider: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
6 | /** Value from 0 to 1 */
7 | @Binding private var value: CGFloat
| `- error: 'Binding' is only available in macOS 10.15 or newer
8 |
9 | public init(value: Binding<CGFloat>) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:9:24: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBSlider: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
:
7 | @Binding private var value: CGFloat
8 |
9 | public init(value: Binding<CGFloat>) {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
10 | _value = value
11 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:13:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBSlider: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.nbTheme) var theme: NBTheme
5 |
:
11 | }
12 |
13 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
14 | VStack {
15 | GeometryReader { geometry in
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Slider.swift:74:2: note: expanded code originates here
72 | NBSlider(value: .constant(1.0))
73 | }
74 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var sliderValue: CGFloat = 0.5
+--------------------------------------------------------------------
75 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:3:18: error: 'ToggleStyle' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension ToggleStyle where Self == NBSwitchToggleStyle {
| | `- error: 'ToggleStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | static var neoBrutalismSwitch: NBSwitchToggleStyle { .init() }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:8:6: error: 'Environment' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBSwitchToggleStyle: ToggleStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.nbTheme) var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
9 |
10 | public func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:10:64: error: 'View' is only available in macOS 10.15 or newer
5 | }
6 |
7 | public struct NBSwitchToggleStyle: ToggleStyle {
| `- note: add @available attribute to enclosing struct
8 | @Environment(\.nbTheme) var theme: NBTheme
9 |
10 | public func makeBody(configuration: Configuration) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
11 | Button {
12 | withAnimation(.interactiveSpring) {
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:26:67: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | extension NBSwitchToggleStyle {
| `- note: add @available attribute to enclosing extension
26 | private func makeSwitch(configuration: Configuration) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
27 | ZStack {
28 | RoundedRectangle(cornerRadius: theme.size)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:41:72: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | extension NBSwitchToggleStyle {
| `- note: add @available attribute to enclosing extension
26 | private func makeSwitch(configuration: Configuration) -> some View {
27 | ZStack {
:
39 | }
40 |
41 | private func makeSwitchShape(configuration: Configuration) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
42 | HStack {
43 | Circle()
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Switch/Switch.swift:78:2: note: expanded code originates here
76 |
77 | }.toggleStyle(.neoBrutalismSwitch)
78 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var switchState1 = true
+--------------------------------------------------------------------
79 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:3:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | @Entry var nbTabItemDidSelect: NBTabs.TabItemDidSelect = { _ in }
5 | @Entry var nbSelectedTabItem: AnyEquatable? = nil
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBTabs<Content: View, ValueType: Equatable>: View {
| `- note: add @available attribute to enclosing generic struct
9 | typealias TabItemDidSelect = (AnyEquatable) -> Void
10 |
11 | @Environment(\.nbTheme) private var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
12 | @Binding private var selectedTabItem: AnyEquatable
13 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBTabs<Content: View, ValueType: Equatable>: View {
| `- note: add @available attribute to enclosing generic struct
9 | typealias TabItemDidSelect = (AnyEquatable) -> Void
10 |
11 | @Environment(\.nbTheme) private var theme: NBTheme
12 | @Binding private var selectedTabItem: AnyEquatable
| `- error: 'Binding' is only available in macOS 10.15 or newer
13 | let content: Content
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:15:34: error: 'Binding' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBTabs<Content: View, ValueType: Equatable>: View {
| `- note: add @available attribute to enclosing generic struct
9 | typealias TabItemDidSelect = (AnyEquatable) -> Void
10 |
:
13 | let content: Content
14 |
15 | public init(selectedTabItem: Binding<ValueType>, @ViewBuilder content: () -> Content) {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
16 | _selectedTabItem = Binding(
17 | get: { selectedTabItem.wrappedValue },
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:15:55: error: 'ViewBuilder' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBTabs<Content: View, ValueType: Equatable>: View {
| `- note: add @available attribute to enclosing generic struct
9 | typealias TabItemDidSelect = (AnyEquatable) -> Void
10 |
:
13 | let content: Content
14 |
15 | public init(selectedTabItem: Binding<ValueType>, @ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
16 | _selectedTabItem = Binding(
17 | get: { selectedTabItem.wrappedValue },
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:23:27: error: 'View' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBTabs<Content: View, ValueType: Equatable>: View {
| `- note: add @available attribute to enclosing generic struct
9 | typealias TabItemDidSelect = (AnyEquatable) -> Void
10 |
:
21 | }
22 |
23 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
24 | VStack(alignment: .leading, spacing: theme.smspacing) {
25 | content
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:8:31: error: 'View' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct NBTabs<Content: View, ValueType: Equatable>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
9 | typealias TabItemDidSelect = (AnyEquatable) -> Void
10 |
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/Tabs.swift:58:2: note: expanded code originates here
56 | Spacer()
57 | }
58 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var value = 0
+--------------------------------------------------------------------
59 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsContent<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbSelectedTabItem) private var selectedTabItem: AnyEquatable?
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 |
6 | let tabItem: AnyEquatable
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:13:41: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsContent<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbSelectedTabItem) private var selectedTabItem: AnyEquatable?
5 |
:
11 | }
12 |
13 | public init(tabItem: AnyEquatable, @ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | self.tabItem = tabItem
15 | self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsContent<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbSelectedTabItem) private var selectedTabItem: AnyEquatable?
5 |
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | if isSelected { content }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:3:38: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsContent<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbSelectedTabItem) private var selectedTabItem: AnyEquatable?
5 |
macro expansion #Preview:15:52: error: 'modifier' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsContent.swift:35:2: note: expanded code originates here
33 | }
34 | .environment(\.nbSelectedTabItem, 0)
35 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add @available attribute to enclosing static method
|14 | if #available(iOS 18.0, *) {
|15 | DeveloperToolsSupport.Preview(traits: .modifier(NBPreviewHelper())) {
| | |- error: 'modifier' is only available in macOS 15.0 or newer
| | `- note: add 'if #available' version check
|16 | struct __P_Previewable_Transform_Wrapper: SwiftUI.View {
|17 | @State var value = 0
+--------------------------------------------------------------------
36 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsList.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsList<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) private var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | let content: Content
6 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsList.swift:7:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsList<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) private var theme: NBTheme
5 | let content: Content
6 |
7 | public init(@ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
8 | self.content = content()
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsList.swift:11:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsList<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) private var theme: NBTheme
5 | let content: Content
:
9 | }
10 |
11 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
12 | HStack(spacing: theme.smspacing) {
13 | content.frame(maxWidth: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsList.swift:3:35: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsList<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) private var theme: NBTheme
5 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsTrigger.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsTrigger<Label: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) private var theme: NBTheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.nbSelectedTabItem) private var selectedTabItem: AnyEquatable?
6 | @Environment(\.nbTabItemDidSelect) private var tabsItemDidSelect: NBTabs.TabItemDidSelect
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsTrigger.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsTrigger<Label: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) private var theme: NBTheme
5 | @Environment(\.nbSelectedTabItem) private var selectedTabItem: AnyEquatable?
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 | @Environment(\.nbTabItemDidSelect) private var tabsItemDidSelect: NBTabs.TabItemDidSelect
7 |
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsTrigger.swift:6:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsTrigger<Label: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) private var theme: NBTheme
5 | @Environment(\.nbSelectedTabItem) private var selectedTabItem: AnyEquatable?
6 | @Environment(\.nbTabItemDidSelect) private var tabsItemDidSelect: NBTabs.TabItemDidSelect
| `- error: 'Environment' is only available in macOS 10.15 or newer
7 |
8 | let tabItem: AnyEquatable
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsTrigger.swift:15:41: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsTrigger<Label: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) private var theme: NBTheme
5 | @Environment(\.nbSelectedTabItem) private var selectedTabItem: AnyEquatable?
:
13 | }
14 |
15 | public init(tabItem: AnyEquatable, @ViewBuilder label: () -> Label) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
16 | self.tabItem = tabItem
17 | self.label = label()
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsTrigger.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsTrigger<Label: View>: View {
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) private var theme: NBTheme
5 | @Environment(\.nbSelectedTabItem) private var selectedTabItem: AnyEquatable?
:
18 | }
19 |
20 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
21 | let styledLabel = label
22 | .frame(maxWidth: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Components/Tabs/TabsTrigger.swift:3:36: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct NBTabsTrigger<Label: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
4 | @Environment(\.nbTheme) private var theme: NBTheme
5 | @Environment(\.nbSelectedTabItem) private var selectedTabItem: AnyEquatable?
/Users/admin/builder/spi-builder-workspace/Sources/NeoBrutalism/Internal/NeoBrutalismPreviewHelper.swift:6:58: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct NBPreviewHelper: PreviewModifier {
| `- note: add @available attribute to enclosing struct
4 | private let theme: NBTheme = .default
5 |
6 | func body(content: Content, context _: Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
7 | VStack(spacing: 0.0) {
8 | ZStack {
Fetching https://github.com/adammcarter/swift-snapshot-testing-macros.git
[1/973] Fetching swift-snapshot-testing-macros
Fetched https://github.com/adammcarter/swift-snapshot-testing-macros.git from cache (1.54s)
Computing version for https://github.com/adammcarter/swift-snapshot-testing-macros.git
Computed https://github.com/adammcarter/swift-snapshot-testing-macros.git at 0.1.4 (0.48s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
[1/13159] Fetching swift-snapshot-testing
[791/83475] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.06s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.06s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.1 (0.48s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.93s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.37s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.46s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5456] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.17s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.46s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/adammcarter/swift-snapshot-testing-macros.git
Working copy of https://github.com/adammcarter/swift-snapshot-testing-macros.git resolved at 0.1.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
BUILD FAILURE 6.0 macosSpm