Build Information
Failed to build Refreshable, reference 0.2.0 (2e62fe
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 04:36:43 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/c-villain/Refreshable.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/c-villain/Refreshable
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 2e62fe4 Update README.md
Cloned https://github.com/c-villain/Refreshable.git
Revision (git rev-parse @):
2e62fe4f4aab06ccbbe466cec0618c3e69d4c5f1
SUCCESS checkout https://github.com/c-villain/Refreshable.git at 0.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "refreshable",
"name": "Refreshable",
"url": "https://github.com/c-villain/Refreshable.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Refreshable",
"dependencies": [
]
}
]
}
Fetching https://github.com/c-villain/Refreshable.git
[1/75] Fetching refreshable
Fetched https://github.com/c-villain/Refreshable.git from cache (0.91s)
Creating working copy for https://github.com/c-villain/Refreshable.git
Working copy of https://github.com/c-villain/Refreshable.git resolved at 0.2.0 (2e62fe4)
warning: '.resolve-product-dependencies': dependency 'refreshable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/c-villain/Refreshable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Compiling Refreshable ScrollDistance.swift
[4/7] Emitting module Refreshable
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:15:48: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshAction: ViewModifier {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let action: (() -> Void)?
:
13 | }
14 |
15 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | ScrollView {
17 | RefreshControl(scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:6:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshControl: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let coordinateSpace: CoordinateSpace
| `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
7 |
8 | private let scrollOffset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshControl: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let coordinateSpace: CoordinateSpace
:
11 | private let onRefresh: () -> Void
12 |
13 | @State private(set) var refresh: Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 | public init(_ scrollDistance: ScrollDistance = .defaults,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:16:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshControl: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let coordinateSpace: CoordinateSpace
:
13 | @State private(set) var refresh: Bool = false
14 |
15 | public init(_ scrollDistance: ScrollDistance = .defaults,
| `- note: add @available attribute to enclosing initializer
16 | coordinateSpace: CoordinateSpace,
| `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
17 | onRefresh: @escaping (() -> Void)) {
18 | self.coordinateSpace = coordinateSpace
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshControl: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let coordinateSpace: CoordinateSpace
:
33 | }
34 |
35 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
36 | GeometryReader { geo in
37 | if (geo.frame(in: coordinateSpace).midY * factor > scrollOffset) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:75:20: error: 'View' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
| `- note: add @available attribute to enclosing struct
75 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
76 | ScrollView {
77 | RefreshControl(coordinateSpace: .named("RefreshControl")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:87:31: error: 'View' is only available in macOS 10.15 or newer
84 |
85 | @available(iOS 14.0, *)
86 | struct PullToRefreshDemo_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
87 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
88 | PullToRefreshDemo()
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:8:60: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension View {
| `- note: add @available attribute to enclosing extension
5 |
6 | @ViewBuilder
7 | func refreshable(_ scrollDistance: ScrollDistance = .defaults,
| `- note: add @available attribute to enclosing instance method
8 | _ action: @escaping () -> ()) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
9 | self.modifier(RefreshAction.init(
10 | scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:6:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension View {
| `- note: add @available attribute to enclosing extension
5 |
6 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
7 | func refreshable(_ scrollDistance: ScrollDistance = .defaults,
| `- note: add @available attribute to enclosing instance method
8 | _ action: @escaping () -> ()) -> some View {
9 | self.modifier(RefreshAction.init(
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
5 |
6 | @ViewBuilder
[5/7] Compiling Refreshable RefreshActionModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:15:48: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshAction: ViewModifier {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let action: (() -> Void)?
:
13 | }
14 |
15 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | ScrollView {
17 | RefreshControl(scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:16:9: error: 'ScrollView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshAction: ViewModifier {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let action: (() -> Void)?
:
13 | }
14 |
15 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | RefreshControl(scrollDistance,
18 | coordinateSpace: .named("ContentForRefreshable")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:16:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshAction: ViewModifier {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let action: (() -> Void)?
:
13 | }
14 |
15 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | RefreshControl(scrollDistance,
18 | coordinateSpace: .named("ContentForRefreshable")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:23:10: error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshAction: ViewModifier {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let action: (() -> Void)?
:
13 | }
14 |
15 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ScrollView {
17 | RefreshControl(scrollDistance,
:
21 | content
22 | }
23 | .coordinateSpace(name: "ContentForRefreshable")
| |- error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 |
[6/7] Compiling Refreshable RefreshControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:6:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshControl: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let coordinateSpace: CoordinateSpace
| `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
7 |
8 | private let scrollOffset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshControl: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let coordinateSpace: CoordinateSpace
:
11 | private let onRefresh: () -> Void
12 |
13 | @State private(set) var refresh: Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 | public init(_ scrollDistance: ScrollDistance = .defaults,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:16:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshControl: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let coordinateSpace: CoordinateSpace
:
13 | @State private(set) var refresh: Bool = false
14 |
15 | public init(_ scrollDistance: ScrollDistance = .defaults,
| `- note: add @available attribute to enclosing initializer
16 | coordinateSpace: CoordinateSpace,
| `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
17 | onRefresh: @escaping (() -> Void)) {
18 | self.coordinateSpace = coordinateSpace
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public struct RefreshControl: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | private let coordinateSpace: CoordinateSpace
:
33 | }
34 |
35 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
36 | GeometryReader { geo in
37 | if (geo.frame(in: coordinateSpace).midY * factor > scrollOffset) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:75:20: error: 'View' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
| `- note: add @available attribute to enclosing struct
75 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
76 | ScrollView {
77 | RefreshControl(coordinateSpace: .named("RefreshControl")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:87:31: error: 'View' is only available in macOS 10.15 or newer
84 |
85 | @available(iOS 14.0, *)
86 | struct PullToRefreshDemo_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
87 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
88 | PullToRefreshDemo()
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:60:45: error: cannot find 'UIColor' in scope
58 | VStack {
59 | Rectangle()
60 | .fill(Color(UIColor.tertiaryLabel))
| `- error: cannot find 'UIColor' in scope
61 | .opacity((Int((geo.frame(in: coordinateSpace).midY * factor)/7) < tick) ? 0 : 1)
62 | .frame(width: 3, height: 7)
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:76:9: error: 'ScrollView' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
| `- note: add @available attribute to enclosing struct
75 | var body: some View {
| `- note: add @available attribute to enclosing property
76 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 | //refresh view here
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:76:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
| `- note: add @available attribute to enclosing struct
75 | var body: some View {
| `- note: add @available attribute to enclosing property
76 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 | //refresh view here
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:80:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
| `- note: add @available attribute to enclosing struct
75 | var body: some View {
| `- note: add @available attribute to enclosing property
76 | ScrollView {
77 | RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 | //refresh view here
79 | }
80 | Text("Some view...")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
81 | }.coordinateSpace(name: "RefreshControl")
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:80:13: error: 'Text' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
| `- note: add @available attribute to enclosing struct
75 | var body: some View {
| `- note: add @available attribute to enclosing property
76 | ScrollView {
77 | RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 | //refresh view here
79 | }
80 | Text("Some view...")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }.coordinateSpace(name: "RefreshControl")
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:76:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
| `- note: add @available attribute to enclosing struct
75 | var body: some View {
| `- note: add @available attribute to enclosing property
76 | ScrollView {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
77 | RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 | //refresh view here
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:81:11: error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
| `- note: add @available attribute to enclosing struct
75 | var body: some View {
| `- note: add @available attribute to enclosing property
76 | ScrollView {
77 | RefreshControl(coordinateSpace: .named("RefreshControl")) {
:
79 | }
80 | Text("Some view...")
81 | }.coordinateSpace(name: "RefreshControl")
| |- error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | }
83 | }
[7/7] Compiling Refreshable Refreshable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:8:60: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension View {
| `- note: add @available attribute to enclosing extension
5 |
6 | @ViewBuilder
7 | func refreshable(_ scrollDistance: ScrollDistance = .defaults,
| `- note: add @available attribute to enclosing instance method
8 | _ action: @escaping () -> ()) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
9 | self.modifier(RefreshAction.init(
10 | scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:6:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension View {
| `- note: add @available attribute to enclosing extension
5 |
6 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
7 | func refreshable(_ scrollDistance: ScrollDistance = .defaults,
| `- note: add @available attribute to enclosing instance method
8 | _ action: @escaping () -> ()) -> some View {
9 | self.modifier(RefreshAction.init(
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
5 |
6 | @ViewBuilder
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:9:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 |
3 | @available(iOS 14.0, *)
4 | public extension View {
| `- note: add @available attribute to enclosing extension
5 |
6 | @ViewBuilder
7 | func refreshable(_ scrollDistance: ScrollDistance = .defaults,
| `- note: add @available attribute to enclosing instance method
8 | _ action: @escaping () -> ()) -> some View {
9 | self.modifier(RefreshAction.init(
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
10 | scrollDistance,
11 | action: action))
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:9:14: error: 'modifier' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension View {
| `- note: add @available attribute to enclosing extension
5 |
6 | @ViewBuilder
7 | func refreshable(_ scrollDistance: ScrollDistance = .defaults,
| `- note: add @available attribute to enclosing instance method
8 | _ action: @escaping () -> ()) -> some View {
9 | self.modifier(RefreshAction.init(
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
10 | scrollDistance,
11 | action: action))
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:8:65: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 |
3 | @available(iOS 14.0, *)
4 | public extension View {
| `- note: add @available attribute to enclosing extension
5 |
6 | @ViewBuilder
7 | func refreshable(_ scrollDistance: ScrollDistance = .defaults,
| `- note: add @available attribute to enclosing instance method
8 | _ action: @escaping () -> ()) -> some View {
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
9 | self.modifier(RefreshAction.init(
10 | scrollDistance,
BUILD FAILURE 6.0 macosSpm