The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DelayedTransitionView, reference 1.1.0 (062897), with Swift 6.0 for macOS (SPM) on 12 Jul 2025 11:21:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stonko1994/DelayedTransitionView.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stonko1994/DelayedTransitionView
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 0628973 Merge pull request #1 from stonko1994/feature/add-orientation-config-option
Cloned https://github.com/stonko1994/DelayedTransitionView.git
Revision (git rev-parse @):
062897343243bed3a236414f2621f49969d6a583
SUCCESS checkout https://github.com/stonko1994/DelayedTransitionView.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/stonko1994/DelayedTransitionView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/6] Compiling DelayedTransitionView DelayedTransitionView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:5:6: error: 'StateObject' is only available in macOS 11.0 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 6 |
 7 |     private let content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:20:22: error: 'Axis' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
   :
14 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`
15 |     ///   - content: A view builder that creates the content of this stack.
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         animationDuration: Double? = nil,
18 |         delay: Double? = nil,
19 |         offset: Double? = nil,
20 |         orientation: Axis.Set? = nil,
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
21 |         @ViewBuilder content: @escaping () -> Content
22 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:21:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
   :
14 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`
15 |     ///   - content: A view builder that creates the content of this stack.
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         animationDuration: Double? = nil,
18 |         delay: Double? = nil,
19 |         offset: Double? = nil,
20 |         orientation: Axis.Set? = nil,
21 |         @ViewBuilder content: @escaping () -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
22 |     ) {
23 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:34:27: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
   :
32 |     }
33 |
34 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
35 |         content()
36 |             .environmentObject(delayedPresentationConfiguration)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:4:46: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               |                              `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:44:31: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:31:50: error: 'StateObject' is only available in macOS 11.0 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
   :
14 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`
15 |     ///   - content: A view builder that creates the content of this stack.
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         animationDuration: Double? = nil,
18 |         delay: Double? = nil,
   :
29 |             orientation: orientation ?? DelayedPresentationConfiguration.DefaultValues.orientation
30 |         )
31 |         self._delayedPresentationConfiguration = StateObject(wrappedValue: configuration)
   |                                                  |- error: 'StateObject' is only available in macOS 11.0 or newer
   |                                                  `- note: add 'if #available' version check
32 |     }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:36:14: error: 'environmentObject' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
35 |         content()
36 |             .environmentObject(delayedPresentationConfiguration)
   |              |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
37 |             .onAppear {
38 |                 delayedPresentationConfiguration.isVisible = true
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:37:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
35 |         content()
36 |             .environmentObject(delayedPresentationConfiguration)
37 |             .onAppear {
   |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
38 |                 delayedPresentationConfiguration.isVisible = true
39 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:38:17: error: setter for 'isVisible' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
35 |         content()
36 |             .environmentObject(delayedPresentationConfiguration)
37 |             .onAppear {
38 |                 delayedPresentationConfiguration.isVisible = true
   |                 |- error: setter for 'isVisible' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
39 |             }
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:46:13: error: 'VStack' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
47 |                 Spacer()
48 |                 Text("First view")
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:47:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
47 |                 Spacer()
   |                 |- warning: conformance of 'Spacer' 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
48 |                 Text("First view")
49 |                     .delayedPresentation(viewIndex: 0)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:47:17: error: 'Spacer' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
47 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
48 |                 Text("First view")
49 |                     .delayedPresentation(viewIndex: 0)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:48:17: error: 'Text' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
47 |                 Spacer()
48 |                 Text("First view")
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
49 |                     .delayedPresentation(viewIndex: 0)
50 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:49:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
47 |                 Spacer()
48 |                 Text("First view")
49 |                     .delayedPresentation(viewIndex: 0)
   |                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                      `- note: add 'if #available' version check
50 |                 Spacer()
51 |                 Text("Second view")
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:50:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   :
48 |                 Text("First view")
49 |                     .delayedPresentation(viewIndex: 0)
50 |                 Spacer()
   |                 |- warning: conformance of 'Spacer' 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
