Build Information
Failed to build FlowPilotInfoBar, reference 3.0.0 (165e0c), with Swift 6.1 for macOS (SPM) on 12 Mar 2026 08:18:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lvalenta/FlowPilotInfoBar.git
Reference: 3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lvalenta/FlowPilotInfoBar
* tag 3.0.0 -> FETCH_HEAD
HEAD is now at 165e0c2 3.0.0
Cloned https://github.com/lvalenta/FlowPilotInfoBar.git
Revision (git rev-parse @):
165e0c2c401b408dc477ed0cc819028f627231e3
SUCCESS checkout https://github.com/lvalenta/FlowPilotInfoBar.git at 3.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/lvalenta/FlowPilotInfoBar.git
https://github.com/lvalenta/FlowPilotInfoBar.git
{
"dependencies" : [
{
"identity" : "cleeviocore",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/cleevio/CleevioCore.git"
},
{
"identity" : "flowpilot",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/cleevio/FlowPilot.git"
},
{
"identity" : "cleevioui",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/cleevio/CleevioUI.git"
}
],
"manifest_display_name" : "FlowPilotInfoBar",
"name" : "FlowPilotInfoBar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FlowPilotInfoBar",
"targets" : [
"FlowPilotInfoBar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"6"
],
"targets" : [
{
"c99name" : "FlowPilotInfoBarTests",
"module_type" : "SwiftTarget",
"name" : "FlowPilotInfoBarTests",
"path" : "Tests/FlowPilotInfoBarTests",
"sources" : [
"cleevioinfobarTests.swift"
],
"target_dependencies" : [
"FlowPilotInfoBar"
],
"type" : "test"
},
{
"c99name" : "FlowPilotInfoBar",
"module_type" : "SwiftTarget",
"name" : "FlowPilotInfoBar",
"path" : "Sources/FlowPilotInfoBar",
"product_dependencies" : [
"CleevioCore",
"FlowPilot",
"CleevioUI"
],
"product_memberships" : [
"FlowPilotInfoBar"
],
"sources" : [
"InfoBarCoordinator.swift",
"InfoBarView.swift",
"InfoBarViewContent.swift",
"InfoBarViewController.swift",
"InfoBarViewModel.swift",
"InfoBarWindowRouter.swift",
"UIWindow+alertWindowRouter.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/85] Compiling CleevioUI Frame.swift
[9/85] Compiling CleevioUI Overlay.swift
[10/86] Compiling CleevioUI ButtonStylesPreviews.swift
[11/86] Compiling CleevioUI IsLoadingPrimitiveButtonStyle.swift
[12/86] Compiling CleevioUI AsyncButton.swift
[13/86] Compiling CleevioUI ButtonStateColorSet.swift
[14/86] Compiling CleevioUI RoundedStroke.swift
[15/86] Compiling CleevioUI FlowLayout.swift
[16/86] Emitting module InternalCollectionsUtilities
[17/86] Compiling CleevioUI UIWindow+topViewController.swift
[18/86] Compiling CleevioUI CorneredBorder.swift
[19/86] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/86] Compiling CleevioUI ContextAccessibilityModifier.swift
[21/86] Compiling CleevioUI TextFieldType.swift
[22/86] Compiling CleevioUI AccessibilityContext.swift
[23/86] Compiling CleevioUI AccessibilityIdentifier.swift
[24/86] Compiling CleevioUI SolidButtonStyle+.swift
[25/86] Compiling CleevioUI SolidButtonStyle.swift
[26/86] Compiling CleevioUI LoadingKey.swift
[27/86] Compiling CleevioUI StringError.swift
[28/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[29/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[30/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[31/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[32/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[33/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[34/148] Compiling OrderedCollections OrderedSet+Codable.swift
[35/148] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[36/148] Compiling OrderedCollections OrderedSet+Descriptions.swift
[37/148] Compiling OrderedCollections OrderedSet+Diffing.swift
[38/148] Compiling OrderedCollections OrderedSet+Equatable.swift
[39/148] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[40/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[41/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[42/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[43/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[44/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[45/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[46/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[47/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[48/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[49/148] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[50/148] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[51/148] Compiling OrderedCollections OrderedSet+Sendable.swift
[52/148] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[53/148] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[54/148] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[55/148] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[56/148] Compiling OrderedCollections OrderedDictionary+Values.swift
[57/148] Compiling OrderedCollections OrderedDictionary.swift
[58/148] Compiling OrderedCollections OrderedDictionary+Elements.swift
[59/148] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[60/148] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[61/148] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[62/148] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[63/148] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[64/148] Compiling OrderedCollections OrderedSet+Hashable.swift
[65/148] Compiling OrderedCollections OrderedSet+Initializers.swift
[66/148] Compiling OrderedCollections OrderedSet+Insertions.swift
[67/148] Compiling OrderedCollections OrderedSet+Invariants.swift
[68/148] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[69/148] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[70/148] Compiling OrderedCollections _Hashtable+Header.swift
[71/148] Compiling OrderedCollections OrderedDictionary+Codable.swift
[72/148] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[73/148] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[74/148] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[75/148] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[76/148] Compiling OrderedCollections _HashTable+Bucket.swift
[77/148] Compiling OrderedCollections _HashTable+BucketIterator.swift
[78/148] Compiling OrderedCollections _HashTable+Constants.swift
[79/148] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[80/148] Compiling OrderedCollections _HashTable+Testing.swift
[81/148] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[82/148] Compiling OrderedCollections _HashTable.swift
[83/148] Compiling OrderedCollections OrderedSet+SubSequence.swift
[84/148] Compiling OrderedCollections OrderedSet+Testing.swift
[85/148] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[86/148] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[87/148] Compiling OrderedCollections OrderedSet.swift
[88/148] Compiling OrderedCollections _UnsafeBitset.swift
[89/148] Emitting module OrderedCollections
[90/148] Emitting module CleevioCore
[95/148] Compiling CleevioCore ViewModelType.swift
[96/148] Compiling CleevioCore AssociatedObjectHelper.swift
[99/148] Compiling CleevioCore HashableType.swift
[100/148] Compiling CleevioCore ErrorLogging.swift
[105/149] Compiling CleevioCore WeakBox.swift
[106/166] Compiling FlowPilot WindowRouter.swift
[107/167] Compiling FlowPilot Router.swift
[108/167] Compiling FlowPilot WindowLevelRouter.swift
[109/167] Compiling FlowPilot WindowNavigationRouter.swift
[110/167] Compiling FlowPilot ResponseParametersCoordinator.swift
[111/167] Compiling FlowPilot ResponseRouterCoordinator.swift
[112/167] Compiling FlowPilot RouterCoordinator.swift
[113/167] Compiling FlowPilot IdentifiedHashableType.swift
[114/167] Compiling FlowPilot ModalNavigationRouter.swift
[115/167] Compiling FlowPilot ModalRouter.swift
[116/167] Compiling FlowPilot NavigationRouter.swift
[117/167] Compiling FlowPilot NavigationRouterWrapper.swift
[118/167] Compiling FlowPilot shouldAnimateTransition.swift
[119/167] Compiling FlowPilot AnyRouter.swift
[120/167] Compiling FlowPilot Coordinator.swift
[121/167] Emitting module FlowPilot
[122/167] Compiling FlowPilot CoordinatorPreview.swift
[123/167] Compiling FlowPilot ParametersRouterCoordinator.swift
[134/171] Emitting module CleevioUI
[168/171] Compiling CleevioUI StatePreview.swift
[169/171] Compiling CleevioUI CheckBoxStateColorSet.swift
[170/171] Compiling CleevioUI CheckBoxStyle.swift
[171/171] Compiling CleevioUI ToggleExtension.swift
[172/179] Compiling FlowPilotInfoBar UIWindow+alertWindowRouter.swift
[173/179] Compiling FlowPilotInfoBar InfoBarWindowRouter.swift
[174/179] Compiling FlowPilotInfoBar InfoBarViewModel.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[175/179] 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
25 |
[176/179] Compiling FlowPilotInfoBar InfoBarCoordinator.swift
[177/179] Compiling FlowPilotInfoBar InfoBarViewController.swift
[178/179] 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
25 |
[179/179] 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
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
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
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
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:59:20: 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, *) {
:
57 | .modifier(DragModifier(onDismiss: onDragDismiss))
58 | }
59 | } else {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' 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: '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: 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: '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 | }
Fetching https://github.com/cleevio/CleevioUI.git
Fetching https://github.com/cleevio/CleevioCore.git
Fetching https://github.com/cleevio/FlowPilot.git
[1/213] Fetching cleeviocore
[104/1087] Fetching cleeviocore, cleevioui
[358/2176] Fetching cleeviocore, cleevioui, flowpilot
Fetched https://github.com/cleevio/CleevioUI.git from cache (3.88s)
Fetched https://github.com/cleevio/CleevioCore.git from cache (3.88s)
Fetched https://github.com/cleevio/FlowPilot.git from cache (3.88s)
Computing version for https://github.com/cleevio/FlowPilot.git
Computed https://github.com/cleevio/FlowPilot.git at 3.2.2 (4.41s)
Fetching https://github.com/scenee/FloatingPanel
Fetching https://github.com/apple/swift-collections from cache
[1/8726] Fetching floatingpanel
Fetched https://github.com/apple/swift-collections from cache (1.49s)
Fetched https://github.com/scenee/FloatingPanel from cache (1.60s)
Computing version for https://github.com/cleevio/CleevioCore.git
Computed https://github.com/cleevio/CleevioCore.git at 2.2.0 (2.10s)
Computing version for https://github.com/cleevio/CleevioUI.git
Computed https://github.com/cleevio/CleevioUI.git at 3.2.0 (0.47s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.0 (0.62s)
Computing version for https://github.com/scenee/FloatingPanel
Computed https://github.com/scenee/FloatingPanel at 3.0.1 (3.46s)
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/scenee/FloatingPanel
Working copy of https://github.com/scenee/FloatingPanel resolved at 3.0.1
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/cleevio/CleevioUI.git
Working copy of https://github.com/cleevio/CleevioUI.git resolved at 3.2.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.0
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/79] Compiling CleevioUI Frame.swift
[3/79] Compiling CleevioUI Overlay.swift
[4/80] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[5/80] Compiling CleevioUI StringError.swift
[6/80] Compiling CleevioUI UIWindow+topViewController.swift
[7/80] Compiling CleevioUI AsyncButton.swift
[8/80] Compiling CleevioUI ButtonStateColorSet.swift
[9/80] Compiling CleevioUI TextFieldType.swift
[10/80] Compiling CleevioUI CorneredBorder.swift
[11/80] Compiling CleevioUI AccessibilityIdentifier.swift
[12/80] Compiling CleevioUI ContextAccessibilityModifier.swift
[13/80] Compiling CleevioUI FlowLayout.swift
[14/80] Compiling CleevioUI AccessibilityContext.swift
[15/80] Compiling CleevioUI SolidButtonStyle.swift
[16/80] Compiling CleevioUI LoadingKey.swift
[17/80] Compiling CleevioUI ButtonStylesPreviews.swift
[18/80] Compiling CleevioUI IsLoadingPrimitiveButtonStyle.swift
[19/80] Compiling CleevioCore HashableType.swift
[20/81] Emitting module InternalCollectionsUtilities
[21/81] Compiling CleevioUI RoundedStroke.swift
[22/81] Compiling CleevioUI SolidButtonStyle+.swift
[23/81] Compiling CleevioCore ViewModelType.swift
[24/87] Compiling CleevioCore AssociatedObjectHelper.swift
[25/88] Compiling CleevioCore ErrorLogging.swift
[28/88] Compiling OrderedCollections _HashTable+Constants.swift
[29/88] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[30/88] Compiling OrderedCollections _HashTable+Testing.swift
[31/88] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[32/88] Emitting module CleevioCore
[33/88] Compiling OrderedCollections _HashTable+Bucket.swift
[34/88] Compiling OrderedCollections _HashTable+BucketIterator.swift
[37/137] Compiling CleevioCore WeakBox.swift
[38/137] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[39/137] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[40/137] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[41/137] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[42/137] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[43/137] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[44/143] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[45/143] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[46/143] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[47/143] Compiling OrderedCollections OrderedDictionary+Values.swift
[48/143] Compiling OrderedCollections OrderedDictionary.swift
[49/147] Compiling CleevioUI StatePreview.swift
[50/147] Compiling CleevioUI CheckBoxStateColorSet.swift
[51/147] Compiling CleevioUI CheckBoxStyle.swift
[52/147] Compiling CleevioUI ToggleExtension.swift
[53/147] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[54/147] Compiling OrderedCollections OrderedSet+Sendable.swift
[55/147] Compiling OrderedCollections OrderedDictionary+Elements.swift
[56/147] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[57/147] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[58/147] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[59/147] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[60/147] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[61/147] Compiling OrderedCollections OrderedSet+Descriptions.swift
[62/147] Compiling OrderedCollections OrderedSet+Diffing.swift
[63/147] Compiling OrderedCollections OrderedSet+Equatable.swift
[64/147] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[65/147] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[66/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[67/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[68/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[69/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[70/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[71/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[72/147] Compiling OrderedCollections _Hashtable+Header.swift
[73/147] Compiling OrderedCollections OrderedDictionary+Codable.swift
[74/147] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[75/147] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[76/147] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[77/147] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[78/147] Compiling OrderedCollections OrderedSet+Codable.swift
[79/147] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[90/147] Compiling OrderedCollections OrderedSet+Hashable.swift
[91/147] Compiling OrderedCollections OrderedSet+Initializers.swift
[92/147] Compiling OrderedCollections OrderedSet+Insertions.swift
[93/147] Compiling OrderedCollections OrderedSet+Invariants.swift
[94/147] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[95/147] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[106/147] Compiling OrderedCollections _HashTable.swift
[121/147] Compiling OrderedCollections OrderedSet+SubSequence.swift
[122/147] Compiling OrderedCollections OrderedSet+Testing.swift
[123/147] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[124/147] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[125/147] Compiling OrderedCollections OrderedSet.swift
[126/147] Compiling OrderedCollections _UnsafeBitset.swift
[131/147] Emitting module CleevioUI
[147/147] Emitting module OrderedCollections
[148/164] Compiling FlowPilot WindowRouter.swift
[149/164] Compiling FlowPilot WindowNavigationRouter.swift
[150/165] Compiling FlowPilot Router.swift
[151/165] Compiling FlowPilot WindowLevelRouter.swift
[152/165] Compiling FlowPilot NavigationRouter.swift
[153/165] Compiling FlowPilot NavigationRouterWrapper.swift
[154/165] Compiling FlowPilot ModalNavigationRouter.swift
[155/165] Compiling FlowPilot ModalRouter.swift
[156/165] Emitting module FlowPilot
[157/165] Compiling FlowPilot AnyRouter.swift
[158/165] Compiling FlowPilot Coordinator.swift
[159/165] Compiling FlowPilot CoordinatorPreview.swift
[160/165] Compiling FlowPilot ParametersRouterCoordinator.swift
[161/165] Compiling FlowPilot ResponseParametersCoordinator.swift
[162/165] Compiling FlowPilot ResponseRouterCoordinator.swift
[163/165] Compiling FlowPilot RouterCoordinator.swift
[164/165] Compiling FlowPilot IdentifiedHashableType.swift
[165/165] Compiling FlowPilot shouldAnimateTransition.swift
[166/173] Compiling FlowPilotInfoBar InfoBarWindowRouter.swift
[167/173] Compiling FlowPilotInfoBar InfoBarViewModel.swift
[168/173] Compiling FlowPilotInfoBar UIWindow+alertWindowRouter.swift
[169/173] 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
25 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[170/173] Compiling FlowPilotInfoBar InfoBarViewController.swift
[171/173] 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
25 |
[172/173] Compiling FlowPilotInfoBar InfoBarCoordinator.swift
[173/173] 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
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
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
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
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:59:20: 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, *) {
:
57 | .modifier(DragModifier(onDismiss: onDragDismiss))
58 | }
59 | } else {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' 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: '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: 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: '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 | }
BUILD FAILURE 6.1 macosSpm