Build Information
Failed to build FlowPilotInfoBar, reference main (87bf82), with Swift 6.1 for macOS (SPM) on 12 Mar 2026 21:03:12 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lvalenta/FlowPilotInfoBar
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 87bf82c Updated changelog
Cloned https://github.com/lvalenta/FlowPilotInfoBar.git
Revision (git rev-parse @):
87bf82ca463dfb2e656b65a4b24a14343eaae436
SUCCESS checkout https://github.com/lvalenta/FlowPilotInfoBar.git at main
========================================
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/85] Compiling CleevioUI RoundedStroke.swift
[11/85] Compiling CleevioUI SolidButtonStyle+.swift
[12/86] Compiling CleevioUI TextFieldType.swift
[13/86] Compiling CleevioUI CorneredBorder.swift
[14/86] Emitting module InternalCollectionsUtilities
[15/86] Compiling CleevioUI AsyncButton.swift
[16/86] Compiling CleevioUI ButtonStateColorSet.swift
[17/86] Compiling CleevioUI ButtonStylesPreviews.swift
[18/86] Compiling CleevioUI IsLoadingPrimitiveButtonStyle.swift
[19/86] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/86] Compiling CleevioUI SolidButtonStyle.swift
[21/86] Compiling CleevioUI LoadingKey.swift
[22/86] Compiling CleevioUI StringError.swift
[23/86] Compiling CleevioUI UIWindow+topViewController.swift
[24/86] Compiling CleevioUI AccessibilityIdentifier.swift
[25/86] Compiling CleevioUI ContextAccessibilityModifier.swift
[26/86] Compiling CleevioUI FlowLayout.swift
[27/86] Compiling CleevioUI AccessibilityContext.swift
[28/142] Compiling OrderedCollections OrderedSet+Codable.swift
[29/142] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[30/142] Compiling OrderedCollections OrderedSet+Descriptions.swift
[31/142] Compiling OrderedCollections OrderedSet+Diffing.swift
[32/142] Compiling OrderedCollections OrderedSet+Equatable.swift
[33/142] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[34/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[35/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[36/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[37/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[38/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[39/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.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 _Hashtable+Header.swift
[47/148] Compiling OrderedCollections OrderedDictionary+Codable.swift
[48/148] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[49/148] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[50/148] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[51/148] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[52/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[53/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[54/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[55/148] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[56/148] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[57/148] Compiling OrderedCollections OrderedSet+Sendable.swift
[58/148] Compiling OrderedCollections OrderedSet+Hashable.swift
[59/148] Compiling OrderedCollections OrderedSet+Initializers.swift
[60/148] Compiling OrderedCollections OrderedSet+Insertions.swift
[61/148] Compiling OrderedCollections OrderedSet+Invariants.swift
[62/148] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[63/148] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[64/148] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[65/148] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[66/148] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[67/148] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[68/148] Compiling OrderedCollections OrderedDictionary+Values.swift
[69/148] Compiling OrderedCollections OrderedDictionary.swift
[70/148] Compiling OrderedCollections _HashTable+Bucket.swift
[71/148] Compiling OrderedCollections _HashTable+BucketIterator.swift
[72/148] Compiling OrderedCollections _HashTable+Constants.swift
[73/148] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[74/148] Compiling OrderedCollections _HashTable+Testing.swift
[75/148] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[76/148] Compiling OrderedCollections _HashTable.swift
[77/148] Compiling OrderedCollections OrderedDictionary+Elements.swift
[78/148] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[79/148] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[80/148] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[81/148] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[82/148] Compiling OrderedCollections OrderedDictionary+Invariants.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] Compiling CleevioCore ViewModelType.swift
[91/148] Compiling CleevioCore AssociatedObjectHelper.swift
[94/148] Compiling CleevioCore ErrorLogging.swift
[99/148] Compiling CleevioCore HashableType.swift
[104/148] Emitting module CleevioCore
[105/149] Compiling CleevioCore WeakBox.swift
[106/166] Compiling FlowPilot WindowRouter.swift
[107/166] Compiling FlowPilot Router.swift
[108/166] Compiling FlowPilot WindowLevelRouter.swift
[109/166] Compiling FlowPilot WindowNavigationRouter.swift
[110/166] Emitting module CleevioUI
[111/171] Compiling FlowPilot ModalNavigationRouter.swift
[112/171] Compiling FlowPilot ModalRouter.swift
[113/171] Compiling FlowPilot RouterCoordinator.swift
[114/171] Compiling FlowPilot IdentifiedHashableType.swift
[115/171] Compiling FlowPilot ResponseParametersCoordinator.swift
[116/171] Compiling FlowPilot ResponseRouterCoordinator.swift
[117/171] Compiling FlowPilot NavigationRouter.swift
[118/171] Compiling FlowPilot NavigationRouterWrapper.swift
[119/171] Compiling FlowPilot shouldAnimateTransition.swift
[120/171] Compiling FlowPilot AnyRouter.swift
[121/171] Compiling FlowPilot Coordinator.swift
[122/171] Emitting module FlowPilot
[123/171] Compiling FlowPilot CoordinatorPreview.swift
[124/171] Compiling FlowPilot ParametersRouterCoordinator.swift
[153/171] Compiling CleevioUI StatePreview.swift
[154/171] Compiling CleevioUI CheckBoxStateColorSet.swift
[155/171] Compiling CleevioUI CheckBoxStyle.swift
[156/171] Compiling CleevioUI ToggleExtension.swift
[172/179] Compiling FlowPilotInfoBar UIWindow+alertWindowRouter.swift
[173/179] Compiling FlowPilotInfoBar InfoBarViewModel.swift
[174/179] Compiling FlowPilotInfoBar InfoBarWindowRouter.swift
[175/179] Compiling FlowPilotInfoBar InfoBarViewController.swift
[176/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[177/179] Compiling FlowPilotInfoBar InfoBarCoordinator.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/1089] Fetching flowpilot
[2/1302] Fetching flowpilot, cleeviocore
[34/2176] Fetching flowpilot, cleeviocore, cleevioui
Fetched https://github.com/cleevio/CleevioCore.git from cache (0.82s)
[1942/1963] Fetching flowpilot, cleevioui
Fetched https://github.com/cleevio/FlowPilot.git from cache (1.04s)
Fetched https://github.com/cleevio/CleevioUI.git from cache (1.04s)
Computing version for https://github.com/cleevio/FlowPilot.git
Computed https://github.com/cleevio/FlowPilot.git at 3.2.2 (1.55s)
Fetching https://github.com/scenee/FloatingPanel
Fetching https://github.com/apple/swift-collections from cache
[1/8726] Fetching floatingpanel
Fetched https://github.com/scenee/FloatingPanel from cache (1.46s)
Fetched https://github.com/apple/swift-collections from cache (1.55s)
Computing version for https://github.com/cleevio/CleevioCore.git
Computed https://github.com/cleevio/CleevioCore.git at 2.2.0 (2.02s)
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.60s)
Computing version for https://github.com/scenee/FloatingPanel
Computed https://github.com/scenee/FloatingPanel at 3.0.1 (2.93s)
Creating working copy for https://github.com/cleevio/FlowPilot.git
Working copy of https://github.com/cleevio/FlowPilot.git resolved at 3.2.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.0
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/scenee/FloatingPanel
Working copy of https://github.com/scenee/FloatingPanel resolved at 3.0.1
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 UIWindow+topViewController.swift
[6/80] Compiling CleevioUI CorneredBorder.swift
[7/80] Compiling CleevioUI AsyncButton.swift
[8/80] Compiling CleevioUI ButtonStateColorSet.swift
[9/80] Compiling CleevioUI AccessibilityContext.swift
[10/80] Compiling CleevioUI AccessibilityIdentifier.swift
[11/80] Compiling CleevioUI RoundedStroke.swift
[12/80] Compiling CleevioUI FlowLayout.swift
[13/80] Compiling CleevioUI ButtonStylesPreviews.swift
[14/80] Compiling CleevioUI IsLoadingPrimitiveButtonStyle.swift
[15/80] Compiling CleevioUI SolidButtonStyle+.swift
[16/80] Compiling CleevioUI SolidButtonStyle.swift
[17/80] Compiling CleevioUI ContextAccessibilityModifier.swift
[18/80] Compiling CleevioUI TextFieldType.swift
[19/80] Compiling CleevioUI LoadingKey.swift
[20/80] Compiling CleevioUI StringError.swift
[21/80] Emitting module InternalCollectionsUtilities
[22/136] Compiling CleevioCore ViewModelType.swift
[23/136] Compiling CleevioCore ErrorLogging.swift
[24/136] Compiling CleevioCore AssociatedObjectHelper.swift
[25/136] Compiling CleevioCore HashableType.swift
[26/137] Compiling OrderedCollections _HashTable+Bucket.swift
[27/137] Compiling OrderedCollections _HashTable+BucketIterator.swift
[28/137] Compiling OrderedCollections _HashTable.swift
[29/137] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[30/137] Compiling OrderedCollections _HashTable+Testing.swift
[31/137] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[32/137] Compiling OrderedCollections OrderedSet+Codable.swift
[33/137] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[34/137] Compiling OrderedCollections OrderedSet+Descriptions.swift
[35/137] Compiling OrderedCollections OrderedSet+Diffing.swift
[36/137] Compiling OrderedCollections OrderedSet+Equatable.swift
[37/137] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[38/143] Emitting module CleevioCore
[39/143] Compiling OrderedCollections _HashTable+Constants.swift
[40/143] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[41/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[42/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[43/143] Compiling OrderedCollections _Hashtable+Header.swift
[44/143] Compiling OrderedCollections OrderedDictionary+Codable.swift
[45/143] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[46/143] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[47/143] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[48/143] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[49/143] Compiling CleevioCore WeakBox.swift
[53/143] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[54/143] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[55/143] Compiling OrderedCollections OrderedSet+Sendable.swift
[56/143] Compiling OrderedCollections OrderedSet+Hashable.swift
[57/143] Compiling OrderedCollections OrderedSet+Initializers.swift
[58/143] Compiling OrderedCollections OrderedSet+Insertions.swift
[59/143] Compiling OrderedCollections OrderedSet+Invariants.swift
[60/143] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[61/143] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[62/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[63/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[64/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[65/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[66/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[67/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[68/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[69/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[70/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[71/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[72/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[73/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[74/143] Compiling OrderedCollections OrderedDictionary+Elements.swift
[75/143] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[76/143] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[77/143] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[78/143] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[79/143] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[80/143] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[81/143] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[82/143] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[83/143] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[84/143] Compiling OrderedCollections OrderedDictionary+Values.swift
[85/143] Compiling OrderedCollections OrderedDictionary.swift
[101/147] Compiling OrderedCollections OrderedSet+SubSequence.swift
[102/147] Compiling OrderedCollections OrderedSet+Testing.swift
[103/147] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[104/147] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[105/147] Compiling OrderedCollections OrderedSet.swift
[106/147] Compiling OrderedCollections _UnsafeBitset.swift
[114/147] Emitting module CleevioUI
[128/147] Compiling CleevioUI StatePreview.swift
[129/147] Compiling CleevioUI CheckBoxStateColorSet.swift
[130/147] Compiling CleevioUI CheckBoxStyle.swift
[131/147] Compiling CleevioUI ToggleExtension.swift
[147/147] Emitting module OrderedCollections
[148/164] Compiling FlowPilot WindowRouter.swift
[149/164] Compiling FlowPilot WindowNavigationRouter.swift
[150/165] Compiling FlowPilot ModalNavigationRouter.swift
[151/165] Compiling FlowPilot ModalRouter.swift
[152/165] Compiling FlowPilot NavigationRouter.swift
[153/165] Compiling FlowPilot NavigationRouterWrapper.swift
[154/165] Compiling FlowPilot Router.swift
[155/165] Compiling FlowPilot WindowLevelRouter.swift
[156/165] Compiling FlowPilot ResponseParametersCoordinator.swift
[157/165] Compiling FlowPilot ResponseRouterCoordinator.swift
[158/165] Compiling FlowPilot RouterCoordinator.swift
[159/165] Compiling FlowPilot IdentifiedHashableType.swift
[160/165] Compiling FlowPilot CoordinatorPreview.swift
[161/165] Compiling FlowPilot ParametersRouterCoordinator.swift
[162/165] Emitting module FlowPilot
[163/165] Compiling FlowPilot AnyRouter.swift
[164/165] Compiling FlowPilot Coordinator.swift
[165/165] Compiling FlowPilot shouldAnimateTransition.swift
[166/173] Compiling FlowPilotInfoBar UIWindow+alertWindowRouter.swift
[167/173] Compiling FlowPilotInfoBar InfoBarViewController.swift
[168/173] Compiling FlowPilotInfoBar InfoBarWindowRouter.swift
[169/173] Compiling FlowPilotInfoBar InfoBarViewModel.swift
[170/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)
[171/173] Compiling FlowPilotInfoBar InfoBarCoordinator.swift
[172/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 |
[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