51 |                 Text("Second view")
52 |                     .delayedPresentation(viewIndex: 1)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:50:17: error: 'Spacer' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   :
48 |                 Text("First view")
49 |                     .delayedPresentation(viewIndex: 0)
50 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
51 |                 Text("Second view")
52 |                     .delayedPresentation(viewIndex: 1)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:51:17: error: 'Text' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   :
49 |                     .delayedPresentation(viewIndex: 0)
50 |                 Spacer()
51 |                 Text("Second view")
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
52 |                     .delayedPresentation(viewIndex: 1)
53 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:52:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   :
50 |                 Spacer()
51 |                 Text("Second view")
52 |                     .delayedPresentation(viewIndex: 1)
   |                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                      `- note: add 'if #available' version check
53 |                 Spacer()
54 |                 Text("Third view")
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:53:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   :
51 |                 Text("Second view")
52 |                     .delayedPresentation(viewIndex: 1)
53 |                 Spacer()
   |                 |- warning: conformance of 'Spacer' 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
54 |                 Text("Third view")
55 |                     .delayedPresentation(viewIndex: 2)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:53:17: error: 'Spacer' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   :
51 |                 Text("Second view")
52 |                     .delayedPresentation(viewIndex: 1)
53 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
54 |                 Text("Third view")
55 |                     .delayedPresentation(viewIndex: 2)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:54:17: error: 'Text' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   :
52 |                     .delayedPresentation(viewIndex: 1)
53 |                 Spacer()
54 |                 Text("Third view")
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
55 |                     .delayedPresentation(viewIndex: 2)
56 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:55:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   :
53 |                 Spacer()
54 |                 Text("Third view")
55 |                     .delayedPresentation(viewIndex: 2)
   |                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                      `- note: add 'if #available' version check
56 |                 Spacer()
57 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:56:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   :
54 |                 Text("Third view")
55 |                     .delayedPresentation(viewIndex: 2)
56 |                 Spacer()
   |                 |- warning: conformance of 'Spacer' 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
57 |             }
58 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:56:17: error: 'Spacer' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   :
54 |                 Text("Third view")
55 |                     .delayedPresentation(viewIndex: 2)
56 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
57 |             }
58 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:46:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   |                    |- warning: conformance of 'Spacer' 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
47 |                 Spacer()
48 |                 Text("First view")
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:46:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   |                    |- warning: conformance of 'Spacer' 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
47 |                 Spacer()
48 |                 Text("First view")
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:46:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   |                    |- warning: conformance of 'Spacer' 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
47 |                 Spacer()
48 |                 Text("First view")
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:46:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
   |                    |- warning: conformance of 'Spacer' 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
47 |                 Spacer()
48 |                 Text("First view")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling DelayedTransitionView DelayedPresentationViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:4:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 5 |
 6 |     let viewNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:10:22: error: 'Axis' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
 5 |
   :
 8 |     let itemDelay: Double?
 9 |     let offset: Double?
10 |     let orientation: Axis.Set?
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
11 |
12 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:12:41: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
 5 |
   :
10 |     let orientation: Axis.Set?
11 |
12 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
13 |         content
14 |             .opacity(delayedPresentationState.isVisible ? 1 : 0)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:25:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
26 |
27 |     let offset: Double?
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:28:22: error: 'Axis' is only available in macOS 10.15 or newer
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
26 |
27 |     let offset: Double?
28 |     let orientation: Axis.Set?
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
29 |
30 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:30:41: error: 'View' is only available in macOS 10.15 or newer
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
26 |
   :
