The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PhotoBoxKit, reference main (ba96eb), with Swift 6.1 for macOS (SPM) on 3 Jun 2025 22:32:09 UTC.

Build Command

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

Build Log

  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
103 |                   }
104 |                 }
105 |                 .onAppear {
    |                  |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
106 |                   proxy.scrollTo(activeIndex, anchor: .center)
107 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:108:18: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
106 |                   proxy.scrollTo(activeIndex, anchor: .center)
107 |                 }
108 |                 .scrollIndicators(.hidden)
    |                  |- error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
109 |               }
110 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:74:24: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 72 |                 .foregroundColor(counterColor)
 73 |             }
 74 |             if gallery {
    |                        |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 75 |               ScrollViewReader { proxy in
 76 |                 ScrollView(.horizontal) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:110:13: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
108 |                 .scrollIndicators(.hidden)
109 |               }
110 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
111 |           }
112 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 67 |           Spacer()
 68 |
 69 |           VStack {
    |                  |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                  `- note: add 'if #available' version check
 70 |             if counter {
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 67 |           Spacer()
 68 |
 69 |           VStack {
    |                  |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                  `- note: add 'if #available' version check
 70 |             if counter {
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 49 |           }
 50 |
 51 |         VStack {
    |                |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 52 |           Spacer()
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 49 |           }
 50 |
 51 |         VStack {
    |                |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 52 |           Spacer()
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:113:10: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
111 |           }
112 |         }
113 |         .gesture(
    |          |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
114 |           DragGesture()
115 |             .onEnded { value in
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:114:11: error: 'DragGesture' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
112 |         }
113 |         .gesture(
114 |           DragGesture()
    |           |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
115 |             .onEnded { value in
116 |               withAnimation(.snappy(duration: 0.3)) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:114:11: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
112 |         }
113 |         .gesture(
114 |           DragGesture()
    |           |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |           `- note: add 'if #available' version check
115 |             .onEnded { value in
116 |               withAnimation(.snappy(duration: 0.3)) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:115:14: error: 'onEnded' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
113 |         .gesture(
114 |           DragGesture()
115 |             .onEnded { value in
    |              |- error: 'onEnded' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
116 |               withAnimation(.snappy(duration: 0.3)) {
117 |                 if value.translation.width < -100 {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:116:15: error: 'withAnimation' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
114 |           DragGesture()
115 |             .onEnded { value in
116 |               withAnimation(.snappy(duration: 0.3)) {
    |               |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
117 |                 if value.translation.width < -100 {
118 |                   nextImage()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:116:30: error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
114 |           DragGesture()
115 |             .onEnded { value in
116 |               withAnimation(.snappy(duration: 0.3)) {
    |                              |- error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
117 |                 if value.translation.width < -100 {
118 |                   nextImage()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:125:17: error: setter for 'isVisible' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
123 |
124 |               if value.translation.height > 200 {
125 |                 isVisible = false
    |                 |- error: setter for 'isVisible' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
126 |               }
127 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:45:20: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    |                    |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 46 |         bgColor.ignoresSafeArea()
 47 |           .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:129:7: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
127 |             }
128 |         )
129 |       }
    |       |- error: 'buildIf' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
130 |     }
131 |     .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:12: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
    |            |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |            `- note: add 'if #available' version check
 45 |       if isVisible {
 46 |         bgColor.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:131:6: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
129 |       }
130 |     }
131 |     .frame(maxWidth: .infinity, maxHeight: .infinity)
    |      |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
132 |   }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:136:7: error: cannot pass as inout because setter for 'activeIndex' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
132 |   }
133 |
134 |   private func nextImage() {
    |                `- note: add @available attribute to enclosing instance method
135 |     if  activeIndex < urls.count - 1 {
136 |       activeIndex += 1
    |       |- error: cannot pass as inout because setter for 'activeIndex' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
137 |     } else {
138 |       activeIndex = 0
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:138:7: error: setter for 'activeIndex' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
132 |   }
133 |
134 |   private func nextImage() {
    |                `- note: add @available attribute to enclosing instance method
135 |     if  activeIndex < urls.count - 1 {
136 |       activeIndex += 1
137 |     } else {
138 |       activeIndex = 0
    |       |- error: setter for 'activeIndex' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
139 |     }
140 |   }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:144:7: error: cannot pass as inout because setter for 'activeIndex' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
140 |   }
141 |
142 |   private func prevImage() {
    |                `- note: add @available attribute to enclosing instance method
143 |     if activeIndex > 0 {
144 |       activeIndex -= 1
    |       |- error: cannot pass as inout because setter for 'activeIndex' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
145 |     } else {
146 |       activeIndex = urls.count - 1
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:146:7: error: setter for 'activeIndex' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
140 |   }
141 |
142 |   private func prevImage() {
    |                `- note: add @available attribute to enclosing instance method
143 |     if activeIndex > 0 {
144 |       activeIndex -= 1
145 |     } else {
146 |       activeIndex = urls.count - 1
    |       |- error: setter for 'activeIndex' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
147 |     }
148 |   }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:156:8: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
150 |
151 | @available(iOS 16.0, *)
152 | struct PhotoBoxKitModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
153 |   let boxkit: PhotoBoxKit
154 |   public func body(content: Content) -> some View {
    |               `- note: add @available attribute to enclosing instance method
155 |     content
156 |       .overlay(boxkit)
    |        |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
157 |   }
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:172:5: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
172 |     modifier(
    |     |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |     `- note: add 'if #available' version check
173 |       PhotoBoxKitModifier(
174 |         boxkit: PhotoBoxKit(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:172:5: error: 'modifier' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
172 |     modifier(
    |     |- error: 'modifier' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
173 |       PhotoBoxKitModifier(
174 |         boxkit: PhotoBoxKit(
[5/6] Compiling PhotoBoxKit AsyncCachedIamge.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:12:52: error: cannot find type 'UIImage' in scope
10 |
11 | class CacheManager {
12 |   @MainActor static let shared = NSCache<NSString, UIImage>()
   |                                                    `- error: cannot find type 'UIImage' in scope
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:17:29: error: cannot find type 'UIImage' in scope
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
17 |   @State private var image: UIImage? = nil
   |                             `- error: cannot find type 'UIImage' in scope
18 |   let url: URL?
19 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:17:4: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
   |        `- note: add @available attribute to enclosing struct
17 |   @State private var image: UIImage? = nil
   |    `- error: 'State' is only available in macOS 10.15 or newer
18 |   let url: URL?
19 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:20:18: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
   |        `- note: add @available attribute to enclosing struct
17 |   @State private var image: UIImage? = nil
18 |   let url: URL?
19 |
20 |   var body: some View {
   |       |          `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing property
21 |     Group {
22 |       if let uiImage = image {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:21:5: error: no exact matches in call to initializer
19 |
20 |   var body: some View {
21 |     Group {
   |     `- error: no exact matches in call to initializer
22 |       if let uiImage = image {
   |       |- note: closure containing control flow statement cannot be used with result builder 'AccessibilityRotorContentBuilder'
   |       `- note: closure containing control flow statement cannot be used with result builder 'SceneBuilder'
23 |         Image(uiImage: uiImage)
24 |           .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:45:51: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
14 |
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
   |        `- note: add @available attribute to enclosing struct
17 |   @State private var image: UIImage? = nil
18 |   let url: URL?
   :
34 |   }
35 |
36 |   private func downloadImage(with url: URL) async {
   |                `- note: add @available attribute to enclosing instance method
37 |     let cacheKey = url.absoluteString as NSString
38 |
   :
43 |
44 |     do {
45 |       let (data, _) = try await URLSession.shared.data(from: url)
   |                                                   |- error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
   |                                                   `- note: add 'if #available' version check
46 |       if let downloadedImage = UIImage(data: data) {
47 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:46:32: error: cannot find 'UIImage' in scope
44 |     do {
45 |       let (data, _) = try await URLSession.shared.data(from: url)
46 |       if let downloadedImage = UIImage(data: data) {
   |                                `- error: cannot find 'UIImage' in scope
47 |
48 |         CacheManager.shared.setObject(downloadedImage, forKey: cacheKey)
[6/6] Compiling PhotoBoxKit ShimmerEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:17:6: error: 'gray' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
   |      `- error: 'gray' is only available in macOS 10.15 or newer
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:17:11: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
   |           `- error: 'opacity' is only available in macOS 10.15 or newer
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:18:6: error: 'white' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
   |      `- error: 'white' is only available in macOS 10.15 or newer
19 |     .gray.opacity(0.2),
20 |   ]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:18:12: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
   |            `- error: 'opacity' is only available in macOS 10.15 or newer
19 |     .gray.opacity(0.2),
20 |   ]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:19:6: error: 'gray' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
   |      `- error: 'gray' is only available in macOS 10.15 or newer
20 |   ]
21 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:19:11: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
   |           `- error: 'opacity' is only available in macOS 10.15 or newer
20 |   ]
21 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:13:37: error: 'UnitPoint' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
   |                                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:13:4: error: 'State' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
   |    `- error: 'State' is only available in macOS 10.15 or newer
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:14:35: error: 'UnitPoint' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   |                                   `- error: 'UnitPoint' is only available in macOS 10.15 or newer
15 |
16 |   private var gradientColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:14:4: error: 'State' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   |    `- error: 'State' is only available in macOS 10.15 or newer
15 |
16 |   private var gradientColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:16:32: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
16 |   private var gradientColors: [Color] = [
   |                                `- error: 'Color' is only available in macOS 10.15 or newer
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:18: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       |          `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:23:5: error: 'LinearGradient' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
   |     |- error: 'LinearGradient' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
24 |       colors: gradientColors,
25 |       startPoint: startingPoint,
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:28:6: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
26 |       endPoint: endingPoint
27 |     )
28 |     .onAppear {
   |      |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |      `- note: add 'if #available' version check
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
30 |         startingPoint = .init(x: 1, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:7: error: 'withAnimation' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
27 |     )
28 |     .onAppear {
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
   |       |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |       `- note: add 'if #available' version check
30 |         startingPoint = .init(x: 1, y: 1)
31 |         endingPoint = .init(x: 2.2, y: 2.2)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:22: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
27 |     )
28 |     .onAppear {
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
   |                      |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
30 |         startingPoint = .init(x: 1, y: 1)
31 |         endingPoint = .init(x: 2.2, y: 2.2)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:43: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
27 |     )
28 |     .onAppear {
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
   |                                           |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
   |                                           `- note: add 'if #available' version check
30 |         startingPoint = .init(x: 1, y: 1)
31 |         endingPoint = .init(x: 2.2, y: 2.2)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:30:9: error: setter for 'startingPoint' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
28 |     .onAppear {
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
30 |         startingPoint = .init(x: 1, y: 1)
   |         |- error: setter for 'startingPoint' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
31 |         endingPoint = .init(x: 2.2, y: 2.2)
32 |       }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:31:9: error: setter for 'endingPoint' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
30 |         startingPoint = .init(x: 1, y: 1)
31 |         endingPoint = .init(x: 2.2, y: 2.2)
   |         |- error: setter for 'endingPoint' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |       }
33 |     }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/5] Compiling PhotoBoxKit ShimmerEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:13:37: error: 'UnitPoint' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
   |                                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:13:4: error: 'State' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
   |    `- error: 'State' is only available in macOS 10.15 or newer
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:14:35: error: 'UnitPoint' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   |                                   `- error: 'UnitPoint' is only available in macOS 10.15 or newer
15 |
16 |   private var gradientColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:14:4: error: 'State' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   |    `- error: 'State' is only available in macOS 10.15 or newer
15 |
16 |   private var gradientColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:16:32: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
16 |   private var gradientColors: [Color] = [
   |                                `- error: 'Color' is only available in macOS 10.15 or newer
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:17:6: error: 'gray' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
   |      `- error: 'gray' is only available in macOS 10.15 or newer
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:17:11: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
   |           `- error: 'opacity' is only available in macOS 10.15 or newer
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:18:6: error: 'white' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
   |      `- error: 'white' is only available in macOS 10.15 or newer
19 |     .gray.opacity(0.2),
20 |   ]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:18:12: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
   |            `- error: 'opacity' is only available in macOS 10.15 or newer
19 |     .gray.opacity(0.2),
20 |   ]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:19:6: error: 'gray' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
   |      `- error: 'gray' is only available in macOS 10.15 or newer
20 |   ]
21 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:19:11: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
   |           `- error: 'opacity' is only available in macOS 10.15 or newer
20 |   ]
21 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:18: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       |          `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:23:5: error: 'LinearGradient' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
   |     |- error: 'LinearGradient' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
24 |       colors: gradientColors,
25 |       startPoint: startingPoint,
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:28:6: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
26 |       endPoint: endingPoint
27 |     )
28 |     .onAppear {
   |      |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |      `- note: add 'if #available' version check
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
30 |         startingPoint = .init(x: 1, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:7: error: 'withAnimation' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
27 |     )
28 |     .onAppear {
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
   |       |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |       `- note: add 'if #available' version check
30 |         startingPoint = .init(x: 1, y: 1)
31 |         endingPoint = .init(x: 2.2, y: 2.2)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:22: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
27 |     )
28 |     .onAppear {
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
   |                      |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
30 |         startingPoint = .init(x: 1, y: 1)
31 |         endingPoint = .init(x: 2.2, y: 2.2)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:43: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
27 |     )
28 |     .onAppear {
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
   |                                           |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
   |                                           `- note: add 'if #available' version check
30 |         startingPoint = .init(x: 1, y: 1)
31 |         endingPoint = .init(x: 2.2, y: 2.2)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:30:9: error: setter for 'startingPoint' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
28 |     .onAppear {
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
30 |         startingPoint = .init(x: 1, y: 1)
   |         |- error: setter for 'startingPoint' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
31 |         endingPoint = .init(x: 2.2, y: 2.2)
32 |       }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:31:9: error: setter for 'endingPoint' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
   :
29 |       withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
30 |         startingPoint = .init(x: 1, y: 1)
31 |         endingPoint = .init(x: 2.2, y: 2.2)
   |         |- error: setter for 'endingPoint' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |       }
33 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module PhotoBoxKit
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:12:52: error: cannot find type 'UIImage' in scope
10 |
11 | class CacheManager {
12 |   @MainActor static let shared = NSCache<NSString, UIImage>()
   |                                                    `- error: cannot find type 'UIImage' in scope
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:17:29: error: cannot find type 'UIImage' in scope
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
17 |   @State private var image: UIImage? = nil
   |                             `- error: cannot find type 'UIImage' in scope
18 |   let url: URL?
19 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:17:4: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
   |        `- note: add @available attribute to enclosing struct
17 |   @State private var image: UIImage? = nil
   |    `- error: 'State' is only available in macOS 10.15 or newer
18 |   let url: URL?
19 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:20:18: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
   |        `- note: add @available attribute to enclosing struct
17 |   @State private var image: UIImage? = nil
18 |   let url: URL?
19 |
20 |   var body: some View {
   |       |          `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing property
21 |     Group {
22 |       if let uiImage = image {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:8:4: error: 'State' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
    |    `- error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 |   @Binding var activeIndex: Int
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:10:4: error: 'Binding' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
 10 |   @Binding var activeIndex: Int
    |    `- error: 'Binding' is only available in macOS 10.15 or newer
 11 |   @Binding var isVisible: Bool
 12 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:11:4: error: 'Binding' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
 10 |   @Binding var activeIndex: Int
 11 |   @Binding var isVisible: Bool
    |    `- error: 'Binding' is only available in macOS 10.15 or newer
 12 |
 13 |   let urls: [String]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:17:16: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 15 |   let gallery: Bool
 16 |   let cornerRadius: CGFloat
 17 |   let bgColor: Color
    |                `- error: 'Color' is only available in macOS 10.15 or newer
 18 |   let counterColor: Color
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:18:21: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 16 |   let cornerRadius: CGFloat
 17 |   let bgColor: Color
 18 |   let counterColor: Color
    |                     `- error: 'Color' is only available in macOS 10.15 or newer
 19 |
 20 |   public init(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:22:18: error: 'Binding' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    |                  `- error: 'Binding' is only available in macOS 10.15 or newer
 23 |     isVisible: Binding<Bool>,
 24 |     urls: [String],
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:23:16: error: 'Binding' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
 23 |     isVisible: Binding<Bool>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 24 |     urls: [String],
 25 |     counter: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:14: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 26 |     gallery: Bool = true,
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
    |              `- error: 'Color' is only available in macOS 10.15 or newer
 29 |     counterColor: Color = Color.white
 30 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:19: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
 29 |     counterColor: Color = Color.white
    |                   `- error: 'Color' is only available in macOS 10.15 or newer
 30 |   ) {
 31 |     self._isFading = State(initialValue: isFading)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:22: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 26 |     gallery: Bool = true,
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
    |                      `- error: 'Color' is only available in macOS 10.15 or newer
 29 |     counterColor: Color = Color.white
 30 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:28: error: 'black' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 26 |     gallery: Bool = true,
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
    |                            `- error: 'black' is only available in macOS 10.15 or newer
 29 |     counterColor: Color = Color.white
 30 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:34: error: 'opacity' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 26 |     gallery: Bool = true,
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
    |                                  `- error: 'opacity' is only available in macOS 10.15 or newer
 29 |     counterColor: Color = Color.white
 30 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:27: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
 29 |     counterColor: Color = Color.white
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 30 |   ) {
 31 |     self._isFading = State(initialValue: isFading)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:33: error: 'white' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
 29 |     counterColor: Color = Color.white
    |                                 `- error: 'white' is only available in macOS 10.15 or newer
 30 |   ) {
 31 |     self._isFading = State(initialValue: isFading)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:25: error: 'View' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              |          `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:154:46: error: 'View' is only available in macOS 10.15 or newer
150 |
151 | @available(iOS 16.0, *)
152 | struct PhotoBoxKitModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
153 |   let boxkit: PhotoBoxKit
154 |   public 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
155 |     content
156 |       .overlay(boxkit)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:163:18: error: 'Binding' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
    |                  `- error: 'Binding' is only available in macOS 10.15 or newer
164 |     isVisible: Binding<Bool>,
165 |     urls: [String],
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:164:16: error: 'Binding' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
165 |     urls: [String],
166 |     counter: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:14: error: 'Color' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
167 |     gallery: Bool = true,
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
    |              `- error: 'Color' is only available in macOS 10.15 or newer
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:19: error: 'Color' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
170 |     counterColor: Color = Color.white
    |                   `- error: 'Color' is only available in macOS 10.15 or newer
171 |   ) -> some View {
172 |     modifier(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:171:13: error: 'View' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
169 |     bgColor: Color = Color.black.opacity(0.9),
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
    |             `- error: 'View' is only available in macOS 10.15 or newer
172 |     modifier(
173 |       PhotoBoxKitModifier(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:22: error: 'Color' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
167 |     gallery: Bool = true,
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
    |                      `- error: 'Color' is only available in macOS 10.15 or newer
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:28: error: 'black' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
167 |     gallery: Bool = true,
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
    |                            `- error: 'black' is only available in macOS 10.15 or newer
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:34: error: 'opacity' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
167 |     gallery: Bool = true,
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
    |                                  `- error: 'opacity' is only available in macOS 10.15 or newer
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:27: error: 'Color' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
170 |     counterColor: Color = Color.white
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
171 |   ) -> some View {
172 |     modifier(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:33: error: 'white' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
170 |     counterColor: Color = Color.white
    |                                 `- error: 'white' is only available in macOS 10.15 or newer
171 |   ) -> some View {
172 |     modifier(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:18: error: 'View' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
163 |     activeIndex: Binding<Int>,
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:13:37: error: 'UnitPoint' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
   |                                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:13:4: error: 'State' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
   |    `- error: 'State' is only available in macOS 10.15 or newer
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:14:35: error: 'UnitPoint' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   |                                   `- error: 'UnitPoint' is only available in macOS 10.15 or newer
15 |
16 |   private var gradientColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:14:4: error: 'State' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   |    `- error: 'State' is only available in macOS 10.15 or newer
15 |
16 |   private var gradientColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:16:32: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
16 |   private var gradientColors: [Color] = [
   |                                `- error: 'Color' is only available in macOS 10.15 or newer
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:17:6: error: 'gray' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
   |      `- error: 'gray' is only available in macOS 10.15 or newer
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:17:11: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
15 |
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
   |           `- error: 'opacity' is only available in macOS 10.15 or newer
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:18:6: error: 'white' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
   |      `- error: 'white' is only available in macOS 10.15 or newer
19 |     .gray.opacity(0.2),
20 |   ]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:18:12: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
16 |   private var gradientColors: [Color] = [
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
   |            `- error: 'opacity' is only available in macOS 10.15 or newer
19 |     .gray.opacity(0.2),
20 |   ]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:19:6: error: 'gray' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
   |      `- error: 'gray' is only available in macOS 10.15 or newer
20 |   ]
21 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:19:11: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
17 |     .gray.opacity(0.2),
18 |     .white.opacity(0.2),
19 |     .gray.opacity(0.2),
   |           `- error: 'opacity' is only available in macOS 10.15 or newer
20 |   ]
21 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:18: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 16, *)
12 | struct ShimmerEffect: View {
   |        `- note: add @available attribute to enclosing struct
13 |   @State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
14 |   @State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
   :
20 |   ]
21 |
22 |   var body: some View {
   |       |          `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing property
23 |     LinearGradient(
24 |       colors: gradientColors,
[4/5] Compiling PhotoBoxKit PhotoBoxKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:8:4: error: 'State' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
    |    `- error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 |   @Binding var activeIndex: Int
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:10:4: error: 'Binding' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
 10 |   @Binding var activeIndex: Int
    |    `- error: 'Binding' is only available in macOS 10.15 or newer
 11 |   @Binding var isVisible: Bool
 12 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:11:4: error: 'Binding' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
 10 |   @Binding var activeIndex: Int
 11 |   @Binding var isVisible: Bool
    |    `- error: 'Binding' is only available in macOS 10.15 or newer
 12 |
 13 |   let urls: [String]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:17:16: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 15 |   let gallery: Bool
 16 |   let cornerRadius: CGFloat
 17 |   let bgColor: Color
    |                `- error: 'Color' is only available in macOS 10.15 or newer
 18 |   let counterColor: Color
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:18:21: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 16 |   let cornerRadius: CGFloat
 17 |   let bgColor: Color
 18 |   let counterColor: Color
    |                     `- error: 'Color' is only available in macOS 10.15 or newer
 19 |
 20 |   public init(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:22:18: error: 'Binding' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    |                  `- error: 'Binding' is only available in macOS 10.15 or newer
 23 |     isVisible: Binding<Bool>,
 24 |     urls: [String],
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:23:16: error: 'Binding' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
 23 |     isVisible: Binding<Bool>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 24 |     urls: [String],
 25 |     counter: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:14: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 26 |     gallery: Bool = true,
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
    |              `- error: 'Color' is only available in macOS 10.15 or newer
 29 |     counterColor: Color = Color.white
 30 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:19: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
 29 |     counterColor: Color = Color.white
    |                   `- error: 'Color' is only available in macOS 10.15 or newer
 30 |   ) {
 31 |     self._isFading = State(initialValue: isFading)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:22: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 26 |     gallery: Bool = true,
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
    |                      `- error: 'Color' is only available in macOS 10.15 or newer
 29 |     counterColor: Color = Color.white
 30 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:28: error: 'black' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 26 |     gallery: Bool = true,
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
    |                            `- error: 'black' is only available in macOS 10.15 or newer
 29 |     counterColor: Color = Color.white
 30 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:34: error: 'opacity' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 26 |     gallery: Bool = true,
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
    |                                  `- error: 'opacity' is only available in macOS 10.15 or newer
 29 |     counterColor: Color = Color.white
 30 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:27: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
 29 |     counterColor: Color = Color.white
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 30 |   ) {
 31 |     self._isFading = State(initialValue: isFading)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:33: error: 'white' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 27 |     cornerRadius: CGFloat = 0.0,
 28 |     bgColor: Color = Color.black.opacity(0.9),
 29 |     counterColor: Color = Color.white
    |                                 `- error: 'white' is only available in macOS 10.15 or newer
 30 |   ) {
 31 |     self._isFading = State(initialValue: isFading)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:25: error: 'View' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              |          `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:154:46: error: 'View' is only available in macOS 10.15 or newer
150 |
151 | @available(iOS 16.0, *)
152 | struct PhotoBoxKitModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
153 |   let boxkit: PhotoBoxKit
154 |   public 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
155 |     content
156 |       .overlay(boxkit)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:163:18: error: 'Binding' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
    |                  `- error: 'Binding' is only available in macOS 10.15 or newer
164 |     isVisible: Binding<Bool>,
165 |     urls: [String],
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:164:16: error: 'Binding' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
165 |     urls: [String],
166 |     counter: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:14: error: 'Color' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
167 |     gallery: Bool = true,
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
    |              `- error: 'Color' is only available in macOS 10.15 or newer
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:19: error: 'Color' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
170 |     counterColor: Color = Color.white
    |                   `- error: 'Color' is only available in macOS 10.15 or newer
171 |   ) -> some View {
172 |     modifier(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:171:13: error: 'View' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
169 |     bgColor: Color = Color.black.opacity(0.9),
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
    |             `- error: 'View' is only available in macOS 10.15 or newer
172 |     modifier(
173 |       PhotoBoxKitModifier(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:22: error: 'Color' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
167 |     gallery: Bool = true,
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
    |                      `- error: 'Color' is only available in macOS 10.15 or newer
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:28: error: 'black' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
167 |     gallery: Bool = true,
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
    |                            `- error: 'black' is only available in macOS 10.15 or newer
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:34: error: 'opacity' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
167 |     gallery: Bool = true,
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
    |                                  `- error: 'opacity' is only available in macOS 10.15 or newer
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:27: error: 'Color' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
170 |     counterColor: Color = Color.white
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
171 |   ) -> some View {
172 |     modifier(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:33: error: 'white' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
168 |     cornerRadius: CGFloat = 0,
169 |     bgColor: Color = Color.black.opacity(0.9),
170 |     counterColor: Color = Color.white
    |                                 `- error: 'white' is only available in macOS 10.15 or newer
171 |   ) -> some View {
172 |     modifier(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:18: error: 'View' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
163 |     activeIndex: Binding<Int>,
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:31:22: error: 'State' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 18 |   let counterColor: Color
 19 |
 20 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 21 |     isFading: Bool = false,
 22 |     activeIndex: Binding<Int>,
    :
 29 |     counterColor: Color = Color.white
 30 |   ) {
 31 |     self._isFading = State(initialValue: isFading)
    |                      |- error: 'State' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 32 |     self._isVisible = isVisible
 33 |     self._activeIndex = activeIndex
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:5: error: 'ZStack' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
    |     |- error: 'ZStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
 45 |       if isVisible {
 46 |         bgColor.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:5: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
    |     |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |     `- note: add 'if #available' version check
 45 |       if isVisible {
 46 |         bgColor.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:12: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
    |            |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |            `- note: add 'if #available' version check
 45 |       if isVisible {
 46 |         bgColor.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:12: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
    |            |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |            `- note: add 'if #available' version check
 45 |       if isVisible {
 46 |         bgColor.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:46:17: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
 46 |         bgColor.ignoresSafeArea()
    |                 |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
    |                 `- note: add 'if #available' version check
 47 |           .onTapGesture {
 48 |             isVisible = false
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:47:12: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
 46 |         bgColor.ignoresSafeArea()
 47 |           .onTapGesture {
    |            |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
 48 |             isVisible = false
 49 |           }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:48:13: error: setter for 'isVisible' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
 46 |         bgColor.ignoresSafeArea()
 47 |           .onTapGesture {
 48 |             isVisible = false
    |             |- error: setter for 'isVisible' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 49 |           }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:9: error: 'VStack' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 49 |           }
 50 |
 51 |         VStack {
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 52 |           Spacer()
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 49 |           }
 50 |
 51 |         VStack {
    |                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 52 |           Spacer()
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 49 |           }
 50 |
 51 |         VStack {
    |                |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 52 |           Spacer()
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:52:11: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 50 |
 51 |         VStack {
 52 |           Spacer()
    |           |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |           `- note: add 'if #available' version check
 53 |
 54 |           AsyncCachedIamge(url: URL(string: urls[activeIndex]))
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:52:11: error: 'Spacer' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 50 |
 51 |         VStack {
 52 |           Spacer()
    |           |- error: 'Spacer' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
 53 |
 54 |           AsyncCachedIamge(url: URL(string: urls[activeIndex]))
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:55:14: error: 'scaledToFit()' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 53 |
 54 |           AsyncCachedIamge(url: URL(string: urls[activeIndex]))
 55 |             .scaledToFit()
    |              |- error: 'scaledToFit()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 56 |             .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
 57 |             .opacity(isFading ? 0 : 1)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:56:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 54 |           AsyncCachedIamge(url: URL(string: urls[activeIndex]))
 55 |             .scaledToFit()
 56 |             .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
    |              |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 57 |             .opacity(isFading ? 0 : 1)
 58 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:56:24: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 54 |           AsyncCachedIamge(url: URL(string: urls[activeIndex]))
 55 |             .scaledToFit()
 56 |             .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
    |                        |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 57 |             .opacity(isFading ? 0 : 1)
 58 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:57:14: error: 'opacity' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 55 |             .scaledToFit()
 56 |             .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
 57 |             .opacity(isFading ? 0 : 1)
    |              |- error: 'opacity' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 58 |             .onAppear {
 59 |               isFading = false
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:58:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 56 |             .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
 57 |             .opacity(isFading ? 0 : 1)
 58 |             .onAppear {
    |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 59 |               isFading = false
 60 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:59:15: error: setter for 'isFading' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 57 |             .opacity(isFading ? 0 : 1)
 58 |             .onAppear {
 59 |               isFading = false
    |               |- error: setter for 'isFading' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 60 |             }
 61 |             .id(activeIndex)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:61:14: error: 'id' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 59 |               isFading = false
 60 |             }
 61 |             .id(activeIndex)
    |              |- error: 'id' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 62 |             .onChange(of: activeIndex) { _ in
 63 |               isFading = true
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:62:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 60 |             }
 61 |             .id(activeIndex)
 62 |             .onChange(of: activeIndex) { _ in
    |              |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
 63 |               isFading = true
 64 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:63:15: error: setter for 'isFading' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 61 |             .id(activeIndex)
 62 |             .onChange(of: activeIndex) { _ in
 63 |               isFading = true
    |               |- error: setter for 'isFading' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 64 |             }
 65 |             .padding(.horizontal, 20)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:65:14: error: 'padding' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 63 |               isFading = true
 64 |             }
 65 |             .padding(.horizontal, 20)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 66 |
 67 |           Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:67:11: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 65 |             .padding(.horizontal, 20)
 66 |
 67 |           Spacer()
    |           |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |           `- note: add 'if #available' version check
 68 |
 69 |           VStack {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:67:11: error: 'Spacer' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 65 |             .padding(.horizontal, 20)
 66 |
 67 |           Spacer()
    |           |- error: 'Spacer' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
 68 |
 69 |           VStack {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:11: error: 'VStack' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 67 |           Spacer()
 68 |
 69 |           VStack {
    |           |- error: 'VStack' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
 70 |             if counter {
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 67 |           Spacer()
 68 |
 69 |           VStack {
    |                  |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                  `- note: add 'if #available' version check
 70 |             if counter {
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 67 |           Spacer()
 68 |
 69 |           VStack {
    |                  |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                  `- note: add 'if #available' version check
 70 |             if counter {
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:71:15: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 69 |           VStack {
 70 |             if counter {
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
    |               |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |               `- note: add 'if #available' version check
 72 |                 .foregroundColor(counterColor)
 73 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:71:15: error: 'Text' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 69 |           VStack {
 70 |             if counter {
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
    |               |- error: 'Text' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 72 |                 .foregroundColor(counterColor)
 73 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:72:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 70 |             if counter {
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
 72 |                 .foregroundColor(counterColor)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 73 |             }
 74 |             if gallery {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:70:24: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 68 |
 69 |           VStack {
 70 |             if counter {
    |                        |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
 72 |                 .foregroundColor(counterColor)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:70:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 68 |
 69 |           VStack {
 70 |             if counter {
    |                        |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
 72 |                 .foregroundColor(counterColor)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:73:13: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
 72 |                 .foregroundColor(counterColor)
 73 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 74 |             if gallery {
 75 |               ScrollViewReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:75:15: error: 'ScrollViewReader' is only available in macOS 11.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 73 |             }
 74 |             if gallery {
 75 |               ScrollViewReader { proxy in
    |               |- error: 'ScrollViewReader' is only available in macOS 11.0 or newer
    |               `- note: add 'if #available' version check
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:75:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 73 |             }
 74 |             if gallery {
 75 |               ScrollViewReader { proxy in
    |                                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:75:32: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 73 |             }
 74 |             if gallery {
 75 |               ScrollViewReader { proxy in
    |                                |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:17: error: 'ScrollView' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 74 |             if gallery {
 75 |               ScrollViewReader { proxy in
 76 |                 ScrollView(.horizontal) {
    |                 |- error: 'ScrollView' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 77 |                   LazyHStack(spacing: 10) {
 78 |                     ForEach(urls.indices, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:17: error: 'init(_:content:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 74 |             if gallery {
 75 |               ScrollViewReader { proxy in
 76 |                 ScrollView(.horizontal) {
    |                 |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 77 |                   LazyHStack(spacing: 10) {
 78 |                     ForEach(urls.indices, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:41: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 74 |             if gallery {
 75 |               ScrollViewReader { proxy in
 76 |                 ScrollView(.horizontal) {
    |                                         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                         `- note: add 'if #available' version check
 77 |                   LazyHStack(spacing: 10) {
 78 |                     ForEach(urls.indices, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:41: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 74 |             if gallery {
 75 |               ScrollViewReader { proxy in
 76 |                 ScrollView(.horizontal) {
    |                                         |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                         `- note: add 'if #available' version check
 77 |                   LazyHStack(spacing: 10) {
 78 |                     ForEach(urls.indices, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:19: error: 'LazyHStack' is only available in macOS 11.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 75 |               ScrollViewReader { proxy in
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
    |                   |- error: 'LazyHStack' is only available in macOS 11.0 or newer
    |                   `- note: add 'if #available' version check
 78 |                     ForEach(urls.indices, id: \.self) { index in
 79 |                       let url = urls[index]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:19: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 75 |               ScrollViewReader { proxy in
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
    |                   |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                   `- note: add 'if #available' version check
 78 |                     ForEach(urls.indices, id: \.self) { index in
 79 |                       let url = urls[index]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:43: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 75 |               ScrollViewReader { proxy in
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
    |                                           |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                           `- note: add 'if #available' version check
 78 |                     ForEach(urls.indices, id: \.self) { index in
 79 |                       let url = urls[index]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
 78 |                     ForEach(urls.indices, id: \.self) { index in
    |                     |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                     `- note: add 'if #available' version check
 79 |                       let url = urls[index]
 80 |                       AsyncCachedIamge(url: URL(string: url))
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:21: error: 'ForEach' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
 78 |                     ForEach(urls.indices, id: \.self) { index in
    |                     |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 79 |                       let url = urls[index]
 80 |                       AsyncCachedIamge(url: URL(string: url))
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:21: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
 78 |                     ForEach(urls.indices, id: \.self) { index in
    |                     |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 79 |                       let url = urls[index]
 80 |                       AsyncCachedIamge(url: URL(string: url))
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:55: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
 78 |                     ForEach(urls.indices, id: \.self) { index in
    |                                                       |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                       `- note: add 'if #available' version check
 79 |                       let url = urls[index]
 80 |                       AsyncCachedIamge(url: URL(string: url))
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:81:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 79 |                       let url = urls[index]
 80 |                       AsyncCachedIamge(url: URL(string: url))
 81 |                         .frame(width: 50, height: 50)
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 82 |                         .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
 83 |                         .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:82:26: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 80 |                       AsyncCachedIamge(url: URL(string: url))
 81 |                         .frame(width: 50, height: 50)
 82 |                         .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
    |                          |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 83 |                         .overlay {
 84 |                           if index == activeIndex {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:82:36: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 80 |                       AsyncCachedIamge(url: URL(string: url))
 81 |                         .frame(width: 50, height: 50)
 82 |                         .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
    |                                    |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 83 |                         .overlay {
 84 |                           if index == activeIndex {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:83:26: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 81 |                         .frame(width: 50, height: 50)
 82 |                         .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
 83 |                         .overlay {
    |                          |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
 84 |                           if index == activeIndex {
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:83:34: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 81 |                         .frame(width: 50, height: 50)
 82 |                         .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
 83 |                         .overlay {
    |                                  |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
 84 |                           if index == activeIndex {
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:85:29: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 83 |                         .overlay {
 84 |                           if index == activeIndex {
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
    |                             |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
 86 |                               .stroke(Color.white, lineWidth: 1)
 87 |                           }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:85:29: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 83 |                         .overlay {
 84 |                           if index == activeIndex {
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
    |                             |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 86 |                               .stroke(Color.white, lineWidth: 1)
 87 |                           }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:86:32: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 84 |                           if index == activeIndex {
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
 86 |                               .stroke(Color.white, lineWidth: 1)
    |                                |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                                `- note: add 'if #available' version check
 87 |                           }
 88 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:86:39: error: 'Color' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 84 |                           if index == activeIndex {
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
 86 |                               .stroke(Color.white, lineWidth: 1)
    |                                       |- error: 'Color' is only available in macOS 10.15 or newer
    |                                       `- note: add 'if #available' version check
 87 |                           }
 88 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:86:45: error: 'white' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 84 |                           if index == activeIndex {
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
 86 |                               .stroke(Color.white, lineWidth: 1)
    |                                             |- error: 'white' is only available in macOS 10.15 or newer
    |                                             `- note: add 'if #available' version check
 87 |                           }
 88 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:84:51: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 82 |                         .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
 83 |                         .overlay {
 84 |                           if index == activeIndex {
    |                                                   |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                   `- note: add 'if #available' version check
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
 86 |                               .stroke(Color.white, lineWidth: 1)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:84:51: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 82 |                         .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
 83 |                         .overlay {
 84 |                           if index == activeIndex {
    |                                                   |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                   `- note: add 'if #available' version check
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
 86 |                               .stroke(Color.white, lineWidth: 1)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:87:27: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
 86 |                               .stroke(Color.white, lineWidth: 1)
 87 |                           }
    |                           |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 88 |                         }
 89 |                         .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:83:34: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 81 |                         .frame(width: 50, height: 50)
 82 |                         .clipShape(RoundedRectangle(cornerRadius: cornerRadius))
 83 |                         .overlay {
    |                                  |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
 84 |                           if index == activeIndex {
 85 |                             RoundedRectangle(cornerRadius: cornerRadius)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:89:26: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 87 |                           }
 88 |                         }
 89 |                         .onTapGesture {
    |                          |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 90 |                           withAnimation(.snappy(duration: 0.3)) {
 91 |                             activeIndex = index
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:90:27: error: 'withAnimation' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 88 |                         }
 89 |                         .onTapGesture {
 90 |                           withAnimation(.snappy(duration: 0.3)) {
    |                           |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 91 |                             activeIndex = index
 92 |                           }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:90:42: error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 88 |                         }
 89 |                         .onTapGesture {
 90 |                           withAnimation(.snappy(duration: 0.3)) {
    |                                          |- error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
 91 |                             activeIndex = index
 92 |                           }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:91:29: error: setter for 'activeIndex' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 89 |                         .onTapGesture {
 90 |                           withAnimation(.snappy(duration: 0.3)) {
 91 |                             activeIndex = index
    |                             |- error: setter for 'activeIndex' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 92 |                           }
 93 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:94:26: error: 'id' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 92 |                           }
 93 |                         }
 94 |                         .id(index)
    |                          |- error: 'id' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 95 |                     }
 96 |                   }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:43: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 75 |               ScrollViewReader { proxy in
 76 |                 ScrollView(.horizontal) {
 77 |                   LazyHStack(spacing: 10) {
    |                                           |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                           `- note: add 'if #available' version check
 78 |                     ForEach(urls.indices, id: \.self) { index in
 79 |                       let url = urls[index]
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:97:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 95 |                     }
 96 |                   }
 97 |                   .frame(height: 50)
    |                    |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 98 |                   .padding(.horizontal, 20)
 99 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:98:20: error: 'padding' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 96 |                   }
 97 |                   .frame(height: 50)
 98 |                   .padding(.horizontal, 20)
    |                    |- error: 'padding' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 99 |                 }
100 |                 .onChange(of: activeIndex) { index in
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:100:18: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 98 |                   .padding(.horizontal, 20)
 99 |                 }
100 |                 .onChange(of: activeIndex) { index in
    |                  |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
101 |                   withAnimation(.snappy(duration: 0.3)) {
102 |                     proxy.scrollTo(index, anchor: .center)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:101:19: error: 'withAnimation' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 99 |                 }
100 |                 .onChange(of: activeIndex) { index in
101 |                   withAnimation(.snappy(duration: 0.3)) {
    |                   |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
102 |                     proxy.scrollTo(index, anchor: .center)
103 |                   }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:101:34: error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 99 |                 }
100 |                 .onChange(of: activeIndex) { index in
101 |                   withAnimation(.snappy(duration: 0.3)) {
    |                                  |- error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
102 |                     proxy.scrollTo(index, anchor: .center)
103 |                   }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:105:18: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
103 |                   }
104 |                 }
105 |                 .onAppear {
    |                  |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
106 |                   proxy.scrollTo(activeIndex, anchor: .center)
107 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:108:18: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
106 |                   proxy.scrollTo(activeIndex, anchor: .center)
107 |                 }
108 |                 .scrollIndicators(.hidden)
    |                  |- error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
109 |               }
110 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:74:24: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 72 |                 .foregroundColor(counterColor)
 73 |             }
 74 |             if gallery {
    |                        |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 75 |               ScrollViewReader { proxy in
 76 |                 ScrollView(.horizontal) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:110:13: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
108 |                 .scrollIndicators(.hidden)
109 |               }
110 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
111 |           }
112 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 67 |           Spacer()
 68 |
 69 |           VStack {
    |                  |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                  `- note: add 'if #available' version check
 70 |             if counter {
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 67 |           Spacer()
 68 |
 69 |           VStack {
    |                  |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                  `- note: add 'if #available' version check
 70 |             if counter {
 71 |               Text("\(activeIndex + 1) / \(urls.count)")
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 49 |           }
 50 |
 51 |         VStack {
    |                |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 52 |           Spacer()
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
 49 |           }
 50 |
 51 |         VStack {
    |                |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 52 |           Spacer()
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:113:10: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
111 |           }
112 |         }
113 |         .gesture(
    |          |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
114 |           DragGesture()
115 |             .onEnded { value in
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:114:11: error: 'DragGesture' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
112 |         }
113 |         .gesture(
114 |           DragGesture()
    |           |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
115 |             .onEnded { value in
116 |               withAnimation(.snappy(duration: 0.3)) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:114:11: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
112 |         }
113 |         .gesture(
114 |           DragGesture()
    |           |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |           `- note: add 'if #available' version check
115 |             .onEnded { value in
116 |               withAnimation(.snappy(duration: 0.3)) {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:115:14: error: 'onEnded' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
113 |         .gesture(
114 |           DragGesture()
115 |             .onEnded { value in
    |              |- error: 'onEnded' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
116 |               withAnimation(.snappy(duration: 0.3)) {
117 |                 if value.translation.width < -100 {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:116:15: error: 'withAnimation' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
114 |           DragGesture()
115 |             .onEnded { value in
116 |               withAnimation(.snappy(duration: 0.3)) {
    |               |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
117 |                 if value.translation.width < -100 {
118 |                   nextImage()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:116:30: error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
114 |           DragGesture()
115 |             .onEnded { value in
116 |               withAnimation(.snappy(duration: 0.3)) {
    |                              |- error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
117 |                 if value.translation.width < -100 {
118 |                   nextImage()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:125:17: error: setter for 'isVisible' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
123 |
124 |               if value.translation.height > 200 {
125 |                 isVisible = false
    |                 |- error: setter for 'isVisible' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
126 |               }
127 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:45:20: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    |                    |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 46 |         bgColor.ignoresSafeArea()
 47 |           .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:129:7: error: 'buildIf' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
127 |             }
128 |         )
129 |       }
    |       |- error: 'buildIf' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
130 |     }
131 |     .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:12: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
    |            |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |            `- note: add 'if #available' version check
 45 |       if isVisible {
 46 |         bgColor.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:131:6: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
 41 |
 42 |   @available(iOS 16.0, *)
 43 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 44 |     ZStack {
 45 |       if isVisible {
    :
129 |       }
130 |     }
131 |     .frame(maxWidth: .infinity, maxHeight: .infinity)
    |      |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
132 |   }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:136:7: error: cannot pass as inout because setter for 'activeIndex' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
132 |   }
133 |
134 |   private func nextImage() {
    |                `- note: add @available attribute to enclosing instance method
135 |     if  activeIndex < urls.count - 1 {
136 |       activeIndex += 1
    |       |- error: cannot pass as inout because setter for 'activeIndex' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
137 |     } else {
138 |       activeIndex = 0
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:138:7: error: setter for 'activeIndex' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
132 |   }
133 |
134 |   private func nextImage() {
    |                `- note: add @available attribute to enclosing instance method
135 |     if  activeIndex < urls.count - 1 {
136 |       activeIndex += 1
137 |     } else {
138 |       activeIndex = 0
    |       |- error: setter for 'activeIndex' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
139 |     }
140 |   }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:144:7: error: cannot pass as inout because setter for 'activeIndex' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
140 |   }
141 |
142 |   private func prevImage() {
    |                `- note: add @available attribute to enclosing instance method
143 |     if activeIndex > 0 {
144 |       activeIndex -= 1
    |       |- error: cannot pass as inout because setter for 'activeIndex' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
145 |     } else {
146 |       activeIndex = urls.count - 1
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:146:7: error: setter for 'activeIndex' is only available in macOS 10.15 or newer
  5 |
  6 | @available(iOS 16.0, *)
  7 | public struct PhotoBoxKit: View {
    |               `- note: add @available attribute to enclosing struct
  8 |   @State private var isFading = false
  9 |
    :
140 |   }
141 |
142 |   private func prevImage() {
    |                `- note: add @available attribute to enclosing instance method
143 |     if activeIndex > 0 {
144 |       activeIndex -= 1
145 |     } else {
146 |       activeIndex = urls.count - 1
    |       |- error: setter for 'activeIndex' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
147 |     }
148 |   }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:156:8: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
150 |
151 | @available(iOS 16.0, *)
152 | struct PhotoBoxKitModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
153 |   let boxkit: PhotoBoxKit
154 |   public func body(content: Content) -> some View {
    |               `- note: add @available attribute to enclosing instance method
155 |     content
156 |       .overlay(boxkit)
    |        |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
157 |   }
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:172:5: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
172 |     modifier(
    |     |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |     `- note: add 'if #available' version check
173 |       PhotoBoxKitModifier(
174 |         boxkit: PhotoBoxKit(
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:172:5: error: 'modifier' is only available in macOS 10.15 or newer
159 |
160 | @available(iOS 16.0, *)
161 | public extension View {
    |        `- note: add @available attribute to enclosing extension
162 |   func photoBoxKit(
    |        `- note: add @available attribute to enclosing instance method
163 |     activeIndex: Binding<Int>,
164 |     isVisible: Binding<Bool>,
    :
170 |     counterColor: Color = Color.white
171 |   ) -> some View {
172 |     modifier(
    |     |- error: 'modifier' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
173 |       PhotoBoxKitModifier(
174 |         boxkit: PhotoBoxKit(
[5/5] Compiling PhotoBoxKit AsyncCachedIamge.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:12:52: error: cannot find type 'UIImage' in scope
10 |
11 | class CacheManager {
12 |   @MainActor static let shared = NSCache<NSString, UIImage>()
   |                                                    `- error: cannot find type 'UIImage' in scope
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:17:29: error: cannot find type 'UIImage' in scope
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
17 |   @State private var image: UIImage? = nil
   |                             `- error: cannot find type 'UIImage' in scope
18 |   let url: URL?
19 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:17:4: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
   |        `- note: add @available attribute to enclosing struct
17 |   @State private var image: UIImage? = nil
   |    `- error: 'State' is only available in macOS 10.15 or newer
18 |   let url: URL?
19 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:20:18: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
   |        `- note: add @available attribute to enclosing struct
17 |   @State private var image: UIImage? = nil
18 |   let url: URL?
19 |
20 |   var body: some View {
   |       |          `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing property
21 |     Group {
22 |       if let uiImage = image {
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:21:5: error: no exact matches in call to initializer
19 |
20 |   var body: some View {
21 |     Group {
   |     `- error: no exact matches in call to initializer
22 |       if let uiImage = image {
   |       |- note: closure containing control flow statement cannot be used with result builder 'AccessibilityRotorContentBuilder'
   |       `- note: closure containing control flow statement cannot be used with result builder 'SceneBuilder'
23 |         Image(uiImage: uiImage)
24 |           .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:45:51: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
14 |
15 | @available(iOS 16.0, *)
16 | struct AsyncCachedIamge: View {
   |        `- note: add @available attribute to enclosing struct
17 |   @State private var image: UIImage? = nil
18 |   let url: URL?
   :
34 |   }
35 |
36 |   private func downloadImage(with url: URL) async {
   |                `- note: add @available attribute to enclosing instance method
37 |     let cacheKey = url.absoluteString as NSString
38 |
   :
43 |
44 |     do {
45 |       let (data, _) = try await URLSession.shared.data(from: url)
   |                                                   |- error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
   |                                                   `- note: add 'if #available' version check
46 |       if let downloadedImage = UIImage(data: data) {
47 |
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:46:32: error: cannot find 'UIImage' in scope
44 |     do {
45 |       let (data, _) = try await URLSession.shared.data(from: url)
46 |       if let downloadedImage = UIImage(data: data) {
   |                                `- error: cannot find 'UIImage' in scope
47 |
48 |         CacheManager.shared.setObject(downloadedImage, forKey: cacheKey)
BUILD FAILURE 6.1 macosSpm