Build Information
Failed to build ConcentricOnboarding, reference 1.1.1 (a8e51c
), with Swift 6.0 for macOS (SPM) on 1 Apr 2025 14:04:43 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
22 | @State private var currentIndex: Int = 0
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
| `- error: 'State' is only available in macOS 10.15 or newer
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
| `- error: 'State' is only available in macOS 10.15 or newer
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:26:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:37: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'State' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:41: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'State' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:58:30: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
56 | private let radius: Double = 30
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:59:31: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:60:32: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
61 |
62 | public init(pageContents: [PageContent]) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:78:27: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
76 | }
77 |
78 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
79 | mainContent
80 | .edgesIgnoringSafeArea(.vertical)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:88:35: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
86 | // MARK: - Private
87 |
88 | private var mainContent: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
89 | ZStack {
90 | backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:96:29: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
94 | }
95 |
96 | private var shape: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
97 | AnimatableShape(progress: progress, radius: radius, limit: limit, direction: direction, screenWidth: UIScreen.main.bounds.width)
98 | .foregroundColor(circleColor)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:101:30: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:117:33: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:125:36: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:16:82: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Helpers/AnimatableShape.swift:30:35: error: 'Path' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct AnimatableShape: Shape {
| `- note: add @available attribute to enclosing struct
12 |
13 | enum AnimationType {
:
28 | // MARK: - Path
29 |
30 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
31 | let (type, progress) = localValues()
32 | let r: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Helpers/AnimatableShape.swift:11:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
9 | import SwiftUI
10 |
11 | struct AnimatableShape: Shape {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
12 |
13 | enum AnimationType {
[5/6] Compiling ConcentricOnboarding ConcentricOnboardingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:46: error: 'clear' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:50: error: 'clear' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:18:64: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing type alias
19 |
20 | let pageContents: [PageContent]
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
20 | let pageContents: [PageContent]
21 |
22 | @State private var currentIndex: Int = 0
| `- error: 'State' is only available in macOS 10.15 or newer
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
21 |
22 | @State private var currentIndex: Int = 0
23 | @State private var nextIndex: Int = 1
| `- error: 'State' is only available in macOS 10.15 or newer
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
22 | @State private var currentIndex: Int = 0
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
| `- error: 'State' is only available in macOS 10.15 or newer
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
| `- error: 'State' is only available in macOS 10.15 or newer
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:26:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:37: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'State' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:41: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'State' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:58:30: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
56 | private let radius: Double = 30
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:59:31: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:60:32: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
61 |
62 | public init(pageContents: [PageContent]) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:78:27: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
76 | }
77 |
78 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
79 | mainContent
80 | .edgesIgnoringSafeArea(.vertical)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:88:35: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
86 | // MARK: - Private
87 |
88 | private var mainContent: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
89 | ZStack {
90 | backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:96:29: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
94 | }
95 |
96 | private var shape: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
97 | AnimatableShape(progress: progress, radius: radius, limit: limit, direction: direction, screenWidth: UIScreen.main.bounds.width)
98 | .foregroundColor(circleColor)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:101:30: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:117:33: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:125:36: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:16:82: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:58:43: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
56 | private let radius: Double = 30
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
| | |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:59:44: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
| | |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:60:45: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
| | |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
61 |
62 | public init(pageContents: [PageContent]) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:66:32: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
61 |
62 | public init(pageContents: [PageContent]) {
| `- note: add @available attribute to enclosing initializer
63 | self.pageContents = pageContents
64 |
65 | if pageContents.indices.contains(0) {
66 | _backgroundColor = State(initialValue: pageContents[0].background)
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:70:28: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
61 |
62 | public init(pageContents: [PageContent]) {
| `- note: add @available attribute to enclosing initializer
63 | self.pageContents = pageContents
64 |
:
68 |
69 | if pageContents.indices.contains(1) {
70 | _circleColor = State(initialValue: pageContents[1].background)
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:80:14: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
76 | }
77 |
78 | public var body: some View {
| `- note: add @available attribute to enclosing property
79 | mainContent
80 | .edgesIgnoringSafeArea(.vertical)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .onChange(of: currentIndex) { _ in
82 | currentPageChanged()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:81:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
76 | }
77 |
78 | public var body: some View {
| `- note: add @available attribute to enclosing property
79 | mainContent
80 | .edgesIgnoringSafeArea(.vertical)
81 | .onChange(of: currentIndex) { _ in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
82 | currentPageChanged()
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:89:9: error: 'ZStack' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
86 | // MARK: - Private
87 |
88 | private var mainContent: some View {
| `- note: add @available attribute to enclosing property
89 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | backgroundColor
91 | currentPages
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:90:13: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
86 | // MARK: - Private
87 |
88 | private var mainContent: some View {
| `- note: add @available attribute to enclosing property
89 | ZStack {
90 | backgroundColor
| |- warning: conformance of 'Color' 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
91 | currentPages
92 | button
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:89:16: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
86 | // MARK: - Private
87 |
88 | private var mainContent: some View {
| `- note: add @available attribute to enclosing property
89 | ZStack {
| |- warning: conformance of 'Color' 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
90 | backgroundColor
91 | currentPages
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:97:110: error: cannot find 'UIScreen' in scope
95 |
96 | private var shape: some View {
97 | AnimatableShape(progress: progress, radius: radius, limit: limit, direction: direction, screenWidth: UIScreen.main.bounds.width)
| `- error: cannot find 'UIScreen' in scope
98 | .foregroundColor(circleColor)
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:102:9: error: 'ZStack' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | shape
104 | Button(action: tapAction) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:104:13: error: 'Button' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
104 | Button(action: tapAction) {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | ZStack {
106 | Circle()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:105:17: error: 'ZStack' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
104 | Button(action: tapAction) {
105 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | Circle()
107 | .foregroundColor(isAnimated ? .clear : circleColor)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:106:21: error: 'Circle' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
104 | Button(action: tapAction) {
105 | ZStack {
106 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | .foregroundColor(isAnimated ? .clear : circleColor)
108 | .frame(width: 2 * radius, height: 2 * radius)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:107:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
:
105 | ZStack {
106 | Circle()
107 | .foregroundColor(isAnimated ? .clear : circleColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | .frame(width: 2 * radius, height: 2 * radius)
109 | nextImage
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:107:56: error: 'clear' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
:
105 | ZStack {
106 | Circle()
107 | .foregroundColor(isAnimated ? .clear : circleColor)
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | .frame(width: 2 * radius, height: 2 * radius)
109 | nextImage
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:108:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
:
106 | Circle()
107 | .foregroundColor(isAnimated ? .clear : circleColor)
108 | .frame(width: 2 * radius, height: 2 * radius)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | nextImage
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:112:14: error: 'disabled' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
:
110 | }
111 | }
112 | .disabled(isAnimated)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | }
114 | .offset(y: 300)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:114:10: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
:
112 | .disabled(isAnimated)
113 | }
114 | .offset(y: 300)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:118:9: error: 'Image' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | .resizable()
120 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:118:9: error: 'init(systemName:)' is only available in macOS 11.0 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
119 | .resizable()
120 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:119:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
| |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | .aspectRatio(contentMode: .fit)
121 | .frame(width: 10, height: 20)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:120:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
120 | .aspectRatio(contentMode: .fit)
| |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | .frame(width: 10, height: 20)
122 | .foregroundColor(backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:121:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
120 | .aspectRatio(contentMode: .fit)
121 | .frame(width: 10, height: 20)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | .foregroundColor(backgroundColor)
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:122:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
120 | .aspectRatio(contentMode: .fit)
121 | .frame(width: 10, height: 20)
122 | .foregroundColor(backgroundColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:126:35: error: cannot find 'UIScreen' in scope
124 |
125 | private var currentPages: some View {
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
| `- error: cannot find 'UIScreen' in scope
127 | let maxYOffset: CGFloat = 40.0
128 | let coeff: CGFloat = direction == .forward ? -1 : 3
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:130:16: error: 'ZStack' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
128 | let coeff: CGFloat = direction == .forward ? -1 : 3
129 |
130 | return ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
131 | if pageContents.count > 0 {
132 | pageContents[currentIndex].view
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:133:22: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
131 | if pageContents.count > 0 {
132 | pageContents[currentIndex].view
133 | .scaleEffect(isAnimated ? 2 / 3 : 1)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
134 | .offset(x: isAnimated ? coeff * maxXOffset : 0,
135 | y: isAnimated ? maxYOffset : 0)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:134:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
132 | pageContents[currentIndex].view
133 | .scaleEffect(isAnimated ? 2 / 3 : 1)
134 | .offset(x: isAnimated ? coeff * maxXOffset : 0,
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 | y: isAnimated ? maxYOffset : 0)
136 | .animation(isAnimated ? fullAnimation : .none)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:136:22: error: 'animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
134 | .offset(x: isAnimated ? coeff * maxXOffset : 0,
135 | y: isAnimated ? maxYOffset : 0)
136 | .animation(isAnimated ? fullAnimation : .none)
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:131:39: error: 'buildIf' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
129 |
130 | return ZStack {
131 | if pageContents.count > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
132 | pageContents[currentIndex].view
133 | .scaleEffect(isAnimated ? 2 / 3 : 1)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:137:13: error: 'buildIf' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
135 | y: isAnimated ? maxYOffset : 0)
136 | .animation(isAnimated ? fullAnimation : .none)
137 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 |
139 | if pageContents.count > 1 {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:141:22: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
139 | if pageContents.count > 1 {
140 | pageContents[nextIndex].view
141 | .scaleEffect(isAnimated ? 1 : 2 / 3)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .offset(x: isAnimated ? 0 : -coeff * maxXOffset,
143 | y: isAnimated ? 0 : maxYOffset)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:142:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
140 | pageContents[nextIndex].view
141 | .scaleEffect(isAnimated ? 1 : 2 / 3)
142 | .offset(x: isAnimated ? 0 : -coeff * maxXOffset,
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
143 | y: isAnimated ? 0 : maxYOffset)
144 | .animation(isAnimated ? fullAnimation : .none)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:144:22: error: 'animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
142 | .offset(x: isAnimated ? 0 : -coeff * maxXOffset,
143 | y: isAnimated ? 0 : maxYOffset)
144 | .animation(isAnimated ? fullAnimation : .none)
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
145 | }
146 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:139:39: error: 'buildIf' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
137 | }
138 |
139 | if pageContents.count > 1 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
140 | pageContents[nextIndex].view
141 | .scaleEffect(isAnimated ? 1 : 2 / 3)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:145:13: error: 'buildIf' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
143 | y: isAnimated ? 0 : maxYOffset)
144 | .animation(isAnimated ? fullAnimation : .none)
145 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | }
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:130:23: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
128 | let coeff: CGFloat = direction == .forward ? -1 : 3
129 |
130 | return ZStack {
| |- warning: conformance of 'Optional<Wrapped>' 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
131 | if pageContents.count > 0 {
132 | pageContents[currentIndex].view
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:130:23: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
128 | let coeff: CGFloat = direction == .forward ? -1 : 3
129 |
130 | return ZStack {
| |- warning: conformance of 'Optional<Wrapped>' 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
131 | if pageContents.count > 0 {
132 | pageContents[currentIndex].view
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:184:13: error: cannot pass as inout because setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
180 | }
181 |
182 | private func animationCompleted() {
| `- note: add @available attribute to enclosing instance method
183 | if progress == limit {
184 | progress += 0.001
| |- error: cannot pass as inout because setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
185 |
186 | if #available(iOS 17.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:188:17: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
180 | }
181 |
182 | private func animationCompleted() {
| `- note: add @available attribute to enclosing instance method
183 | if progress == limit {
184 | progress += 0.001
:
186 | if #available(iOS 17.0, *) {
187 | #if swift(>=5.9)
188 | withAnimation(outAnimation) {
| |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
189 | progress = 2 * limit
190 | } completion: {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:189:21: error: setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
180 | }
181 |
182 | private func animationCompleted() {
| `- note: add @available attribute to enclosing instance method
183 | if progress == limit {
184 | progress += 0.001
:
187 | #if swift(>=5.9)
188 | withAnimation(outAnimation) {
189 | progress = 2 * limit
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
190 | } completion: {
191 | animationCompleted()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:210:9: error: setter for 'direction' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
207 | // MARK: - Next / Prev actions
208 |
209 | private func goToNextPageAnimated() {
| `- note: add @available attribute to enclosing instance method
210 | direction = .forward
| |- error: setter for 'direction' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
211 | nextIndex = moveIndexForward(currentIndex)
212 | startAnimation()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:211:9: error: setter for 'nextIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
207 | // MARK: - Next / Prev actions
208 |
209 | private func goToNextPageAnimated() {
| `- note: add @available attribute to enclosing instance method
210 | direction = .forward
211 | nextIndex = moveIndexForward(currentIndex)
| |- error: setter for 'nextIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
212 | startAnimation()
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:216:9: error: setter for 'isAnimated' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
213 | }
214 |
215 | private func goToNextPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
216 | isAnimated = false
| |- error: setter for 'isAnimated' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
217 | direction = .forward
218 | currentIndex = moveIndexForward(currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:217:9: error: setter for 'direction' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
213 | }
214 |
215 | private func goToNextPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
216 | isAnimated = false
217 | direction = .forward
| |- error: setter for 'direction' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
218 | currentIndex = moveIndexForward(currentIndex)
219 | nextIndex = moveIndexForward(currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:218:9: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
213 | }
214 |
215 | private func goToNextPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
216 | isAnimated = false
217 | direction = .forward
218 | currentIndex = moveIndexForward(currentIndex)
| |- error: setter for 'currentIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
219 | nextIndex = moveIndexForward(currentIndex)
220 | progress = 0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:219:9: error: setter for 'nextIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
213 | }
214 |
215 | private func goToNextPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
216 | isAnimated = false
217 | direction = .forward
218 | currentIndex = moveIndexForward(currentIndex)
219 | nextIndex = moveIndexForward(currentIndex)
| |- error: setter for 'nextIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
220 | progress = 0
221 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:220:9: error: setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
213 | }
214 |
215 | private func goToNextPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
216 | isAnimated = false
217 | direction = .forward
218 | currentIndex = moveIndexForward(currentIndex)
219 | nextIndex = moveIndexForward(currentIndex)
220 | progress = 0
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:224:9: error: setter for 'direction' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
221 | }
222 |
223 | private func goToPrevPageAnimated() {
| `- note: add @available attribute to enclosing instance method
224 | direction = .backward
| |- error: setter for 'direction' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
225 | nextIndex = moveIndexBackward(currentIndex)
226 | startAnimation()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:225:9: error: setter for 'nextIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
221 | }
222 |
223 | private func goToPrevPageAnimated() {
| `- note: add @available attribute to enclosing instance method
224 | direction = .backward
225 | nextIndex = moveIndexBackward(currentIndex)
| |- error: setter for 'nextIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
226 | startAnimation()
227 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:230:9: error: setter for 'isAnimated' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
227 | }
228 |
229 | private func goToPrevPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
230 | isAnimated = false
| |- error: setter for 'isAnimated' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
231 | direction = .backward
232 | currentIndex = moveIndexBackward(currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:231:9: error: setter for 'direction' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
227 | }
228 |
229 | private func goToPrevPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
230 | isAnimated = false
231 | direction = .backward
| |- error: setter for 'direction' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
232 | currentIndex = moveIndexBackward(currentIndex)
233 | nextIndex = moveIndexBackward(currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:232:9: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
227 | }
228 |
229 | private func goToPrevPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
230 | isAnimated = false
231 | direction = .backward
232 | currentIndex = moveIndexBackward(currentIndex)
| |- error: setter for 'currentIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
233 | nextIndex = moveIndexBackward(currentIndex)
234 | progress = 0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:233:9: error: setter for 'nextIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
227 | }
228 |
229 | private func goToPrevPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
230 | isAnimated = false
231 | direction = .backward
232 | currentIndex = moveIndexBackward(currentIndex)
233 | nextIndex = moveIndexBackward(currentIndex)
| |- error: setter for 'nextIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
234 | progress = 0
235 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:234:9: error: setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
227 | }
228 |
229 | private func goToPrevPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
230 | isAnimated = false
231 | direction = .backward
232 | currentIndex = moveIndexBackward(currentIndex)
233 | nextIndex = moveIndexBackward(currentIndex)
234 | progress = 0
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
235 | }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:239:9: error: setter for 'isAnimated' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
235 | }
236 |
237 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
238 | animationWillBegin()
239 | isAnimated = true
| |- error: setter for 'isAnimated' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
240 | updateColors()
241 | progress = 0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:241:9: error: setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
235 | }
236 |
237 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
238 | animationWillBegin()
239 | isAnimated = true
240 | updateColors()
241 | progress = 0
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 |
243 | if #available(iOS 17.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:245:13: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
235 | }
236 |
237 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
238 | animationWillBegin()
239 | isAnimated = true
:
243 | if #available(iOS 17.0, *) {
244 | #if swift(>=5.9)
245 | withAnimation(inAnimation) {
| |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
246 | progress = limit
247 | } completion: {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:246:17: error: setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
235 | }
236 |
237 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
238 | animationWillBegin()
239 | isAnimated = true
:
244 | #if swift(>=5.9)
245 | withAnimation(inAnimation) {
246 | progress = limit
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
247 | } completion: {
248 | animationCompleted()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:259:9: error: setter for 'backgroundColor' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
256 | }
257 |
258 | private func updateColors(forNextPage: Bool = false) {
| `- note: add @available attribute to enclosing instance method
259 | backgroundColor = pageContents[forNextPage ? nextIndex : currentIndex].background
| |- error: setter for 'backgroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
260 | circleColor = pageContents[forNextPage ? currentIndex : nextIndex].background
261 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:260:9: error: setter for 'circleColor' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
256 | }
257 |
258 | private func updateColors(forNextPage: Bool = false) {
| `- note: add @available attribute to enclosing instance method
259 | backgroundColor = pageContents[forNextPage ? nextIndex : currentIndex].background
260 | circleColor = pageContents[forNextPage ? currentIndex : nextIndex].background
| |- error: setter for 'circleColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
261 | }
262 |
[6/6] Compiling ConcentricOnboarding AnimatableShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Helpers/AnimatableShape.swift:30:35: error: 'Path' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct AnimatableShape: Shape {
| `- note: add @available attribute to enclosing struct
12 |
13 | enum AnimationType {
:
28 | // MARK: - Path
29 |
30 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
31 | let (type, progress) = localValues()
32 | let r: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Helpers/AnimatableShape.swift:11:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
9 | import SwiftUI
10 |
11 | struct AnimatableShape: Shape {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
12 |
13 | enum AnimationType {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Helpers/AnimatableShape.swift:47:16: error: 'Circle' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct AnimatableShape: Shape {
| `- note: add @available attribute to enclosing struct
12 |
13 | enum AnimationType {
:
28 | // MARK: - Path
29 |
30 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
31 | let (type, progress) = localValues()
32 | let r: CGFloat
:
45 |
46 | let rect = CGRect(x: center.x - r, y: center.y - r, width: 2 * r, height: 2 * r)
47 | return Circle().path(in: rect)
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 |
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Info.plist
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Compiling ConcentricOnboarding AnimationCompletion.swift
[3/5] Emitting module ConcentricOnboarding
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:46: error: 'clear' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:50: error: 'clear' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:18:64: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing type alias
19 |
20 | let pageContents: [PageContent]
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
20 | let pageContents: [PageContent]
21 |
22 | @State private var currentIndex: Int = 0
| `- error: 'State' is only available in macOS 10.15 or newer
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
21 |
22 | @State private var currentIndex: Int = 0
23 | @State private var nextIndex: Int = 1
| `- error: 'State' is only available in macOS 10.15 or newer
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
22 | @State private var currentIndex: Int = 0
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
| `- error: 'State' is only available in macOS 10.15 or newer
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
| `- error: 'State' is only available in macOS 10.15 or newer
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:26:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:37: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'State' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:41: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'State' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:58:30: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
56 | private let radius: Double = 30
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:59:31: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:60:32: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
61 |
62 | public init(pageContents: [PageContent]) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:78:27: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
76 | }
77 |
78 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
79 | mainContent
80 | .edgesIgnoringSafeArea(.vertical)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:88:35: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
86 | // MARK: - Private
87 |
88 | private var mainContent: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
89 | ZStack {
90 | backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:96:29: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
94 | }
95 |
96 | private var shape: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
97 | AnimatableShape(progress: progress, radius: radius, limit: limit, direction: direction, screenWidth: UIScreen.main.bounds.width)
98 | .foregroundColor(circleColor)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:101:30: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:117:33: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:125:36: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:16:82: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Helpers/AnimatableShape.swift:30:35: error: 'Path' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct AnimatableShape: Shape {
| `- note: add @available attribute to enclosing struct
12 |
13 | enum AnimationType {
:
28 | // MARK: - Path
29 |
30 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
31 | let (type, progress) = localValues()
32 | let r: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Helpers/AnimatableShape.swift:11:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
9 | import SwiftUI
10 |
11 | struct AnimatableShape: Shape {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
12 |
13 | enum AnimationType {
[4/5] Compiling ConcentricOnboarding AnimatableShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Helpers/AnimatableShape.swift:30:35: error: 'Path' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct AnimatableShape: Shape {
| `- note: add @available attribute to enclosing struct
12 |
13 | enum AnimationType {
:
28 | // MARK: - Path
29 |
30 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
31 | let (type, progress) = localValues()
32 | let r: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Helpers/AnimatableShape.swift:11:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
9 | import SwiftUI
10 |
11 | struct AnimatableShape: Shape {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
12 |
13 | enum AnimationType {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Helpers/AnimatableShape.swift:47:16: error: 'Circle' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct AnimatableShape: Shape {
| `- note: add @available attribute to enclosing struct
12 |
13 | enum AnimationType {
:
28 | // MARK: - Path
29 |
30 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
31 | let (type, progress) = localValues()
32 | let r: CGFloat
:
45 |
46 | let rect = CGRect(x: center.x - r, y: center.y - r, width: 2 * r, height: 2 * r)
47 | return Circle().path(in: rect)
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 |
[5/5] Compiling ConcentricOnboarding ConcentricOnboardingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:46: error: 'clear' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:50: error: 'clear' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:18:64: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing type alias
19 |
20 | let pageContents: [PageContent]
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
20 | let pageContents: [PageContent]
21 |
22 | @State private var currentIndex: Int = 0
| `- error: 'State' is only available in macOS 10.15 or newer
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
21 |
22 | @State private var currentIndex: Int = 0
23 | @State private var nextIndex: Int = 1
| `- error: 'State' is only available in macOS 10.15 or newer
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
22 | @State private var currentIndex: Int = 0
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
| `- error: 'State' is only available in macOS 10.15 or newer
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
23 | @State private var nextIndex: Int = 1
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
| `- error: 'State' is only available in macOS 10.15 or newer
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:26:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
24 | @State private var progress: Double = 0
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:37: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:27:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
25 | @State private var direction: Direction = .forward
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
| `- error: 'State' is only available in macOS 10.15 or newer
28 | @State private var backgroundColor: Color = .clear
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:41: error: 'Color' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
26 | @State private var isAnimated: Bool = false
27 | @State private var circleColor: Color = .clear
28 | @State private var backgroundColor: Color = .clear
| `- error: 'State' is only available in macOS 10.15 or newer
29 |
30 | /// defaults setups, will be change via modifiers
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:58:30: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
56 | private let radius: Double = 30
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:59:31: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:60:32: error: 'Animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
61 |
62 | public init(pageContents: [PageContent]) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:78:27: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
76 | }
77 |
78 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
79 | mainContent
80 | .edgesIgnoringSafeArea(.vertical)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:88:35: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
86 | // MARK: - Private
87 |
88 | private var mainContent: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
89 | ZStack {
90 | backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:96:29: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
94 | }
95 |
96 | private var shape: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
97 | AnimatableShape(progress: progress, radius: radius, limit: limit, direction: direction, screenWidth: UIScreen.main.bounds.width)
98 | .foregroundColor(circleColor)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:101:30: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:117:33: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:125:36: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:16:82: error: 'View' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:58:43: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
56 | private let radius: Double = 30
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
| | |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:59:44: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
57 | private let limit: Double = 15
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
| | |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:60:45: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
58 | private var inAnimation: Animation { .easeIn(duration: duration / 2) }
59 | private var outAnimation: Animation { .easeOut(duration: duration / 2) }
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
| | |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
61 |
62 | public init(pageContents: [PageContent]) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:66:32: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
61 |
62 | public init(pageContents: [PageContent]) {
| `- note: add @available attribute to enclosing initializer
63 | self.pageContents = pageContents
64 |
65 | if pageContents.indices.contains(0) {
66 | _backgroundColor = State(initialValue: pageContents[0].background)
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:70:28: error: 'State' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
60 | private var fullAnimation: Animation { .easeInOut(duration: duration) }
61 |
62 | public init(pageContents: [PageContent]) {
| `- note: add @available attribute to enclosing initializer
63 | self.pageContents = pageContents
64 |
:
68 |
69 | if pageContents.indices.contains(1) {
70 | _circleColor = State(initialValue: pageContents[1].background)
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:80:14: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
76 | }
77 |
78 | public var body: some View {
| `- note: add @available attribute to enclosing property
79 | mainContent
80 | .edgesIgnoringSafeArea(.vertical)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .onChange(of: currentIndex) { _ in
82 | currentPageChanged()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:81:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
76 | }
77 |
78 | public var body: some View {
| `- note: add @available attribute to enclosing property
79 | mainContent
80 | .edgesIgnoringSafeArea(.vertical)
81 | .onChange(of: currentIndex) { _ in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
82 | currentPageChanged()
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:89:9: error: 'ZStack' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
86 | // MARK: - Private
87 |
88 | private var mainContent: some View {
| `- note: add @available attribute to enclosing property
89 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | backgroundColor
91 | currentPages
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:90:13: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
86 | // MARK: - Private
87 |
88 | private var mainContent: some View {
| `- note: add @available attribute to enclosing property
89 | ZStack {
90 | backgroundColor
| |- warning: conformance of 'Color' 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
91 | currentPages
92 | button
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:89:16: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
86 | // MARK: - Private
87 |
88 | private var mainContent: some View {
| `- note: add @available attribute to enclosing property
89 | ZStack {
| |- warning: conformance of 'Color' 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
90 | backgroundColor
91 | currentPages
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:97:110: error: cannot find 'UIScreen' in scope
95 |
96 | private var shape: some View {
97 | AnimatableShape(progress: progress, radius: radius, limit: limit, direction: direction, screenWidth: UIScreen.main.bounds.width)
| `- error: cannot find 'UIScreen' in scope
98 | .foregroundColor(circleColor)
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:102:9: error: 'ZStack' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | shape
104 | Button(action: tapAction) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:104:13: error: 'Button' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
104 | Button(action: tapAction) {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | ZStack {
106 | Circle()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:105:17: error: 'ZStack' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
104 | Button(action: tapAction) {
105 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | Circle()
107 | .foregroundColor(isAnimated ? .clear : circleColor)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:106:21: error: 'Circle' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
104 | Button(action: tapAction) {
105 | ZStack {
106 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | .foregroundColor(isAnimated ? .clear : circleColor)
108 | .frame(width: 2 * radius, height: 2 * radius)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:107:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
:
105 | ZStack {
106 | Circle()
107 | .foregroundColor(isAnimated ? .clear : circleColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | .frame(width: 2 * radius, height: 2 * radius)
109 | nextImage
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:107:56: error: 'clear' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
:
105 | ZStack {
106 | Circle()
107 | .foregroundColor(isAnimated ? .clear : circleColor)
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | .frame(width: 2 * radius, height: 2 * radius)
109 | nextImage
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:108:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
:
106 | Circle()
107 | .foregroundColor(isAnimated ? .clear : circleColor)
108 | .frame(width: 2 * radius, height: 2 * radius)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | nextImage
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:112:14: error: 'disabled' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
:
110 | }
111 | }
112 | .disabled(isAnimated)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | }
114 | .offset(y: 300)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:114:10: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
99 | }
100 |
101 | private var button: some View {
| `- note: add @available attribute to enclosing property
102 | ZStack {
103 | shape
:
112 | .disabled(isAnimated)
113 | }
114 | .offset(y: 300)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:118:9: error: 'Image' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | .resizable()
120 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:118:9: error: 'init(systemName:)' is only available in macOS 11.0 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
119 | .resizable()
120 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:119:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
| |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | .aspectRatio(contentMode: .fit)
121 | .frame(width: 10, height: 20)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:120:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
120 | .aspectRatio(contentMode: .fit)
| |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | .frame(width: 10, height: 20)
122 | .foregroundColor(backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:121:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
120 | .aspectRatio(contentMode: .fit)
121 | .frame(width: 10, height: 20)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | .foregroundColor(backgroundColor)
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:122:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
115 | }
116 |
117 | private var nextImage: some View {
| `- note: add @available attribute to enclosing property
118 | Image(systemName: nextIcon)
119 | .resizable()
120 | .aspectRatio(contentMode: .fit)
121 | .frame(width: 10, height: 20)
122 | .foregroundColor(backgroundColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:126:35: error: cannot find 'UIScreen' in scope
124 |
125 | private var currentPages: some View {
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
| `- error: cannot find 'UIScreen' in scope
127 | let maxYOffset: CGFloat = 40.0
128 | let coeff: CGFloat = direction == .forward ? -1 : 3
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:130:16: error: 'ZStack' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
128 | let coeff: CGFloat = direction == .forward ? -1 : 3
129 |
130 | return ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
131 | if pageContents.count > 0 {
132 | pageContents[currentIndex].view
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:133:22: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
131 | if pageContents.count > 0 {
132 | pageContents[currentIndex].view
133 | .scaleEffect(isAnimated ? 2 / 3 : 1)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
134 | .offset(x: isAnimated ? coeff * maxXOffset : 0,
135 | y: isAnimated ? maxYOffset : 0)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:134:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
132 | pageContents[currentIndex].view
133 | .scaleEffect(isAnimated ? 2 / 3 : 1)
134 | .offset(x: isAnimated ? coeff * maxXOffset : 0,
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 | y: isAnimated ? maxYOffset : 0)
136 | .animation(isAnimated ? fullAnimation : .none)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:136:22: error: 'animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
134 | .offset(x: isAnimated ? coeff * maxXOffset : 0,
135 | y: isAnimated ? maxYOffset : 0)
136 | .animation(isAnimated ? fullAnimation : .none)
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:131:39: error: 'buildIf' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
129 |
130 | return ZStack {
131 | if pageContents.count > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
132 | pageContents[currentIndex].view
133 | .scaleEffect(isAnimated ? 2 / 3 : 1)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:137:13: error: 'buildIf' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
135 | y: isAnimated ? maxYOffset : 0)
136 | .animation(isAnimated ? fullAnimation : .none)
137 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 |
139 | if pageContents.count > 1 {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:141:22: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
139 | if pageContents.count > 1 {
140 | pageContents[nextIndex].view
141 | .scaleEffect(isAnimated ? 1 : 2 / 3)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .offset(x: isAnimated ? 0 : -coeff * maxXOffset,
143 | y: isAnimated ? 0 : maxYOffset)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:142:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
140 | pageContents[nextIndex].view
141 | .scaleEffect(isAnimated ? 1 : 2 / 3)
142 | .offset(x: isAnimated ? 0 : -coeff * maxXOffset,
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
143 | y: isAnimated ? 0 : maxYOffset)
144 | .animation(isAnimated ? fullAnimation : .none)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:144:22: error: 'animation' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
142 | .offset(x: isAnimated ? 0 : -coeff * maxXOffset,
143 | y: isAnimated ? 0 : maxYOffset)
144 | .animation(isAnimated ? fullAnimation : .none)
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
145 | }
146 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:139:39: error: 'buildIf' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
137 | }
138 |
139 | if pageContents.count > 1 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
140 | pageContents[nextIndex].view
141 | .scaleEffect(isAnimated ? 1 : 2 / 3)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:145:13: error: 'buildIf' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
:
143 | y: isAnimated ? 0 : maxYOffset)
144 | .animation(isAnimated ? fullAnimation : .none)
145 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | }
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:130:23: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
128 | let coeff: CGFloat = direction == .forward ? -1 : 3
129 |
130 | return ZStack {
| |- warning: conformance of 'Optional<Wrapped>' 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
131 | if pageContents.count > 0 {
132 | pageContents[currentIndex].view
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:130:23: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
123 | }
124 |
125 | private var currentPages: some View {
| `- note: add @available attribute to enclosing property
126 | let maxXOffset: CGFloat = UIScreen.main.bounds.width
127 | let maxYOffset: CGFloat = 40.0
128 | let coeff: CGFloat = direction == .forward ? -1 : 3
129 |
130 | return ZStack {
| |- warning: conformance of 'Optional<Wrapped>' 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
131 | if pageContents.count > 0 {
132 | pageContents[currentIndex].view
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:184:13: error: cannot pass as inout because setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
180 | }
181 |
182 | private func animationCompleted() {
| `- note: add @available attribute to enclosing instance method
183 | if progress == limit {
184 | progress += 0.001
| |- error: cannot pass as inout because setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
185 |
186 | if #available(iOS 17.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:188:17: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
180 | }
181 |
182 | private func animationCompleted() {
| `- note: add @available attribute to enclosing instance method
183 | if progress == limit {
184 | progress += 0.001
:
186 | if #available(iOS 17.0, *) {
187 | #if swift(>=5.9)
188 | withAnimation(outAnimation) {
| |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
189 | progress = 2 * limit
190 | } completion: {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:189:21: error: setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
180 | }
181 |
182 | private func animationCompleted() {
| `- note: add @available attribute to enclosing instance method
183 | if progress == limit {
184 | progress += 0.001
:
187 | #if swift(>=5.9)
188 | withAnimation(outAnimation) {
189 | progress = 2 * limit
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
190 | } completion: {
191 | animationCompleted()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:210:9: error: setter for 'direction' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
207 | // MARK: - Next / Prev actions
208 |
209 | private func goToNextPageAnimated() {
| `- note: add @available attribute to enclosing instance method
210 | direction = .forward
| |- error: setter for 'direction' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
211 | nextIndex = moveIndexForward(currentIndex)
212 | startAnimation()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:211:9: error: setter for 'nextIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
207 | // MARK: - Next / Prev actions
208 |
209 | private func goToNextPageAnimated() {
| `- note: add @available attribute to enclosing instance method
210 | direction = .forward
211 | nextIndex = moveIndexForward(currentIndex)
| |- error: setter for 'nextIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
212 | startAnimation()
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:216:9: error: setter for 'isAnimated' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
213 | }
214 |
215 | private func goToNextPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
216 | isAnimated = false
| |- error: setter for 'isAnimated' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
217 | direction = .forward
218 | currentIndex = moveIndexForward(currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:217:9: error: setter for 'direction' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
213 | }
214 |
215 | private func goToNextPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
216 | isAnimated = false
217 | direction = .forward
| |- error: setter for 'direction' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
218 | currentIndex = moveIndexForward(currentIndex)
219 | nextIndex = moveIndexForward(currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:218:9: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
213 | }
214 |
215 | private func goToNextPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
216 | isAnimated = false
217 | direction = .forward
218 | currentIndex = moveIndexForward(currentIndex)
| |- error: setter for 'currentIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
219 | nextIndex = moveIndexForward(currentIndex)
220 | progress = 0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:219:9: error: setter for 'nextIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
213 | }
214 |
215 | private func goToNextPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
216 | isAnimated = false
217 | direction = .forward
218 | currentIndex = moveIndexForward(currentIndex)
219 | nextIndex = moveIndexForward(currentIndex)
| |- error: setter for 'nextIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
220 | progress = 0
221 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:220:9: error: setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
213 | }
214 |
215 | private func goToNextPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
216 | isAnimated = false
217 | direction = .forward
218 | currentIndex = moveIndexForward(currentIndex)
219 | nextIndex = moveIndexForward(currentIndex)
220 | progress = 0
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:224:9: error: setter for 'direction' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
221 | }
222 |
223 | private func goToPrevPageAnimated() {
| `- note: add @available attribute to enclosing instance method
224 | direction = .backward
| |- error: setter for 'direction' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
225 | nextIndex = moveIndexBackward(currentIndex)
226 | startAnimation()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:225:9: error: setter for 'nextIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
221 | }
222 |
223 | private func goToPrevPageAnimated() {
| `- note: add @available attribute to enclosing instance method
224 | direction = .backward
225 | nextIndex = moveIndexBackward(currentIndex)
| |- error: setter for 'nextIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
226 | startAnimation()
227 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:230:9: error: setter for 'isAnimated' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
227 | }
228 |
229 | private func goToPrevPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
230 | isAnimated = false
| |- error: setter for 'isAnimated' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
231 | direction = .backward
232 | currentIndex = moveIndexBackward(currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:231:9: error: setter for 'direction' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
227 | }
228 |
229 | private func goToPrevPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
230 | isAnimated = false
231 | direction = .backward
| |- error: setter for 'direction' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
232 | currentIndex = moveIndexBackward(currentIndex)
233 | nextIndex = moveIndexBackward(currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:232:9: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
227 | }
228 |
229 | private func goToPrevPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
230 | isAnimated = false
231 | direction = .backward
232 | currentIndex = moveIndexBackward(currentIndex)
| |- error: setter for 'currentIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
233 | nextIndex = moveIndexBackward(currentIndex)
234 | progress = 0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:233:9: error: setter for 'nextIndex' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
227 | }
228 |
229 | private func goToPrevPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
230 | isAnimated = false
231 | direction = .backward
232 | currentIndex = moveIndexBackward(currentIndex)
233 | nextIndex = moveIndexBackward(currentIndex)
| |- error: setter for 'nextIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
234 | progress = 0
235 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:234:9: error: setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
227 | }
228 |
229 | private func goToPrevPageUnanimated() {
| `- note: add @available attribute to enclosing instance method
230 | isAnimated = false
231 | direction = .backward
232 | currentIndex = moveIndexBackward(currentIndex)
233 | nextIndex = moveIndexBackward(currentIndex)
234 | progress = 0
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
235 | }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:239:9: error: setter for 'isAnimated' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
235 | }
236 |
237 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
238 | animationWillBegin()
239 | isAnimated = true
| |- error: setter for 'isAnimated' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
240 | updateColors()
241 | progress = 0
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:241:9: error: setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
235 | }
236 |
237 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
238 | animationWillBegin()
239 | isAnimated = true
240 | updateColors()
241 | progress = 0
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 |
243 | if #available(iOS 17.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:245:13: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
235 | }
236 |
237 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
238 | animationWillBegin()
239 | isAnimated = true
:
243 | if #available(iOS 17.0, *) {
244 | #if swift(>=5.9)
245 | withAnimation(inAnimation) {
| |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
246 | progress = limit
247 | } completion: {
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:246:17: error: setter for 'progress' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
235 | }
236 |
237 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
238 | animationWillBegin()
239 | isAnimated = true
:
244 | #if swift(>=5.9)
245 | withAnimation(inAnimation) {
246 | progress = limit
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
247 | } completion: {
248 | animationCompleted()
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:259:9: error: setter for 'backgroundColor' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
256 | }
257 |
258 | private func updateColors(forNextPage: Bool = false) {
| `- note: add @available attribute to enclosing instance method
259 | backgroundColor = pageContents[forNextPage ? nextIndex : currentIndex].background
| |- error: setter for 'backgroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
260 | circleColor = pageContents[forNextPage ? currentIndex : nextIndex].background
261 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/ConcentricOnboardingView.swift:260:9: error: setter for 'circleColor' is only available in macOS 10.15 or newer
14 |
15 | @MainActor
16 | public struct ConcentricOnboardingView<Content>: View, Animatable where Content: View {
| `- note: add @available attribute to enclosing generic struct
17 |
18 | public typealias PageContent = (view: Content, background: Color)
:
256 | }
257 |
258 | private func updateColors(forNextPage: Bool = false) {
| `- note: add @available attribute to enclosing instance method
259 | backgroundColor = pageContents[forNextPage ? nextIndex : currentIndex].background
260 | circleColor = pageContents[forNextPage ? currentIndex : nextIndex].background
| |- error: setter for 'circleColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
261 | }
262 |
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/ConcentricOnboarding/Info.plist
BUILD FAILURE 6.0 macosSpm