28 |     let orientation: Axis.Set?
29 |
30 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
31 |         if (orientation ?? delayedPresentationState.orientation) == .vertical {
32 |             content
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:54:22: error: 'Axis' is only available in macOS 10.15 or newer
39 | }
40 |
41 | public extension View {
   |        `- note: add @available attribute to enclosing extension
42 |     /// Enables the view to be transitioned. Must be used within a `DelayedTransitionView`
43 |     /// - Parameters:
   :
47 |     ///   - offset: The `y` offset for the view which will be animated. Default is `20`. Overrides the value of `DelayedTransitionView`.
48 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`. Overrides the value of `DelayedTransitionView`.
49 |     func delayedPresentation(
   |          `- note: add @available attribute to enclosing instance method
50 |         viewIndex: Int,
51 |         animationDuration: Double? = nil,
52 |         delay: Double? = nil,
53 |         offset: Double? = nil,
54 |         orientation: Axis.Set? = nil
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
55 |     ) -> some View {
56 |         modifier(
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:55:15: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | public extension View {
   |        `- note: add @available attribute to enclosing extension
42 |     /// Enables the view to be transitioned. Must be used within a `DelayedTransitionView`
43 |     /// - Parameters:
   :
47 |     ///   - offset: The `y` offset for the view which will be animated. Default is `20`. Overrides the value of `DelayedTransitionView`.
48 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`. Overrides the value of `DelayedTransitionView`.
49 |     func delayedPresentation(
   |          `- note: add @available attribute to enclosing instance method
50 |         viewIndex: Int,
51 |         animationDuration: Double? = nil,
   :
53 |         offset: Double? = nil,
54 |         orientation: Axis.Set? = nil
55 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
56 |         modifier(
57 |             DelayedPresentationViewModifier(
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:41:18: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
42 |     /// Enables the view to be transitioned. Must be used within a `DelayedTransitionView`
43 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:14:14: error: 'opacity' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
 5 |
   :
10 |     let orientation: Axis.Set?
11 |
12 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
13 |         content
14 |             .opacity(delayedPresentationState.isVisible ? 1 : 0)
   |              |- error: 'opacity' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
15 |             .modifier(ConditionalOffsetViewModifier(offset: offset, orientation: orientation))
16 |             .animation(
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:15:14: error: 'modifier' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
 5 |
   :
10 |     let orientation: Axis.Set?
11 |
12 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
13 |         content
14 |             .opacity(delayedPresentationState.isVisible ? 1 : 0)
15 |             .modifier(ConditionalOffsetViewModifier(offset: offset, orientation: orientation))
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
16 |             .animation(
17 |                 .easeOut(duration: showAnimationDuration ?? delayedPresentationState.animationDuration)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:16:14: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
 5 |
   :
10 |     let orientation: Axis.Set?
11 |
12 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
13 |         content
14 |             .opacity(delayedPresentationState.isVisible ? 1 : 0)
15 |             .modifier(ConditionalOffsetViewModifier(offset: offset, orientation: orientation))
16 |             .animation(
   |              |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
17 |                 .easeOut(duration: showAnimationDuration ?? delayedPresentationState.animationDuration)
18 |                     .delay(0.1 + (Double(viewNumber) * (itemDelay ?? delayedPresentationState.delay))),
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:17:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
 5 |
   :
10 |     let orientation: Axis.Set?
11 |
12 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
13 |         content
14 |             .opacity(delayedPresentationState.isVisible ? 1 : 0)
15 |             .modifier(ConditionalOffsetViewModifier(offset: offset, orientation: orientation))
16 |             .animation(
17 |                 .easeOut(duration: showAnimationDuration ?? delayedPresentationState.animationDuration)
   |                  |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
18 |                     .delay(0.1 + (Double(viewNumber) * (itemDelay ?? delayedPresentationState.delay))),
19 |                 value: delayedPresentationState.isVisible
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:18:22: error: 'delay' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
 5 |
   :
10 |     let orientation: Axis.Set?
11 |
12 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
13 |         content
14 |             .opacity(delayedPresentationState.isVisible ? 1 : 0)
   :
16 |             .animation(
17 |                 .easeOut(duration: showAnimationDuration ?? delayedPresentationState.animationDuration)
18 |                     .delay(0.1 + (Double(viewNumber) * (itemDelay ?? delayedPresentationState.delay))),
   |                      |- error: 'delay' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
19 |                 value: delayedPresentationState.isVisible
20 |             )
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:33:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
26 |
   :
28 |     let orientation: Axis.Set?
29 |
30 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
31 |         if (orientation ?? delayedPresentationState.orientation) == .vertical {
32 |             content
33 |                 .offset(y: delayedPresentationState.isVisible ? 0 : (offset ?? delayedPresentationState.offset))
   |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
34 |         } else {
35 |             content
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:31:79: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
26 |
   :
28 |     let orientation: Axis.Set?
29 |
30 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
31 |         if (orientation ?? delayedPresentationState.orientation) == .vertical {
   |                                                                               |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                               `- note: add 'if #available' version check
32 |             content
33 |                 .offset(y: delayedPresentationState.isVisible ? 0 : (offset ?? delayedPresentationState.offset))
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:36:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
26 |
   :
28 |     let orientation: Axis.Set?
29 |
30 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
31 |         if (orientation ?? delayedPresentationState.orientation) == .vertical {
32 |             content
   :
34 |         } else {
35 |             content
36 |                 .offset(x: delayedPresentationState.isVisible ? 0 : (offset ?? delayedPresentationState.offset))
   |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:34:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
26 |
   :
28 |     let orientation: Axis.Set?
29 |
30 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
31 |         if (orientation ?? delayedPresentationState.orientation) == .vertical {
32 |             content
33 |                 .offset(y: delayedPresentationState.isVisible ? 0 : (offset ?? delayedPresentationState.offset))
34 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
35 |             content
36 |                 .offset(x: delayedPresentationState.isVisible ? 0 : (offset ?? delayedPresentationState.offset))
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:30:46: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
26 |
   :
28 |     let orientation: Axis.Set?
29 |
30 |     func body(content: Content) -> some View {
   |          |                                   |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
   |          `- note: add @available attribute to enclosing instance method
31 |         if (orientation ?? delayedPresentationState.orientation) == .vertical {
32 |             content
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:56:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public extension View {
   |        `- note: add @available attribute to enclosing extension
42 |     /// Enables the view to be transitioned. Must be used within a `DelayedTransitionView`
43 |     /// - Parameters:
   :
47 |     ///   - offset: The `y` offset for the view which will be animated. Default is `20`. Overrides the value of `DelayedTransitionView`.
48 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`. Overrides the value of `DelayedTransitionView`.
49 |     func delayedPresentation(
   |          `- note: add @available attribute to enclosing instance method
50 |         viewIndex: Int,
51 |         animationDuration: Double? = nil,
   :
54 |         orientation: Axis.Set? = nil
55 |     ) -> some View {
56 |         modifier(
   |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
57 |             DelayedPresentationViewModifier(
58 |                 viewNumber: viewIndex,
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:56:9: error: 'modifier' is only available in macOS 10.15 or newer
39 | }
40 |
41 | public extension View {
   |        `- note: add @available attribute to enclosing extension
42 |     /// Enables the view to be transitioned. Must be used within a `DelayedTransitionView`
43 |     /// - Parameters:
   :
47 |     ///   - offset: The `y` offset for the view which will be animated. Default is `20`. Overrides the value of `DelayedTransitionView`.
48 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`. Overrides the value of `DelayedTransitionView`.
49 |     func delayedPresentation(
   |          `- note: add @available attribute to enclosing instance method
50 |         viewIndex: Int,
51 |         animationDuration: Double? = nil,
   :
54 |         orientation: Axis.Set? = nil
55 |     ) -> some View {
56 |         modifier(
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
57 |             DelayedPresentationViewModifier(
58 |                 viewNumber: viewIndex,
[5/6] Emitting module DelayedTransitionView
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationConfiguration.swift:8:33: error: 'Axis' is only available in macOS 10.15 or newer
 2 |
 3 | class DelayedPresentationConfiguration: ObservableObject {
 4 |     enum DefaultValues {
   |          `- note: add @available attribute to enclosing enum
 5 |         static let animationDuration: Double = 0.6
 6 |         static let delay: Double = 0.2
 7 |         static let offset: Double = 20
 8 |         static let orientation: Axis.Set = .vertical
   |                    |            `- error: 'Axis' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing static property
 9 |     }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationConfiguration.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | class DelayedPresentationConfiguration: ObservableObject {
   |       `- note: add @available attribute to enclosing class
 4 |     enum DefaultValues {
 5 |         static let animationDuration: Double = 0.6
   :
10 |
11 |     /// Acts as the trigger for the animation
12 |     @Published var isVisible = false
   |      `- error: 'Published' is only available in macOS 10.15 or newer
13 |
14 |     /// Define the duration of the animation in seconds
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationConfiguration.swift:21:22: error: 'Axis' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | class DelayedPresentationConfiguration: ObservableObject {
   |       `- note: add @available attribute to enclosing class
 4 |     enum DefaultValues {
 5 |         static let animationDuration: Double = 0.6
   :
19 |     let offset: Double
20 |     /// Define the orientation when the view appears
21 |     let orientation: Axis.Set
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
22 |
23 |     init(
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationConfiguration.swift:27:22: error: 'Axis' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | class DelayedPresentationConfiguration: ObservableObject {
   |       `- note: add @available attribute to enclosing class
 4 |     enum DefaultValues {
 5 |         static let animationDuration: Double = 0.6
   :
21 |     let orientation: Axis.Set
22 |
23 |     init(
   |     `- note: add @available attribute to enclosing initializer
24 |         animationDuration: Double,
25 |         delay: Double,
26 |         offset: Double,
27 |         orientation: Axis.Set
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
28 |     ) {
29 |         self.animationDuration = animationDuration
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationConfiguration.swift:3:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | class DelayedPresentationConfiguration: ObservableObject {
   |       |                                 `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing class
 4 |     enum DefaultValues {
 5 |         static let animationDuration: Double = 0.6
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:4:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 5 |
 6 |     let viewNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:10:22: error: 'Axis' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
 5 |
   :
 8 |     let itemDelay: Double?
 9 |     let offset: Double?
10 |     let orientation: Axis.Set?
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
11 |
12 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:12:41: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct DelayedPresentationViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
 5 |
   :
10 |     let orientation: Axis.Set?
11 |
12 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
13 |         content
14 |             .opacity(delayedPresentationState.isVisible ? 1 : 0)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:25:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
26 |
27 |     let offset: Double?
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:28:22: error: 'Axis' is only available in macOS 10.15 or newer
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
26 |
27 |     let offset: Double?
28 |     let orientation: Axis.Set?
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
29 |
30 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:30:41: error: 'View' is only available in macOS 10.15 or newer
22 | }
23 |
24 | private struct ConditionalOffsetViewModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
25 |     @EnvironmentObject var delayedPresentationState: DelayedPresentationConfiguration
26 |
   :
28 |     let orientation: Axis.Set?
29 |
30 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
31 |         if (orientation ?? delayedPresentationState.orientation) == .vertical {
32 |             content
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:54:22: error: 'Axis' is only available in macOS 10.15 or newer
39 | }
40 |
41 | public extension View {
   |        `- note: add @available attribute to enclosing extension
42 |     /// Enables the view to be transitioned. Must be used within a `DelayedTransitionView`
43 |     /// - Parameters:
   :
47 |     ///   - offset: The `y` offset for the view which will be animated. Default is `20`. Overrides the value of `DelayedTransitionView`.
48 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`. Overrides the value of `DelayedTransitionView`.
49 |     func delayedPresentation(
   |          `- note: add @available attribute to enclosing instance method
50 |         viewIndex: Int,
51 |         animationDuration: Double? = nil,
52 |         delay: Double? = nil,
53 |         offset: Double? = nil,
54 |         orientation: Axis.Set? = nil
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
55 |     ) -> some View {
56 |         modifier(
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:55:15: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | public extension View {
   |        `- note: add @available attribute to enclosing extension
42 |     /// Enables the view to be transitioned. Must be used within a `DelayedTransitionView`
43 |     /// - Parameters:
   :
47 |     ///   - offset: The `y` offset for the view which will be animated. Default is `20`. Overrides the value of `DelayedTransitionView`.
48 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`. Overrides the value of `DelayedTransitionView`.
49 |     func delayedPresentation(
   |          `- note: add @available attribute to enclosing instance method
50 |         viewIndex: Int,
51 |         animationDuration: Double? = nil,
   :
53 |         offset: Double? = nil,
54 |         orientation: Axis.Set? = nil
55 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
56 |         modifier(
57 |             DelayedPresentationViewModifier(
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationViewModifier.swift:41:18: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
42 |     /// Enables the view to be transitioned. Must be used within a `DelayedTransitionView`
43 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:5:6: error: 'StateObject' is only available in macOS 11.0 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 6 |
 7 |     private let content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:20:22: error: 'Axis' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
   :
14 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`
15 |     ///   - content: A view builder that creates the content of this stack.
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         animationDuration: Double? = nil,
18 |         delay: Double? = nil,
19 |         offset: Double? = nil,
20 |         orientation: Axis.Set? = nil,
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
21 |         @ViewBuilder content: @escaping () -> Content
22 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:21:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
   :
14 |     ///   - orientation: The orientation in which the view should appear. Default is `.vertical`
15 |     ///   - content: A view builder that creates the content of this stack.
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         animationDuration: Double? = nil,
18 |         delay: Double? = nil,
19 |         offset: Double? = nil,
20 |         orientation: Axis.Set? = nil,
21 |         @ViewBuilder content: @escaping () -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
22 |     ) {
23 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:34:27: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
   :
32 |     }
33 |
34 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
35 |         content()
36 |             .environmentObject(delayedPresentationConfiguration)
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:4:46: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | /// Provides delayed visibility transitions.
 4 | public struct DelayedTransitionView<Content: View>: View {
   |               |                              `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 5 |     @StateObject private var delayedPresentationConfiguration: DelayedPresentationConfiguration
 6 |
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedTransitionView.swift:44:31: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct DelayedTransitionView_Preview: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
44 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
45 |         DelayedTransitionView {
46 |             VStack {
[6/6] Compiling DelayedTransitionView DelayedPresentationConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationConfiguration.swift:8:33: error: 'Axis' is only available in macOS 10.15 or newer
 2 |
 3 | class DelayedPresentationConfiguration: ObservableObject {
 4 |     enum DefaultValues {
   |          `- note: add @available attribute to enclosing enum
 5 |         static let animationDuration: Double = 0.6
 6 |         static let delay: Double = 0.2
 7 |         static let offset: Double = 20
 8 |         static let orientation: Axis.Set = .vertical
   |                    |            `- error: 'Axis' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing static property
 9 |     }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationConfiguration.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | class DelayedPresentationConfiguration: ObservableObject {
   |       `- note: add @available attribute to enclosing class
 4 |     enum DefaultValues {
 5 |         static let animationDuration: Double = 0.6
   :
10 |
11 |     /// Acts as the trigger for the animation
12 |     @Published var isVisible = false
   |      `- error: 'Published' is only available in macOS 10.15 or newer
13 |
14 |     /// Define the duration of the animation in seconds
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationConfiguration.swift:21:22: error: 'Axis' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | class DelayedPresentationConfiguration: ObservableObject {
   |       `- note: add @available attribute to enclosing class
 4 |     enum DefaultValues {
 5 |         static let animationDuration: Double = 0.6
   :
19 |     let offset: Double
20 |     /// Define the orientation when the view appears
21 |     let orientation: Axis.Set
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
22 |
23 |     init(
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationConfiguration.swift:27:22: error: 'Axis' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | class DelayedPresentationConfiguration: ObservableObject {
   |       `- note: add @available attribute to enclosing class
 4 |     enum DefaultValues {
 5 |         static let animationDuration: Double = 0.6
   :
21 |     let orientation: Axis.Set
22 |
23 |     init(
   |     `- note: add @available attribute to enclosing initializer
24 |         animationDuration: Double,
25 |         delay: Double,
26 |         offset: Double,
27 |         orientation: Axis.Set
   |                      `- error: 'Axis' is only available in macOS 10.15 or newer
28 |     ) {
29 |         self.animationDuration = animationDuration
<unknown>:0: error: cannot convert value of type 'KeyPath<DelayedPresentationConfiguration, Bool>' to expected argument type 'ReferenceWritableKeyPath<DelayedPresentationConfiguration, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/DelayedTransitionView/DelayedPresentationConfiguration.swift:3:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | class DelayedPresentationConfiguration: ObservableObject {
   |       |                                 `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing class
 4 |     enum DefaultValues {
 5 |         static let animationDuration: Double = 0.6
BUILD FAILURE 6.0 macosSpm