The Swift Package Index logo.Swift Package Index

Build Information

Failed to build union-gestures, reference main (e6128f), with Swift 6.2 for macOS (SPM) on 22 Sep 2026 23:31:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/unionst/union-gestures.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/unionst/union-gestures
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e6128f1 Downgrade to Swift 6.1 for GitHub Actions compatibility
Cloned https://github.com/unionst/union-gestures.git
Revision (git rev-parse @):
e6128f1d09aa94af0f44ffd6859ca854586a0df1
SUCCESS checkout https://github.com/unionst/union-gestures.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/unionst/union-gestures.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module UnionGestures
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:34:62: error: cannot find type 'UILongPressGestureRecognizer' in scope
 32 |     }
 33 |
 34 |     public func makeUIGestureRecognizer(context: Context) -> UILongPressGestureRecognizer {
    |                                                              `- error: cannot find type 'UILongPressGestureRecognizer' in scope
 35 |         let dragGesture = UILongPressGestureRecognizer()
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:34:50: error: cannot find type 'Context' in scope
 32 |     }
 33 |
 34 |     public func makeUIGestureRecognizer(context: Context) -> UILongPressGestureRecognizer {
    |                                                  `- error: cannot find type 'Context' in scope
 35 |         let dragGesture = UILongPressGestureRecognizer()
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:44:70: error: cannot find type 'UILongPressGestureRecognizer' in scope
 42 |     }
 43 |
 44 |     public func handleUIGestureRecognizerAction(_ gestureRecognizer: UILongPressGestureRecognizer, context: Context) {
    |                                                                      `- error: cannot find type 'UILongPressGestureRecognizer' in scope
 45 |         guard gestureRecognizer.view?.window != nil else {
 46 |             context.coordinator.reset()
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:44:109: error: cannot find type 'Context' in scope
 42 |     }
 43 |
 44 |     public func handleUIGestureRecognizerAction(_ gestureRecognizer: UILongPressGestureRecognizer, context: Context) {
    |                                                                                                             `- error: cannot find type 'Context' in scope
 45 |         guard gestureRecognizer.view?.window != nil else {
 46 |             context.coordinator.reset()
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:84:30: error: cannot find type 'Context' in scope
 82 |     }
 83 |
 84 |     func value(from context: Context) -> Value {
    |                              `- error: cannot find type 'Context' in scope
 85 |         let location = context.converter.location(in: .local)
 86 |         let start = context.coordinator.start ?? location
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:92:37: error: cannot find type 'Context' in scope
 90 |     }
 91 |
 92 |     func safeLocation(from context: Context) -> CGPoint {
    |                                     `- error: cannot find type 'Context' in scope
 93 |         context.converter.location(in: .local)
 94 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:96:34: error: cannot find type 'Context' in scope
 94 |     }
 95 |
 96 |     func safeValue(from context: Context) -> Value {
    |                                  `- error: cannot find type 'Context' in scope
 97 |         let location = safeLocation(from: context)
 98 |         let start = context.coordinator.start ?? location
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:103:44: error: cannot find type 'CoordinateSpaceConverter' in scope
101 |     }
102 |
103 |     public func makeCoordinator(converter: CoordinateSpaceConverter) -> Coordinator {
    |                                            `- error: cannot find type 'CoordinateSpaceConverter' in scope
104 |         .init(allowsSwipeToDismiss: allowsSwipeToDismiss)
105 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:125:34: error: cannot find type 'UIGestureRecognizer' in scope
123 |
124 |         public func gestureRecognizer(
125 |             _ gestureRecognizer: UIGestureRecognizer,
    |                                  `- error: cannot find type 'UIGestureRecognizer' in scope
126 |             shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer
127 |         ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:126:71: error: cannot find type 'UIGestureRecognizer' in scope
124 |         public func gestureRecognizer(
125 |             _ gestureRecognizer: UIGestureRecognizer,
126 |             shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer
    |                                                                       `- error: cannot find type 'UIGestureRecognizer' in scope
127 |         ) -> Bool {
128 |             return true
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:107:41: error: cannot find type 'UIGestureRecognizerDelegate' in scope
105 |     }
106 |
107 |     public class Coordinator: NSObject, UIGestureRecognizerDelegate {
    |                                         `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
108 |         var start: CGPoint?
109 |         var allowsSwipeToDismiss: Bool
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:10:40: error: 'UIGestureRecognizerRepresentable' is unavailable in macOS
  8 | import SwiftUI
  9 |
 10 | public struct SimultaneousDragGesture: UIGestureRecognizerRepresentable {
    |                                        `- error: 'UIGestureRecognizerRepresentable' is unavailable in macOS
 11 |     public struct Value : Equatable, Sendable {
 12 |         public var time: Date
SwiftUI.UIGestureRecognizerRepresentable:6:44: note: 'UIGestureRecognizerRepresentable' has been explicitly marked unavailable here
4 | @available(watchOS, unavailable)
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency public protocol UIGestureRecognizerRepresentable {
  |                                            `- note: 'UIGestureRecognizerRepresentable' has been explicitly marked unavailable here
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:12:81: error: 'Gesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          |                                                                      `- error: 'Gesture' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:12:81: error: 'Gesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          |                                                                      `- error: 'Gesture' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:12:98: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          |                                                                                       `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
[4/5] Compiling UnionGestures SimultaneousDragGesture.swift
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:34:62: error: cannot find type 'UILongPressGestureRecognizer' in scope
 32 |     }
 33 |
 34 |     public func makeUIGestureRecognizer(context: Context) -> UILongPressGestureRecognizer {
    |                                                              `- error: cannot find type 'UILongPressGestureRecognizer' in scope
 35 |         let dragGesture = UILongPressGestureRecognizer()
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:34:50: error: cannot find type 'Context' in scope
 32 |     }
 33 |
 34 |     public func makeUIGestureRecognizer(context: Context) -> UILongPressGestureRecognizer {
    |                                                  `- error: cannot find type 'Context' in scope
 35 |         let dragGesture = UILongPressGestureRecognizer()
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:44:70: error: cannot find type 'UILongPressGestureRecognizer' in scope
 42 |     }
 43 |
 44 |     public func handleUIGestureRecognizerAction(_ gestureRecognizer: UILongPressGestureRecognizer, context: Context) {
    |                                                                      `- error: cannot find type 'UILongPressGestureRecognizer' in scope
 45 |         guard gestureRecognizer.view?.window != nil else {
 46 |             context.coordinator.reset()
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:44:109: error: cannot find type 'Context' in scope
 42 |     }
 43 |
 44 |     public func handleUIGestureRecognizerAction(_ gestureRecognizer: UILongPressGestureRecognizer, context: Context) {
    |                                                                                                             `- error: cannot find type 'Context' in scope
 45 |         guard gestureRecognizer.view?.window != nil else {
 46 |             context.coordinator.reset()
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:84:30: error: cannot find type 'Context' in scope
 82 |     }
 83 |
 84 |     func value(from context: Context) -> Value {
    |                              `- error: cannot find type 'Context' in scope
 85 |         let location = context.converter.location(in: .local)
 86 |         let start = context.coordinator.start ?? location
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:92:37: error: cannot find type 'Context' in scope
 90 |     }
 91 |
 92 |     func safeLocation(from context: Context) -> CGPoint {
    |                                     `- error: cannot find type 'Context' in scope
 93 |         context.converter.location(in: .local)
 94 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:96:34: error: cannot find type 'Context' in scope
 94 |     }
 95 |
 96 |     func safeValue(from context: Context) -> Value {
    |                                  `- error: cannot find type 'Context' in scope
 97 |         let location = safeLocation(from: context)
 98 |         let start = context.coordinator.start ?? location
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:103:44: error: cannot find type 'CoordinateSpaceConverter' in scope
101 |     }
102 |
103 |     public func makeCoordinator(converter: CoordinateSpaceConverter) -> Coordinator {
    |                                            `- error: cannot find type 'CoordinateSpaceConverter' in scope
104 |         .init(allowsSwipeToDismiss: allowsSwipeToDismiss)
105 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:125:34: error: cannot find type 'UIGestureRecognizer' in scope
123 |
124 |         public func gestureRecognizer(
125 |             _ gestureRecognizer: UIGestureRecognizer,
    |                                  `- error: cannot find type 'UIGestureRecognizer' in scope
126 |             shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer
127 |         ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:126:71: error: cannot find type 'UIGestureRecognizer' in scope
124 |         public func gestureRecognizer(
125 |             _ gestureRecognizer: UIGestureRecognizer,
126 |             shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer
    |                                                                       `- error: cannot find type 'UIGestureRecognizer' in scope
127 |         ) -> Bool {
128 |             return true
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:107:41: error: cannot find type 'UIGestureRecognizerDelegate' in scope
105 |     }
106 |
107 |     public class Coordinator: NSObject, UIGestureRecognizerDelegate {
    |                                         `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
108 |         var start: CGPoint?
109 |         var allowsSwipeToDismiss: Bool
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:10:40: error: 'UIGestureRecognizerRepresentable' is unavailable in macOS
  8 | import SwiftUI
  9 |
 10 | public struct SimultaneousDragGesture: UIGestureRecognizerRepresentable {
    |                                        `- error: 'UIGestureRecognizerRepresentable' is unavailable in macOS
 11 |     public struct Value : Equatable, Sendable {
 12 |         public var time: Date
SwiftUI.UIGestureRecognizerRepresentable:6:44: note: 'UIGestureRecognizerRepresentable' has been explicitly marked unavailable here
4 | @available(watchOS, unavailable)
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency public protocol UIGestureRecognizerRepresentable {
  |                                            `- note: 'UIGestureRecognizerRepresentable' has been explicitly marked unavailable here
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:35:27: error: cannot find 'UILongPressGestureRecognizer' in scope
 33 |
 34 |     public func makeUIGestureRecognizer(context: Context) -> UILongPressGestureRecognizer {
 35 |         let dragGesture = UILongPressGestureRecognizer()
    |                           `- error: cannot find 'UILongPressGestureRecognizer' in scope
 36 |
 37 |         dragGesture.minimumPressDuration = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:85:56: error: cannot infer contextual base in reference to member 'local'
 83 |
 84 |     func value(from context: Context) -> Value {
 85 |         let location = context.converter.location(in: .local)
    |                                                        `- error: cannot infer contextual base in reference to member 'local'
 86 |         let start = context.coordinator.start ?? location
 87 |         let time = Date()
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/SimultaneousDragGesture.swift:93:41: error: cannot infer contextual base in reference to member 'local'
 91 |
 92 |     func safeLocation(from context: Context) -> CGPoint {
 93 |         context.converter.location(in: .local)
    |                                         `- error: cannot infer contextual base in reference to member 'local'
 94 |     }
 95 |
[5/5] Compiling UnionGestures View+ApplyDragGesture.swift
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:12:81: error: 'Gesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          |                                                                      `- error: 'Gesture' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:12:81: error: 'Gesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          |                                                                      `- error: 'Gesture' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:12:98: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          |                                                                                       `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:13:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
13 |         if #available(iOS 26.0, *) {
   |            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
14 |             self.gesture(drag)
15 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:14:18: error: 'gesture' is unavailable in macOS
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
   |                  `- error: 'gesture' is unavailable in macOS
15 |         } else {
16 |             self.simultaneousGesture(simultaneousDrag, including: .gesture)
SwiftUI.View.gesture:2:25: note: 'gesture' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func gesture(_ representable: some UIGestureRecognizerRepresentable) -> some View
  |                         `- note: 'gesture' has been explicitly marked unavailable here
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:13:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
   |                                    |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
   |                                    `- note: add 'if #available' version check
14 |             self.gesture(drag)
15 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:13:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
   |                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
14 |             self.gesture(drag)
15 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:15:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
15 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
16 |             self.simultaneousGesture(simultaneousDrag, including: .gesture)
17 |         }
/Users/admin/builder/spi-builder-workspace/Sources/UnionGestures/View+ApplyDragGesture.swift:12:103: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func applyDragGesture(drag: SimultaneousDragGesture, simultaneousDrag: some Gesture) -> some View {
   |          |                                                                                            |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |          |                                                                                            `- note: add 'if #available' version check
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 26.0, *) {
14 |             self.gesture(drag)
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
BUILD FAILURE 6.2 macosSpm