Build Information
Failed to build FlowPilotInfoBar, reference main (971ddf), with Swift 6.3 for macOS (SPM) on 30 Oct 2026 18:11:13 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lvalenta/FlowPilotInfoBar.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lvalenta/FlowPilotInfoBar
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 971ddf3 Release InfoBarViewModel before its auto-hide fires
Cloned https://github.com/lvalenta/FlowPilotInfoBar.git
Revision (git rev-parse @):
971ddf3c48ab750fbbaa19839219cefed020c0a1
SUCCESS checkout https://github.com/lvalenta/FlowPilotInfoBar.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/lvalenta/FlowPilotInfoBar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-69A768CDF2A0BEE1.txt
[8/94] Compiling CleevioUI UIWindow+topViewController.swift
[9/94] Compiling CleevioUI FlowLayout.swift
[10/94] Compiling CleevioUI AccessibilityContext.swift
[11/97] Emitting module InternalCollectionsUtilities
[12/97] Compiling CleevioUI PassThroughWindow.swift
[13/97] Compiling CleevioUI DotProgressViewStyle.swift
[14/97] Compiling CleevioUI FloatingProgressViewStyle.swift
[15/97] Compiling CleevioUI SolidButtonStyle.swift
[16/97] Compiling CleevioUI LoadingKey.swift
[17/97] Compiling CleevioUI StringError.swift
[18/97] Compiling CleevioUI Shape+.swift
[19/97] Compiling CleevioUI ViewWidth.swift
[20/97] Compiling CleevioUI PassThroughView.swift
[21/97] Compiling CleevioUI AsyncButton.swift
[22/97] Compiling CleevioUI ButtonStateColorSet.swift
[23/97] Compiling CleevioUI ButtonStylesPreviews.swift
[24/97] Compiling CleevioUI IsLoadingPrimitiveButtonStyle.swift
[25/97] Compiling CleevioUI RoundedStroke.swift
[26/97] Compiling CleevioUI SolidButtonStyle+.swift
[27/97] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[28/97] Compiling InternalCollectionsUtilities _SortedCollection.swift
[29/97] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[30/97] Compiling CleevioUI AccessibilityIdentifier.swift
[31/97] Compiling CleevioUI ContextAccessibilityModifier.swift
[32/97] Compiling CleevioUI TextFieldType.swift
[33/97] Compiling CleevioUI CorneredBorder.swift
[34/97] Compiling CleevioUI Frame.swift
[35/97] Compiling CleevioUI Overlay.swift
[36/97] Compiling CleevioUI ReadSize.swift
[37/97] Compiling CleevioUI Shadow.swift
[38/97] Compiling CleevioUI Shake.swift
[39/155] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[40/155] Compiling OrderedCollections OrderedSet+Descriptions.swift
[41/155] Compiling OrderedCollections OrderedSet+Diffing.swift
[42/155] Compiling OrderedCollections OrderedSet+Equatable.swift
[43/155] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[44/155] Compiling OrderedCollections OrderedSet+Hashable.swift
[45/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[46/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[47/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[48/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[49/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[50/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[51/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[52/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[53/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[54/161] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[55/161] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[56/161] Compiling OrderedCollections OrderedSet+Sendable.swift
[57/161] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[58/161] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[59/161] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[60/161] Compiling OrderedCollections OrderedDictionary+Values.swift
[61/161] Compiling OrderedCollections OrderedDictionary.swift
[62/161] Compiling OrderedCollections OrderedSet+Codable.swift
[63/161] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[64/161] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[65/161] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[66/161] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[67/161] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[68/161] Compiling OrderedCollections OrderedDictionary+Move.swift
[69/161] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[70/161] Compiling OrderedCollections _Hashtable+Header.swift
[71/161] Compiling OrderedCollections OrderedDictionary+Codable.swift
[72/161] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[73/161] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[74/161] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[75/161] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[76/161] Compiling OrderedCollections OrderedDictionary+Elements.swift
[77/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[78/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[79/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[80/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[81/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[82/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[83/161] Compiling OrderedCollections _HashTable+Bucket.swift
[84/161] Compiling OrderedCollections _HashTable+BucketIterator.swift
[85/161] Compiling OrderedCollections _HashTable+Constants.swift
[86/161] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[87/161] Compiling OrderedCollections _HashTable+Testing.swift
[88/161] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[89/161] Compiling OrderedCollections _HashTable.swift
[90/161] Compiling OrderedCollections OrderedSet+Initializers.swift
[91/161] Compiling OrderedCollections OrderedSet+Insertions.swift
[92/161] Compiling OrderedCollections OrderedSet+Invariants.swift
[93/161] Compiling OrderedCollections OrderedSet+Move.swift
[94/161] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[95/161] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[96/161] Compiling OrderedCollections OrderedSet+SubSequence.swift
[97/161] Compiling OrderedCollections OrderedSet+Testing.swift
[98/161] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[99/161] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[100/161] Compiling OrderedCollections OrderedSet.swift
[101/161] Compiling OrderedCollections UnsafeBitset.swift
[102/161] Emitting module OrderedCollections
[109/161] Compiling CleevioCore HashableType.swift
[110/161] Emitting module CleevioCore
[113/161] Compiling CleevioCore ViewModelType.swift
[116/161] Compiling CleevioCore AssociatedObjectHelper.swift
[117/161] Compiling CleevioCore ErrorLogging.swift
[118/162] Compiling CleevioCore WeakBox.swift
[119/179] Compiling FlowPilot WindowRouter.swift
[120/179] Compiling FlowPilot WindowNavigationRouter.swift
[121/180] Compiling FlowPilot NavigationRouter.swift
[122/180] Compiling FlowPilot NavigationRouterWrapper.swift
[123/180] Compiling FlowPilot Router.swift
[124/180] Compiling FlowPilot WindowLevelRouter.swift
[125/180] Compiling FlowPilot ModalNavigationRouter.swift
[126/180] Compiling FlowPilot ModalRouter.swift
[127/180] Compiling FlowPilot RouterCoordinator.swift
[128/180] Compiling FlowPilot IdentifiedHashableType.swift
[129/180] Compiling FlowPilot shouldAnimateTransition.swift
[130/180] Compiling FlowPilot ResponseParametersCoordinator.swift
[131/180] Compiling FlowPilot ResponseRouterCoordinator.swift
[132/180] Compiling FlowPilot AnyRouter.swift
[133/180] Compiling FlowPilot Coordinator.swift
[134/180] Emitting module FlowPilot
[135/180] Compiling FlowPilot CoordinatorPreview.swift
[136/180] Compiling FlowPilot ParametersRouterCoordinator.swift
[157/184] Emitting module CleevioUI
[181/184] Compiling CleevioUI StatePreview.swift
[182/184] Compiling CleevioUI CheckBoxStateColorSet.swift
[183/184] Compiling CleevioUI CheckBoxStyle.swift
[184/184] Compiling CleevioUI ToggleExtension.swift
[185/192] Compiling FlowPilotInfoBar InfoBarWindowRouter.swift
[186/192] Compiling FlowPilotInfoBar UIWindow+alertWindowRouter.swift
[187/192] Compiling FlowPilotInfoBar InfoBarViewModel.swift
[188/192] Compiling FlowPilotInfoBar InfoBarViewController.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[189/192] Compiling FlowPilotInfoBar InfoBarCoordinator.swift
[190/192] Emitting module FlowPilotInfoBar
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:28:28: error: cannot find type 'InfoBarViewModel' in scope
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
| `- error: cannot find type 'InfoBarViewModel' in scope
29 | let view: T
30 |
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:36:20: error: cannot find type 'InfoBarViewModel' in scope
34 | /// - viewBuilder: A closure that returns the view to display in the info bar
35 | public init(
36 | viewModel: InfoBarViewModel<InfoBarContent>,
| `- error: cannot find type 'InfoBarViewModel' in scope
37 | viewBuilder: InfoBarViewModelViewBuilder<T, InfoBarContent>
38 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:43:27: error: 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
41 | }
42 |
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 | content
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:48:30: error: 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:47:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
45 | }
46 |
47 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
48 | public var content: some View {
49 | if #available(iOS 14.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:27:30: error: 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:85:6: error: 'State' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
83 |
84 | /// The current offset of the view due to dragging
85 | @State private var dragPopup = CGSize.zero
| `- error: 'State' is only available in macOS 10.15 or newer
86 |
87 | /// Indicates whether a drag gesture is currently active
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:88:6: error: 'GestureState' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
86 |
87 | /// Indicates whether a drag gesture is currently active
88 | @GestureState private var isDragGestureActive: Bool = false
| `- error: 'GestureState' is only available in macOS 10.15 or newer
89 |
90 | /// Indicates whether dragging is active (used to handle gesture cancellation)
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:91:6: error: 'State' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
89 |
90 | /// Indicates whether dragging is active (used to handle gesture cancellation)
91 | @State private var isDraggingActive: Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
92 |
93 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:93:41: error: 'View' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | 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
94 | content
95 | .offset(y: dragPopup.height)
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:143:57: error: 'Animation' is only available in macOS 10.15 or newer
141 | @discardableResult
142 | @MainActor
143 | public func withPreferredAnimation<Result>(_ animation: Animation? = .default, _ body: () throws -> Result) rethrows -> Result {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing global function
144 | if UIAccessibility.isReduceMotionEnabled {
145 | return try body()
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:143:71: error: 'default' is only available in macOS 10.15 or newer
141 | @discardableResult
142 | @MainActor
143 | public func withPreferredAnimation<Result>(_ animation: Animation? = .default, _ body: () throws -> Result) rethrows -> Result {
| | `- error: 'default' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing global function
144 | if UIAccessibility.isReduceMotionEnabled {
145 | return try body()
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarViewContent.swift:24:59: error: 'View' is only available in macOS 10.15 or newer
22 | /// }
23 | /// ```
24 | public typealias InfoBarViewModelViewBuilder<InfoBarView: View, InfoBarContent> = () -> (InfoBarView)
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic type alias
25 |
[191/192] Compiling FlowPilotInfoBar InfoBarView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:28:28: error: cannot find type 'InfoBarViewModel' in scope
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
| `- error: cannot find type 'InfoBarViewModel' in scope
29 | let view: T
30 |
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:36:20: error: cannot find type 'InfoBarViewModel' in scope
34 | /// - viewBuilder: A closure that returns the view to display in the info bar
35 | public init(
36 | viewModel: InfoBarViewModel<InfoBarContent>,
| `- error: cannot find type 'InfoBarViewModel' in scope
37 | viewBuilder: InfoBarViewModelViewBuilder<T, InfoBarContent>
38 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:43:27: error: 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
41 | }
42 |
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 | content
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:48:30: error: 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:47:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
45 | }
46 |
47 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
48 | public var content: some View {
49 | if #available(iOS 14.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:27:30: error: 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:85:6: error: 'State' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
83 |
84 | /// The current offset of the view due to dragging
85 | @State private var dragPopup = CGSize.zero
| `- error: 'State' is only available in macOS 10.15 or newer
86 |
87 | /// Indicates whether a drag gesture is currently active
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:88:6: error: 'GestureState' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
86 |
87 | /// Indicates whether a drag gesture is currently active
88 | @GestureState private var isDragGestureActive: Bool = false
| `- error: 'GestureState' is only available in macOS 10.15 or newer
89 |
90 | /// Indicates whether dragging is active (used to handle gesture cancellation)
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:91:6: error: 'State' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
89 |
90 | /// Indicates whether dragging is active (used to handle gesture cancellation)
91 | @State private var isDraggingActive: Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
92 |
93 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:93:41: error: 'View' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | 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
94 | content
95 | .offset(y: dragPopup.height)
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:143:57: error: 'Animation' is only available in macOS 10.15 or newer
141 | @discardableResult
142 | @MainActor
143 | public func withPreferredAnimation<Result>(_ animation: Animation? = .default, _ body: () throws -> Result) rethrows -> Result {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing global function
144 | if UIAccessibility.isReduceMotionEnabled {
145 | return try body()
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:143:71: error: 'default' is only available in macOS 10.15 or newer
141 | @discardableResult
142 | @MainActor
143 | public func withPreferredAnimation<Result>(_ animation: Animation? = .default, _ body: () throws -> Result) rethrows -> Result {
| | `- error: 'default' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing global function
144 | if UIAccessibility.isReduceMotionEnabled {
145 | return try body()
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:49:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
47 | @ViewBuilder
48 | public var content: some View {
49 | if #available(iOS 14.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
50 | if #available(iOS 16.0, *) {
51 | ViewThatFits(in: .vertical) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:50:16: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
48 | public var content: some View {
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
51 | ViewThatFits(in: .vertical) {
52 | view
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:51:17: error: 'ViewThatFits' is only available in macOS 13.0 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
51 | ViewThatFits(in: .vertical) {
| |- error: 'ViewThatFits' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
52 | view
53 | .modifier(DragModifier(onDismiss: onDragDismiss))
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:52:21: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
51 | ViewThatFits(in: .vertical) {
52 | view
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | .modifier(DragModifier(onDismiss: onDragDismiss))
54 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:53:26: error: 'modifier' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
51 | ViewThatFits(in: .vertical) {
52 | view
53 | .modifier(DragModifier(onDismiss: onDragDismiss))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | ScrollView {
55 | view
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:54:21: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
:
52 | view
53 | .modifier(DragModifier(onDismiss: onDragDismiss))
54 | ScrollView {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | view
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:54:21: error: 'ScrollView' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
:
52 | view
53 | .modifier(DragModifier(onDismiss: onDragDismiss))
54 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | view
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:54:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
:
52 | view
53 | .modifier(DragModifier(onDismiss: onDragDismiss))
54 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | view
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:57:22: error: 'modifier' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
:
55 | view
56 | }
57 | .modifier(DragModifier(onDismiss: onDragDismiss))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | }
59 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:51:45: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
51 | ViewThatFits(in: .vertical) {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | view
53 | .modifier(DragModifier(onDismiss: onDragDismiss))
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:51:45: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
51 | ViewThatFits(in: .vertical) {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | view
53 | .modifier(DragModifier(onDismiss: onDragDismiss))
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:50:40: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
51 | ViewThatFits(in: .vertical) {
52 | view
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:50:40: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | ViewThatFits(in: .vertical) {
52 | view
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:59:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
:
57 | .modifier(DragModifier(onDismiss: onDragDismiss))
58 | }
59 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | view
61 | .modifier(DragModifier(onDismiss: onDragDismiss))
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:49:36: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | if #available(iOS 16.0, *) {
51 | ViewThatFits(in: .vertical) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:49:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
50 | if #available(iOS 16.0, *) {
51 | ViewThatFits(in: .vertical) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:49:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | if #available(iOS 16.0, *) {
51 | ViewThatFits(in: .vertical) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:63:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: some View {
| `- note: add '@available' attribute to enclosing property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
:
61 | .modifier(DragModifier(onDismiss: onDragDismiss))
62 | }
63 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | view
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:48:35: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
25 | /// }
26 | /// ```
27 | public struct InfoBarView<T: View, InfoBarContent>: View {
| `- note: add '@available' attribute to enclosing generic struct
28 | private var viewModel: InfoBarViewModel<InfoBarContent>
29 | let view: T
:
46 |
47 | @ViewBuilder
48 | public var content: 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 property
49 | if #available(iOS 14.0, *) {
50 | if #available(iOS 16.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:95:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | .gesture(
97 | DragGesture(minimumDistance: 8) // Set minimum distance, so small drags are ignored
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:96:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
96 | .gesture(
| |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | DragGesture(minimumDistance: 8) // Set minimum distance, so small drags are ignored
98 | .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:97:17: error: 'DragGesture' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
96 | .gesture(
97 | DragGesture(minimumDistance: 8) // Set minimum distance, so small drags are ignored
| |- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | .onChanged { value in
99 | isDraggingActive = true
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:97:17: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
96 | .gesture(
97 | DragGesture(minimumDistance: 8) // Set minimum distance, so small drags are ignored
| |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
98 | .onChanged { value in
99 | isDraggingActive = true
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:98:22: error: 'onChanged' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
96 | .gesture(
97 | DragGesture(minimumDistance: 8) // Set minimum distance, so small drags are ignored
98 | .onChanged { value in
| |- error: 'onChanged' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | isDraggingActive = true
100 | withPreferredAnimation(.linear) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:99:25: error: setter for 'isDraggingActive' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
97 | DragGesture(minimumDistance: 8) // Set minimum distance, so small drags are ignored
98 | .onChanged { value in
99 | isDraggingActive = true
| |- error: setter for 'isDraggingActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 | withPreferredAnimation(.linear) {
101 | let height: CGFloat = if value.translation.height < 9 {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:100:49: error: 'linear' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
98 | .onChanged { value in
99 | isDraggingActive = true
100 | withPreferredAnimation(.linear) {
| |- error: 'linear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | let height: CGFloat = if value.translation.height < 9 {
102 | value.translation.height
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:106:29: error: setter for 'dragPopup' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
104 | 3*sqrt(value.translation.height)
105 | }
106 | dragPopup = .init(width: 0, height: height)
| |- error: setter for 'dragPopup' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:113:22: error: 'updating(_:body:)' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
111 | // `.onChange` can be called, but `.onEnded` is not called and the gesture is "cancelled" not "ended"
112 | // https://forums.developer.apple.com/forums/thread/660070
113 | .updating($isDragGestureActive) { _, state, _ in
| |- error: 'updating(_:body:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | state = true
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:116:22: error: 'onEnded' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
114 | state = true
115 | }
116 | .onEnded { _ in
| |- error: 'onEnded' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | isDraggingActive = false
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:116:30: error: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
114 | state = true
115 | }
116 | .onEnded { _ in
| |- error: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | isDraggingActive = false
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:116:30: error: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
114 | state = true
115 | }
116 | .onEnded { _ in
| |- error: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | isDraggingActive = false
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:117:25: error: setter for 'isDraggingActive' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
115 | }
116 | .onEnded { _ in
117 | isDraggingActive = false
| |- error: setter for 'isDraggingActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | }
119 | )
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:120:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
118 | }
119 | )
120 | .onChange(of: isDragGestureActive) { isDragging in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
121 | isDraggingActive = isDragging
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:121:17: error: setter for 'isDraggingActive' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
119 | )
120 | .onChange(of: isDragGestureActive) { isDragging in
121 | isDraggingActive = isDragging
| |- error: setter for 'isDraggingActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | }
123 | .onChange(of: isDraggingActive) { isDragging in
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:123:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
121 | isDraggingActive = isDragging
122 | }
123 | .onChange(of: isDraggingActive) { isDragging in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
124 | guard !isDragging else { return }
125 | withPreferredAnimation(.linear) {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:125:41: error: 'linear' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
123 | .onChange(of: isDraggingActive) { isDragging in
124 | guard !isDragging else { return }
125 | withPreferredAnimation(.linear) {
| |- error: 'linear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | if dragPopup.height < -40 {
127 | onDismiss()
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:129:25: error: setter for 'dragPopup' is only available in macOS 10.15 or newer
78 | /// The modifier tracks drag gestures and animates the view accordingly,
79 | /// dismissing it if dragged far enough in the negative y direction
80 | struct DragModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
81 | /// Closure called when the view should be dismissed due to dragging
82 | var onDismiss: () -> Void
:
91 | @State private var isDraggingActive: Bool = false
92 |
93 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
94 | content
95 | .offset(y: dragPopup.height)
:
127 | onDismiss()
128 | } else {
129 | dragPopup = .zero
| |- error: setter for 'dragPopup' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:144:8: error: cannot find 'UIAccessibility' in scope
142 | @MainActor
143 | public func withPreferredAnimation<Result>(_ animation: Animation? = .default, _ body: () throws -> Result) rethrows -> Result {
144 | if UIAccessibility.isReduceMotionEnabled {
| `- error: cannot find 'UIAccessibility' in scope
145 | return try body()
146 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarView.swift:147:20: error: 'withAnimation' is only available in macOS 10.15 or newer
141 | @discardableResult
142 | @MainActor
143 | public func withPreferredAnimation<Result>(_ animation: Animation? = .default, _ body: () throws -> Result) rethrows -> Result {
| `- note: add '@available' attribute to enclosing global function
144 | if UIAccessibility.isReduceMotionEnabled {
145 | return try body()
146 | } else {
147 | return try withAnimation(animation, body)
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | }
149 | }
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
[192/192] Compiling FlowPilotInfoBar InfoBarViewContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowPilotInfoBar/InfoBarViewContent.swift:24:59: error: 'View' is only available in macOS 10.15 or newer
22 | /// }
23 | /// ```
24 | public typealias InfoBarViewModelViewBuilder<InfoBarView: View, InfoBarContent> = () -> (InfoBarView)
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic type alias
25 |
Fetching https://github.com/cleevio/FlowPilot.git
Fetching https://github.com/cleevio/CleevioUI.git
Fetching https://github.com/cleevio/CleevioCore.git
[1/213] Fetching cleeviocore
[214/1087] Fetching cleeviocore, cleevioui
[1088/2176] Fetching cleeviocore, cleevioui, flowpilot
Fetched https://github.com/cleevio/FlowPilot.git from cache (3.02s)
Fetched https://github.com/cleevio/CleevioCore.git from cache (3.02s)
Fetched https://github.com/cleevio/CleevioUI.git from cache (3.02s)
Computing version for https://github.com/cleevio/FlowPilot.git
Computed https://github.com/cleevio/FlowPilot.git at 3.2.2 (3.59s)
Fetching https://github.com/scenee/FloatingPanel
Fetching https://github.com/apple/swift-collections
[1/8954] Fetching floatingpanel
[270/38339] Fetching floatingpanel, swift-collections
Fetched https://github.com/scenee/FloatingPanel from cache (3.75s)
[14412/29385] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (5.52s)
Computing version for https://github.com/cleevio/CleevioCore.git
Computed https://github.com/cleevio/CleevioCore.git at 2.2.0 (6.06s)
Computing version for https://github.com/cleevio/CleevioUI.git
Computed https://github.com/cleevio/CleevioUI.git at 3.2.0 (0.52s)
Computing version for https://github.com/scenee/FloatingPanel
Computed https://github.com/scenee/FloatingPanel at 3.0.1 (3.07s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.5 (0.66s)
Creating working copy for https://github.com/cleevio/CleevioCore.git
Working copy of https://github.com/cleevio/CleevioCore.git resolved at 2.2.0
Creating working copy for https://github.com/scenee/FloatingPanel
Working copy of https://github.com/scenee/FloatingPanel resolved at 3.0.1
Creating working copy for https://github.com/cleevio/CleevioUI.git
Working copy of https://github.com/cleevio/CleevioUI.git resolved at 3.2.0
Creating working copy for https://github.com/cleevio/FlowPilot.git
Working copy of https://github.com/cleevio/FlowPilot.git resolved at 3.2.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.5
BUILD FAILURE 6.3 macosSpm