The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SSCoachMarks, reference 1.1.0 (bd1be3), with Swift 6.1 for macOS (SPM) on 30 Dec 2025 14:34:30 UTC.

Build Command

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

Build Log

11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
31 |     /// The button is styled with white text, a black background, a font size of 12, and a regular font weight.
32 |     public var nextButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.nextButtonDefaultText,
33 |                                                                foregroundStyle: .white,
   |                                                                                  `- error: 'white' is only available in macOS 10.15 or newer
34 |                                                                backgroundColor: Color.defaultColor,
35 |                                                                fontSize: Constants.buttonsDefaultFontSize,
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:34:81: error: 'Color' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
32 |     public var nextButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.nextButtonDefaultText,
33 |                                                                foregroundStyle: .white,
34 |                                                                backgroundColor: Color.defaultColor,
   |                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
35 |                                                                fontSize: Constants.buttonsDefaultFontSize,
36 |                                                                fontWeight: .regular)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:40:82: error: 'white' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
38 |     /// The button is styled with white text, a black background, a font size of 12, and a regular font weight.
39 |     public var backButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.backButtonDefaultText,
40 |                                                                foregroundStyle: .white,
   |                                                                                  `- error: 'white' is only available in macOS 10.15 or newer
41 |                                                                backgroundColor: Color.defaultColor,
42 |                                                                fontSize: Constants.buttonsDefaultFontSize,
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:41:81: error: 'Color' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
39 |     public var backButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.backButtonDefaultText,
40 |                                                                foregroundStyle: .white,
41 |                                                                backgroundColor: Color.defaultColor,
   |                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
42 |                                                                fontSize: Constants.buttonsDefaultFontSize,
43 |                                                                fontWeight: .regular)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:47:82: error: 'white' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
45 |     /// The button is styled with white text, a black background, a font size of 12, and a regular font weight.
46 |     public var doneButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.doneButtonDefaultText,
47 |                                                                foregroundStyle: .white,
   |                                                                                  `- error: 'white' is only available in macOS 10.15 or newer
48 |                                                                backgroundColor: Color.defaultColor,
49 |                                                                fontSize: Constants.buttonsDefaultFontSize,
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:48:81: error: 'Color' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
46 |     public var doneButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.doneButtonDefaultText,
47 |                                                                foregroundStyle: .white,
48 |                                                                backgroundColor: Color.defaultColor,
   |                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
49 |                                                                fontSize: Constants.buttonsDefaultFontSize,
50 |                                                                fontWeight: .regular)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:54:91: error: 'white' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
52 |     /// The button is styled with black text, a black background, a font size of 12, and a regular font weight.
53 |     public var skipCoachMarkButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.skipCoachMarkButtonDefaultText,
54 |                                                                         foregroundStyle: .white,
   |                                                                                           `- error: 'white' is only available in macOS 10.15 or newer
55 |                                                                         backgroundColor: Color.defaultColor,
56 |                                                                         fontSize: Constants.buttonsDefaultFontSize,
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:55:90: error: 'Color' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
53 |     public var skipCoachMarkButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.skipCoachMarkButtonDefaultText,
54 |                                                                         foregroundStyle: .white,
55 |                                                                         backgroundColor: Color.defaultColor,
   |                                                                                          `- error: 'Color' is only available in macOS 10.15 or newer
56 |                                                                         fontSize: Constants.buttonsDefaultFontSize,
57 |                                                                         fontWeight: .regular)
[12/16] Compiling SSCoachMarks SSCoachMarkConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:18:88: error: 'black' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
16 |
17 |     /// The title text is styled with a black color, a font size of 18, and a semibold font weight.
18 |     public var coachMarkTitleViewStyle: SSCoachMarkTextStyle = .init(foregroundStyle: .black,
   |                                                                                        `- error: 'black' is only available in macOS 10.15 or newer
19 |                                                                      fontSize: Constants.coachMarkTitleDefaultFontSize,
20 |                                                                      fontWeight: .semibold)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:23:94: error: 'black' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
21 |
22 |     /// The description text is styled with a black color, a font size of 17, and a regular font weight.
23 |     public var coachMarkDescriptionViewStyle: SSCoachMarkTextStyle = .init(foregroundStyle: .black,
   |                                                                                              `- error: 'black' is only available in macOS 10.15 or newer
24 |                                                                            fontSize: Constants.coachMarkDescriptionDefaultFontSize,
25 |                                                                            fontWeight: .regular)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:28:77: error: 'black' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
26 |
27 |     /// The overlay is styled with a black color and an opacity of 0.7.
28 |     public var overlayStyle: SSCoachMarkOverlayStyle = .init(overlayColor: .black,
   |                                                                             `- error: 'black' is only available in macOS 10.15 or newer
29 |                                                              overlayOpacity: Constants.overlayStyleDefaultValue)
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Color+Extension.swift:52:31: error: 'Color' is only available in macOS 10.15 or newer
37 | }
38 |
39 | extension Color {
   | `- note: add @available attribute to enclosing extension
40 |
41 |     /// A static property that represents the default color used throughout the application.
   :
50 |     ///       .foregroundColor(.defaultColor)
51 |     ///   ```
52 |     static let defaultColor = Color(hex: 0xEF5366)
   |                |              `- error: 'Color' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
53 |
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:33:82: error: 'white' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
31 |     /// The button is styled with white text, a black background, a font size of 12, and a regular font weight.
32 |     public var nextButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.nextButtonDefaultText,
33 |                                                                foregroundStyle: .white,
   |                                                                                  `- error: 'white' is only available in macOS 10.15 or newer
34 |                                                                backgroundColor: Color.defaultColor,
35 |                                                                fontSize: Constants.buttonsDefaultFontSize,
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:34:81: error: 'Color' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
32 |     public var nextButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.nextButtonDefaultText,
33 |                                                                foregroundStyle: .white,
34 |                                                                backgroundColor: Color.defaultColor,
   |                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
35 |                                                                fontSize: Constants.buttonsDefaultFontSize,
36 |                                                                fontWeight: .regular)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:40:82: error: 'white' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
38 |     /// The button is styled with white text, a black background, a font size of 12, and a regular font weight.
39 |     public var backButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.backButtonDefaultText,
40 |                                                                foregroundStyle: .white,
   |                                                                                  `- error: 'white' is only available in macOS 10.15 or newer
41 |                                                                backgroundColor: Color.defaultColor,
42 |                                                                fontSize: Constants.buttonsDefaultFontSize,
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:41:81: error: 'Color' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
39 |     public var backButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.backButtonDefaultText,
40 |                                                                foregroundStyle: .white,
41 |                                                                backgroundColor: Color.defaultColor,
   |                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
42 |                                                                fontSize: Constants.buttonsDefaultFontSize,
43 |                                                                fontWeight: .regular)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:47:82: error: 'white' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
45 |     /// The button is styled with white text, a black background, a font size of 12, and a regular font weight.
46 |     public var doneButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.doneButtonDefaultText,
47 |                                                                foregroundStyle: .white,
   |                                                                                  `- error: 'white' is only available in macOS 10.15 or newer
48 |                                                                backgroundColor: Color.defaultColor,
49 |                                                                fontSize: Constants.buttonsDefaultFontSize,
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:48:81: error: 'Color' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
46 |     public var doneButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.doneButtonDefaultText,
47 |                                                                foregroundStyle: .white,
48 |                                                                backgroundColor: Color.defaultColor,
   |                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
49 |                                                                fontSize: Constants.buttonsDefaultFontSize,
50 |                                                                fontWeight: .regular)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:54:91: error: 'white' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
52 |     /// The button is styled with black text, a black background, a font size of 12, and a regular font weight.
53 |     public var skipCoachMarkButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.skipCoachMarkButtonDefaultText,
54 |                                                                         foregroundStyle: .white,
   |                                                                                           `- error: 'white' is only available in macOS 10.15 or newer
55 |                                                                         backgroundColor: Color.defaultColor,
56 |                                                                         fontSize: Constants.buttonsDefaultFontSize,
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/SSCoachMarkConfiguration.swift:55:90: error: 'Color' is only available in macOS 10.15 or newer
11 | /// A configuration structure for customising the appearance and behaviour of the CoachMarkView.
12 | /// This struct allows you to define the styles for text, buttons, and the overlay in the CoachMark.
13 | public struct SSCoachMarkConfiguration {
   |               `- note: add @available attribute to enclosing struct
14 |
15 |     // MARK: - Text, Colors and fonts
   :
53 |     public var skipCoachMarkButtonStyle: SSCoachMarkButtonStyle = .init(buttonText: Constants.skipCoachMarkButtonDefaultText,
54 |                                                                         foregroundStyle: .white,
55 |                                                                         backgroundColor: Color.defaultColor,
   |                                                                                          `- error: 'Color' is only available in macOS 10.15 or newer
56 |                                                                         fontSize: Constants.buttonsDefaultFontSize,
57 |                                                                         fontWeight: .regular)
[13/16] Compiling SSCoachMarks CoachMarkModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/CoachMarkModel.swift:20:24: error: 'Anchor' is only available in macOS 10.15 or newer
10 | // MARK: Highlight Model
11 | /// This model contains the information related to coach mark view
12 | public struct Highlight: Identifiable, Equatable {
   |               `- note: add @available attribute to enclosing struct
13 |
14 |     // MARK: - Variables
   :
18 |
19 |     /// The anchor point used to position the highlight on the screen.
20 |     public var anchor: Anchor<CGRect>
   |                        `- error: 'Anchor' is only available in macOS 10.15 or newer
21 |
22 |     /// Optional title displayed on the highlight.
/Users/admin/builder/spi-builder-workspace/Sources/Models/CoachMarkModel.swift:35:42: error: 'Color' is only available in macOS 10.15 or newer
10 | // MARK: Highlight Model
11 | /// This model contains the information related to coach mark view
12 | public struct Highlight: Identifiable, Equatable {
   |               `- note: add @available attribute to enclosing struct
13 |
14 |     // MARK: - Variables
   :
33 |
34 |     /// The background color of the coach mark, which is the visual cue to the user.
35 |     public var coachMarkBackGroundColor: Color
   |                                          `- error: 'Color' is only available in macOS 10.15 or newer
36 |
37 |     /// Optional custom view that can replace the default coach mark appearance.
/Users/admin/builder/spi-builder-workspace/Sources/Models/CoachMarkModel.swift:38:37: error: 'AnyView' is only available in macOS 10.15 or newer
10 | // MARK: Highlight Model
11 | /// This model contains the information related to coach mark view
12 | public struct Highlight: Identifiable, Equatable {
   |               `- note: add @available attribute to enclosing struct
13 |
14 |     // MARK: - Variables
   :
36 |
37 |     /// Optional custom view that can replace the default coach mark appearance.
38 |     public var customCoachMarkView: AnyView?
   |                                     `- error: 'AnyView' is only available in macOS 10.15 or newer
39 |
40 |     // MARK: - Static functions
[14/16] Compiling SSCoachMarks ButtonEventsCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:24:44: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
22 |     /// A dictionary to hold `PassthroughSubject` for each `EventType`.
23 |     /// Each subject is responsible for emitting events related to its specific button action.
24 |     private var eventSubjects: [EventType: PassthroughSubject<Void, Never>] = [
   |                                            `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
25 |         .next: PassthroughSubject(),
26 |         .back: PassthroughSubject(),
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:25:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
23 |     /// Each subject is responsible for emitting events related to its specific button action.
24 |     private var eventSubjects: [EventType: PassthroughSubject<Void, Never>] = [
25 |         .next: PassthroughSubject(),
   |                `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
26 |         .back: PassthroughSubject(),
27 |         .done: PassthroughSubject(),
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:26:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
24 |     private var eventSubjects: [EventType: PassthroughSubject<Void, Never>] = [
25 |         .next: PassthroughSubject(),
26 |         .back: PassthroughSubject(),
   |                `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
27 |         .done: PassthroughSubject(),
28 |         .skip: PassthroughSubject()
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:27:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
25 |         .next: PassthroughSubject(),
26 |         .back: PassthroughSubject(),
27 |         .done: PassthroughSubject(),
   |                `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
28 |         .skip: PassthroughSubject()
29 |     ]
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:28:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
26 |         .back: PassthroughSubject(),
27 |         .done: PassthroughSubject(),
28 |         .skip: PassthroughSubject()
   |                `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
29 |     ]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:34:49: error: 'AnyPublisher' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
32 |     /// - Parameter eventType: The type of button event for which the publisher is needed.
33 |     /// - Returns: An `AnyPublisher` that emits a `Void` event whenever the specified button event is triggered.
34 |     func publisher(for eventType: EventType) -> AnyPublisher<Void, Never> {
   |          |                                      `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
35 |         eventSubjects[eventType]?.eraseToAnyPublisher() ?? Empty().eraseToAnyPublisher()
36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:35:35: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
32 |     /// - Parameter eventType: The type of button event for which the publisher is needed.
33 |     /// - Returns: An `AnyPublisher` that emits a `Void` event whenever the specified button event is triggered.
34 |     func publisher(for eventType: EventType) -> AnyPublisher<Void, Never> {
   |          `- note: add @available attribute to enclosing instance method
35 |         eventSubjects[eventType]?.eraseToAnyPublisher() ?? Empty().eraseToAnyPublisher()
   |                                   |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
36 |     }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:35:60: error: 'Empty' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
32 |     /// - Parameter eventType: The type of button event for which the publisher is needed.
33 |     /// - Returns: An `AnyPublisher` that emits a `Void` event whenever the specified button event is triggered.
34 |     func publisher(for eventType: EventType) -> AnyPublisher<Void, Never> {
   |          `- note: add @available attribute to enclosing instance method
35 |         eventSubjects[eventType]?.eraseToAnyPublisher() ?? Empty().eraseToAnyPublisher()
   |                                                            |- error: 'Empty' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
36 |     }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:35:68: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
32 |     /// - Parameter eventType: The type of button event for which the publisher is needed.
33 |     /// - Returns: An `AnyPublisher` that emits a `Void` event whenever the specified button event is triggered.
34 |     func publisher(for eventType: EventType) -> AnyPublisher<Void, Never> {
   |          `- note: add @available attribute to enclosing instance method
35 |         eventSubjects[eventType]?.eraseToAnyPublisher() ?? Empty().eraseToAnyPublisher()
   |                                                                    |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                                                    `- note: add 'if #available' version check
36 |     }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/CommonFunctions.swift:31:78: error: 'Font' is only available in macOS 10.15 or newer
29 | ///
30 | /// - Returns: A `Font` instance configured with the specified properties. If a custom font family is provided and is not empty, it returns a custom font with the specified family, size, and weight. Otherwise, it returns a system font with the specified size and weight.
31 | func getCustomFont(customFontFamily: String?, fontSize: CGFloat, fontWeight: Font.Weight) -> Font {
   |      |                                                                       `- error: 'Font' is only available in macOS 10.15 or newer
   |      `- note: add @available attribute to enclosing global function
32 |     if let fontFamily = customFontFamily, !fontFamily.isEmpty {
33 |         return .custom(fontFamily, fixedSize: fontSize).weight(fontWeight)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/CommonFunctions.swift:31:94: error: 'Font' is only available in macOS 10.15 or newer
29 | ///
30 | /// - Returns: A `Font` instance configured with the specified properties. If a custom font family is provided and is not empty, it returns a custom font with the specified family, size, and weight. Otherwise, it returns a system font with the specified size and weight.
31 | func getCustomFont(customFontFamily: String?, fontSize: CGFloat, fontWeight: Font.Weight) -> Font {
   |      |                                                                                       `- error: 'Font' is only available in macOS 10.15 or newer
   |      `- note: add @available attribute to enclosing global function
32 |     if let fontFamily = customFontFamily, !fontFamily.isEmpty {
33 |         return .custom(fontFamily, fixedSize: fontSize).weight(fontWeight)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/CommonFunctions.swift:33:17: error: 'custom(_:fixedSize:)' is only available in macOS 11.0 or newer
29 | ///
30 | /// - Returns: A `Font` instance configured with the specified properties. If a custom font family is provided and is not empty, it returns a custom font with the specified family, size, and weight. Otherwise, it returns a system font with the specified size and weight.
31 | func getCustomFont(customFontFamily: String?, fontSize: CGFloat, fontWeight: Font.Weight) -> Font {
   |      `- note: add @available attribute to enclosing global function
32 |     if let fontFamily = customFontFamily, !fontFamily.isEmpty {
33 |         return .custom(fontFamily, fixedSize: fontSize).weight(fontWeight)
   |                 |- error: 'custom(_:fixedSize:)' is only available in macOS 11.0 or newer
   |                 `- note: add 'if #available' version check
34 |     } else {
35 |         return .system(size: fontSize, weight: fontWeight)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/CommonFunctions.swift:33:57: error: 'weight' is only available in macOS 10.15 or newer
29 | ///
30 | /// - Returns: A `Font` instance configured with the specified properties. If a custom font family is provided and is not empty, it returns a custom font with the specified family, size, and weight. Otherwise, it returns a system font with the specified size and weight.
31 | func getCustomFont(customFontFamily: String?, fontSize: CGFloat, fontWeight: Font.Weight) -> Font {
   |      `- note: add @available attribute to enclosing global function
32 |     if let fontFamily = customFontFamily, !fontFamily.isEmpty {
33 |         return .custom(fontFamily, fixedSize: fontSize).weight(fontWeight)
   |                                                         |- error: 'weight' is only available in macOS 10.15 or newer
   |                                                         `- note: add 'if #available' version check
34 |     } else {
35 |         return .system(size: fontSize, weight: fontWeight)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/CommonFunctions.swift:35:17: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
29 | ///
30 | /// - Returns: A `Font` instance configured with the specified properties. If a custom font family is provided and is not empty, it returns a custom font with the specified family, size, and weight. Otherwise, it returns a system font with the specified size and weight.
31 | func getCustomFont(customFontFamily: String?, fontSize: CGFloat, fontWeight: Font.Weight) -> Font {
   |      `- note: add @available attribute to enclosing global function
32 |     if let fontFamily = customFontFamily, !fontFamily.isEmpty {
33 |         return .custom(fontFamily, fixedSize: fontSize).weight(fontWeight)
34 |     } else {
35 |         return .system(size: fontSize, weight: fontWeight)
   |                 |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                 `- note: add 'if #available' version check
36 |     }
37 | }
[15/16] Compiling SSCoachMarks CommonFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:24:44: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
22 |     /// A dictionary to hold `PassthroughSubject` for each `EventType`.
23 |     /// Each subject is responsible for emitting events related to its specific button action.
24 |     private var eventSubjects: [EventType: PassthroughSubject<Void, Never>] = [
   |                                            `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
25 |         .next: PassthroughSubject(),
26 |         .back: PassthroughSubject(),
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:25:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
23 |     /// Each subject is responsible for emitting events related to its specific button action.
24 |     private var eventSubjects: [EventType: PassthroughSubject<Void, Never>] = [
25 |         .next: PassthroughSubject(),
   |                `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
26 |         .back: PassthroughSubject(),
27 |         .done: PassthroughSubject(),
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:26:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
24 |     private var eventSubjects: [EventType: PassthroughSubject<Void, Never>] = [
25 |         .next: PassthroughSubject(),
26 |         .back: PassthroughSubject(),
   |                `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
27 |         .done: PassthroughSubject(),
28 |         .skip: PassthroughSubject()
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:27:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
25 |         .next: PassthroughSubject(),
26 |         .back: PassthroughSubject(),
27 |         .done: PassthroughSubject(),
   |                `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
28 |         .skip: PassthroughSubject()
29 |     ]
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:28:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
26 |         .back: PassthroughSubject(),
27 |         .done: PassthroughSubject(),
28 |         .skip: PassthroughSubject()
   |                `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
29 |     ]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:34:49: error: 'AnyPublisher' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
32 |     /// - Parameter eventType: The type of button event for which the publisher is needed.
33 |     /// - Returns: An `AnyPublisher` that emits a `Void` event whenever the specified button event is triggered.
34 |     func publisher(for eventType: EventType) -> AnyPublisher<Void, Never> {
   |          |                                      `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
35 |         eventSubjects[eventType]?.eraseToAnyPublisher() ?? Empty().eraseToAnyPublisher()
36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:35:35: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
32 |     /// - Parameter eventType: The type of button event for which the publisher is needed.
33 |     /// - Returns: An `AnyPublisher` that emits a `Void` event whenever the specified button event is triggered.
34 |     func publisher(for eventType: EventType) -> AnyPublisher<Void, Never> {
   |          `- note: add @available attribute to enclosing instance method
35 |         eventSubjects[eventType]?.eraseToAnyPublisher() ?? Empty().eraseToAnyPublisher()
   |                                   |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
36 |     }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:35:60: error: 'Empty' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
32 |     /// - Parameter eventType: The type of button event for which the publisher is needed.
33 |     /// - Returns: An `AnyPublisher` that emits a `Void` event whenever the specified button event is triggered.
34 |     func publisher(for eventType: EventType) -> AnyPublisher<Void, Never> {
   |          `- note: add @available attribute to enclosing instance method
35 |         eventSubjects[eventType]?.eraseToAnyPublisher() ?? Empty().eraseToAnyPublisher()
   |                                                            |- error: 'Empty' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
36 |     }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ButtonEventsCoordinator.swift:35:68: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
10 |
11 | /// A coordinator that manages button event triggers and publishes events for `next`, `back`, `done`, and `skip` actions.
12 | final public class ButtonEventsCoordinator {
   |                    `- note: add @available attribute to enclosing class
13 |
14 |     /// A public no-argument initializer that allows external modules to create an instance of the type.
   :
32 |     /// - Parameter eventType: The type of button event for which the publisher is needed.
33 |     /// - Returns: An `AnyPublisher` that emits a `Void` event whenever the specified button event is triggered.
34 |     func publisher(for eventType: EventType) -> AnyPublisher<Void, Never> {
   |          `- note: add @available attribute to enclosing instance method
35 |         eventSubjects[eventType]?.eraseToAnyPublisher() ?? Empty().eraseToAnyPublisher()
   |                                                                    |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                                                    `- note: add 'if #available' version check
36 |     }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/CommonFunctions.swift:31:78: error: 'Font' is only available in macOS 10.15 or newer
29 | ///
30 | /// - Returns: A `Font` instance configured with the specified properties. If a custom font family is provided and is not empty, it returns a custom font with the specified family, size, and weight. Otherwise, it returns a system font with the specified size and weight.
31 | func getCustomFont(customFontFamily: String?, fontSize: CGFloat, fontWeight: Font.Weight) -> Font {
   |      |                                                                       `- error: 'Font' is only available in macOS 10.15 or newer
   |      `- note: add @available attribute to enclosing global function
32 |     if let fontFamily = customFontFamily, !fontFamily.isEmpty {
33 |         return .custom(fontFamily, fixedSize: fontSize).weight(fontWeight)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/CommonFunctions.swift:31:94: error: 'Font' is only available in macOS 10.15 or newer
29 | ///
30 | /// - Returns: A `Font` instance configured with the specified properties. If a custom font family is provided and is not empty, it returns a custom font with the specified family, size, and weight. Otherwise, it returns a system font with the specified size and weight.
31 | func getCustomFont(customFontFamily: String?, fontSize: CGFloat, fontWeight: Font.Weight) -> Font {
   |      |                                                                                       `- error: 'Font' is only available in macOS 10.15 or newer
   |      `- note: add @available attribute to enclosing global function
32 |     if let fontFamily = customFontFamily, !fontFamily.isEmpty {
33 |         return .custom(fontFamily, fixedSize: fontSize).weight(fontWeight)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/CommonFunctions.swift:33:17: error: 'custom(_:fixedSize:)' is only available in macOS 11.0 or newer
29 | ///
30 | /// - Returns: A `Font` instance configured with the specified properties. If a custom font family is provided and is not empty, it returns a custom font with the specified family, size, and weight. Otherwise, it returns a system font with the specified size and weight.
31 | func getCustomFont(customFontFamily: String?, fontSize: CGFloat, fontWeight: Font.Weight) -> Font {
   |      `- note: add @available attribute to enclosing global function
32 |     if let fontFamily = customFontFamily, !fontFamily.isEmpty {
33 |         return .custom(fontFamily, fixedSize: fontSize).weight(fontWeight)
   |                 |- error: 'custom(_:fixedSize:)' is only available in macOS 11.0 or newer
   |                 `- note: add 'if #available' version check
34 |     } else {
35 |         return .system(size: fontSize, weight: fontWeight)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/CommonFunctions.swift:33:57: error: 'weight' is only available in macOS 10.15 or newer
29 | ///
30 | /// - Returns: A `Font` instance configured with the specified properties. If a custom font family is provided and is not empty, it returns a custom font with the specified family, size, and weight. Otherwise, it returns a system font with the specified size and weight.
31 | func getCustomFont(customFontFamily: String?, fontSize: CGFloat, fontWeight: Font.Weight) -> Font {
   |      `- note: add @available attribute to enclosing global function
32 |     if let fontFamily = customFontFamily, !fontFamily.isEmpty {
33 |         return .custom(fontFamily, fixedSize: fontSize).weight(fontWeight)
   |                                                         |- error: 'weight' is only available in macOS 10.15 or newer
   |                                                         `- note: add 'if #available' version check
34 |     } else {
35 |         return .system(size: fontSize, weight: fontWeight)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/CommonFunctions.swift:35:17: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
29 | ///
30 | /// - Returns: A `Font` instance configured with the specified properties. If a custom font family is provided and is not empty, it returns a custom font with the specified family, size, and weight. Otherwise, it returns a system font with the specified size and weight.
31 | func getCustomFont(customFontFamily: String?, fontSize: CGFloat, fontWeight: Font.Weight) -> Font {
   |      `- note: add @available attribute to enclosing global function
32 |     if let fontFamily = customFontFamily, !fontFamily.isEmpty {
33 |         return .custom(fontFamily, fixedSize: fontSize).weight(fontWeight)
34 |     } else {
35 |         return .system(size: fontSize, weight: fontWeight)
   |                 |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                 `- note: add 'if #available' version check
36 |     }
37 | }
[16/16] Compiling SSCoachMarks CoachMarkView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:43:37: error: 'AnyView' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 41 |
 42 |     /// This property allows you to customize the appearance and behaviour of the "Skip" button by assigning any SwiftUI view to it. If `nil`, the default implementation will be used.
 43 |     public var skipCoachMarkButton: AnyView?
    |                                     `- error: 'AnyView' is only available in macOS 10.15 or newer
 44 |
 45 |     /// This property allows you to customize the appearance and behavior of the "Next" button by assigning any SwiftUI view to it. If `nil`, the default implementation will be used.
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:46:35: error: 'AnyView' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 44 |
 45 |     /// This property allows you to customize the appearance and behavior of the "Next" button by assigning any SwiftUI view to it. If `nil`, the default implementation will be used.
 46 |     public var nextButtonContent: AnyView?
    |                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
 47 |
 48 |     /// This property allows you to customize the appearance and behavior of the "Back" button by assigning any SwiftUI view to it. If `nil`, the default implementation will be used.
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:49:35: error: 'AnyView' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 47 |
 48 |     /// This property allows you to customize the appearance and behavior of the "Back" button by assigning any SwiftUI view to it. If `nil`, the default implementation will be used.
 49 |     public var backButtonContent: AnyView?
    |                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
 50 |
 51 |     /// This property allows you to customize the appearance and behavior of the "Done" button by assigning any SwiftUI view to it. If `nil`, the default implementation will be used.
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:52:35: error: 'AnyView' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 50 |
 51 |     /// This property allows you to customize the appearance and behavior of the "Done" button by assigning any SwiftUI view to it. If `nil`, the default implementation will be used.
 52 |     public var doneButtonContent: AnyView?
    |                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
 53 |
 54 |     /// A closure that is called when the coach mark sequence finishes.
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:58:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 56 |
 57 |     /// A Boolean value that determines whether the Coach Mark should be shown. Defaults to `false`.
 58 |     @State var showCoachMark: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 59 |
 60 |     /// An integer value representing the index of the currently highlighted item in the Coach Mark sequence. Defaults to `0`.
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:61:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 59 |
 60 |     /// An integer value representing the index of the currently highlighted item in the Coach Mark sequence. Defaults to `0`.
 61 |     @State var currentHighlight: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 62 |
 63 |     /// A Boolean value that determines whether the Coach Mark should be hidden automatically. Defaults to `true`.
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:64:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 62 |
 63 |     /// A Boolean value that determines whether the Coach Mark should be hidden automatically. Defaults to `true`.
 64 |     @State var hideCoachMark: Bool = true
    |      `- error: 'State' is only available in macOS 10.15 or newer
 65 |
 66 |     /// An array of integers representing the order in which highlights are displayed.
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:67:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 65 |
 66 |     /// An array of integers representing the order in which highlights are displayed.
 67 |     @State private var highlightOrder: [Int] = []
    |      `- error: 'State' is only available in macOS 10.15 or newer
 68 |
 69 |     /// A timer that can be used to control the duration and interval of automatic transitions between coach marks.
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:70:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 68 |
 69 |     /// A timer that can be used to control the duration and interval of automatic transitions between coach marks.
 70 |     @State private var timer: Timer?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 |     /// The height of the text description within the coach mark, used for layout purposes.
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 71 |
 72 |     /// The height of the text description within the coach mark, used for layout purposes.
 73 |     @State private var descriptionTextHeight: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 74 |
 75 |     /// Initializes a new `CoachMarkView` modifier with customizable behavior and appearance.
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:94:30: error: 'AnyView' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 86 |     ///   - doneButtonContent: An optional custom SwiftUI view to replace the default "Done" button.
 87 |     ///   - onCoachMarkFinished: A closure executed when the coach mark sequence is completed. Defaults to an empty closure.
 88 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 89 |         isShowCoachMark: Bool = true,
 90 |         isAutoTransition: Bool = false,
    :
 92 |         coachMarkManager: SSCoachMarkManager = SSCoachMarkManager(),
 93 |         buttonEventsCoordinator: ButtonEventsCoordinator = ButtonEventsCoordinator(),
 94 |         skipCoachMarkButton: AnyView? = nil,
    |                              `- error: 'AnyView' is only available in macOS 10.15 or newer
 95 |         nextButtonContent: AnyView? = nil,
 96 |         backButtonContent: AnyView? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:95:28: error: 'AnyView' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 86 |     ///   - doneButtonContent: An optional custom SwiftUI view to replace the default "Done" button.
 87 |     ///   - onCoachMarkFinished: A closure executed when the coach mark sequence is completed. Defaults to an empty closure.
 88 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 89 |         isShowCoachMark: Bool = true,
 90 |         isAutoTransition: Bool = false,
    :
 93 |         buttonEventsCoordinator: ButtonEventsCoordinator = ButtonEventsCoordinator(),
 94 |         skipCoachMarkButton: AnyView? = nil,
 95 |         nextButtonContent: AnyView? = nil,
    |                            `- error: 'AnyView' is only available in macOS 10.15 or newer
 96 |         backButtonContent: AnyView? = nil,
 97 |         doneButtonContent: AnyView? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:96:28: error: 'AnyView' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 86 |     ///   - doneButtonContent: An optional custom SwiftUI view to replace the default "Done" button.
 87 |     ///   - onCoachMarkFinished: A closure executed when the coach mark sequence is completed. Defaults to an empty closure.
 88 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 89 |         isShowCoachMark: Bool = true,
 90 |         isAutoTransition: Bool = false,
    :
 94 |         skipCoachMarkButton: AnyView? = nil,
 95 |         nextButtonContent: AnyView? = nil,
 96 |         backButtonContent: AnyView? = nil,
    |                            `- error: 'AnyView' is only available in macOS 10.15 or newer
 97 |         doneButtonContent: AnyView? = nil,
 98 |         onCoachMarkFinished: @escaping () -> () = {}
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:97:28: error: 'AnyView' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
 86 |     ///   - doneButtonContent: An optional custom SwiftUI view to replace the default "Done" button.
 87 |     ///   - onCoachMarkFinished: A closure executed when the coach mark sequence is completed. Defaults to an empty closure.
 88 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 89 |         isShowCoachMark: Bool = true,
 90 |         isAutoTransition: Bool = false,
    :
 95 |         nextButtonContent: AnyView? = nil,
 96 |         backButtonContent: AnyView? = nil,
 97 |         doneButtonContent: AnyView? = nil,
    |                            `- error: 'AnyView' is only available in macOS 10.15 or newer
 98 |         onCoachMarkFinished: @escaping () -> () = {}
 99 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:112:48: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:149:62: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
147 |     /// - Returns: A view that highlights the specified area and displays associated content.
148 |     @ViewBuilder
149 |     private func HighlightView(highlight: Highlight) -> some View {
    |                  |                                           `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
150 |         GeometryReader { proxy in
151 |             let highlightRect = proxy[highlight.anchor]
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:148:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
146 |     ///
147 |     /// - Returns: A view that highlights the specified area and displays associated content.
148 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
149 |     private func HighlightView(highlight: Highlight) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
150 |         GeometryReader { proxy in
151 |             let highlightRect = proxy[highlight.anchor]
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:257:79: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
255 |     ///
256 |     /// The popover adapts its layout based on the height of the description text and the available screen space. If the description is too large to fit, it will be presented in a scrollable view. If a custom view is provided in the `Highlight` object, it will be displayed instead of the description. The popover also includes navigation controls for back, skip, next, and done actions if `isAutoTransition` is disabled.
257 |     private func popover(highlight: Highlight, highlightRect: CGRect) -> some View {
    |                  |                                                            `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
258 |
259 |         let customTitleFont = getCustomFont(customFontFamily: configuration.coachMarkTitleViewStyle.fontFamily,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:347:34: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 |                `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:386:72: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:417:38: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
415 |     ///
416 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
417 |     private var backButtonView: some View {
    |                 |                    `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
418 |
419 |         let customBackFont = getCustomFont(customFontFamily: configuration.backButtonStyle.fontFamily,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:438:38: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
436 |     ///
437 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
438 |     private var nextButtonView: some View {
    |                 |                    `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
439 |
440 |         let customNextFont = getCustomFont(customFontFamily: configuration.nextButtonStyle.fontFamily,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:459:38: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
457 |     ///
458 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
459 |     private var skipButtonView: some View {
    |                 |                    `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
460 |
461 |         let customNextFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:482:38: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
480 |     ///
481 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action includes an animation to hide the coach mark and calls a completion handler.
482 |     private var doneButtonView: some View {
    |                 |                    `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
483 |
484 |         let customDoneFont = getCustomFont(customFontFamily: configuration.doneButtonStyle.fontFamily,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:576:50: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
573 |     ///   ```
574 |     ///   In this example, the "Next" button will have the text "Proceed", a white foreground color, a blue background, a font size of 14, and bold weight.
575 |     public func nextButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
576 |                                 foregroundStyle: Color? = nil,
    |                                                  `- error: 'Color' is only available in macOS 10.15 or newer
577 |                                 backgroundColor: Color? = nil,
578 |                                 fontSize: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:577:50: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
573 |     ///   ```
574 |     ///   In this example, the "Next" button will have the text "Proceed", a white foreground color, a blue background, a font size of 14, and bold weight.
575 |     public func nextButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
576 |                                 foregroundStyle: Color? = nil,
577 |                                 backgroundColor: Color? = nil,
    |                                                  `- error: 'Color' is only available in macOS 10.15 or newer
578 |                                 fontSize: CGFloat? = nil,
579 |                                 fontFamily: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:580:45: error: 'Font' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
573 |     ///   ```
574 |     ///   In this example, the "Next" button will have the text "Proceed", a white foreground color, a blue background, a font size of 14, and bold weight.
575 |     public func nextButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
576 |                                 foregroundStyle: Color? = nil,
577 |                                 backgroundColor: Color? = nil,
578 |                                 fontSize: CGFloat? = nil,
579 |                                 fontFamily: String? = nil,
580 |                                 fontWeight: Font.Weight? = nil) -> CoachMarkView {
    |                                             `- error: 'Font' is only available in macOS 10.15 or newer
581 |         var coachMark = self
582 |         buttonText.map { coachMark.configuration.nextButtonStyle.buttonText = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:616:50: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
613 |     ///   ```
614 |     ///   In this example, the "Back" button will have the text "Previous", a white foreground color, a gray background, a font size of 14, and regular weight.
615 |     public func backButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
616 |                                 foregroundStyle: Color? = nil,
    |                                                  `- error: 'Color' is only available in macOS 10.15 or newer
617 |                                 backgroundColor: Color? = nil,
618 |                                 fontSize: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:617:50: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
613 |     ///   ```
614 |     ///   In this example, the "Back" button will have the text "Previous", a white foreground color, a gray background, a font size of 14, and regular weight.
615 |     public func backButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
616 |                                 foregroundStyle: Color? = nil,
617 |                                 backgroundColor: Color? = nil,
    |                                                  `- error: 'Color' is only available in macOS 10.15 or newer
618 |                                 fontSize: CGFloat? = nil,
619 |                                 fontFamily: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:620:45: error: 'Font' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
613 |     ///   ```
614 |     ///   In this example, the "Back" button will have the text "Previous", a white foreground color, a gray background, a font size of 14, and regular weight.
615 |     public func backButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
616 |                                 foregroundStyle: Color? = nil,
617 |                                 backgroundColor: Color? = nil,
618 |                                 fontSize: CGFloat? = nil,
619 |                                 fontFamily: String? = nil,
620 |                                 fontWeight: Font.Weight? = nil) -> CoachMarkView {
    |                                             `- error: 'Font' is only available in macOS 10.15 or newer
621 |         var coachMark = self
622 |         buttonText.map { coachMark.configuration.backButtonStyle.buttonText = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:656:50: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
653 |     ///   ```
654 |     ///   In this example, the "Done" button will have the text "Finish", a white foreground color, a green background, a font size of 16, and bold weight.
655 |     public func doneButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
656 |                                 foregroundStyle: Color? = nil,
    |                                                  `- error: 'Color' is only available in macOS 10.15 or newer
657 |                                 backgroundColor: Color? = nil,
658 |                                 fontSize: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:657:50: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
653 |     ///   ```
654 |     ///   In this example, the "Done" button will have the text "Finish", a white foreground color, a green background, a font size of 16, and bold weight.
655 |     public func doneButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
656 |                                 foregroundStyle: Color? = nil,
657 |                                 backgroundColor: Color? = nil,
    |                                                  `- error: 'Color' is only available in macOS 10.15 or newer
658 |                                 fontSize: CGFloat? = nil,
659 |                                 fontFamily: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:660:45: error: 'Font' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
653 |     ///   ```
654 |     ///   In this example, the "Done" button will have the text "Finish", a white foreground color, a green background, a font size of 16, and bold weight.
655 |     public func doneButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
656 |                                 foregroundStyle: Color? = nil,
657 |                                 backgroundColor: Color? = nil,
658 |                                 fontSize: CGFloat? = nil,
659 |                                 fontFamily: String? = nil,
660 |                                 fontWeight: Font.Weight? = nil) -> CoachMarkView {
    |                                             `- error: 'Font' is only available in macOS 10.15 or newer
661 |         var coachMark = self
662 |         buttonText.map { coachMark.configuration.doneButtonStyle.buttonText = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:696:59: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
693 |     ///   ```
694 |     ///   In this example, the "Skip CoachMark" button will have the text "Skip Now", a black foreground color, a yellow background, a font size of 18, and bold weight.
695 |     public func skipCoachMarkButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
696 |                                          foregroundStyle: Color? = nil,
    |                                                           `- error: 'Color' is only available in macOS 10.15 or newer
697 |                                          backgroundColor: Color? = nil,
698 |                                          fontSize: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:697:59: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
693 |     ///   ```
694 |     ///   In this example, the "Skip CoachMark" button will have the text "Skip Now", a black foreground color, a yellow background, a font size of 18, and bold weight.
695 |     public func skipCoachMarkButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
696 |                                          foregroundStyle: Color? = nil,
697 |                                          backgroundColor: Color? = nil,
    |                                                           `- error: 'Color' is only available in macOS 10.15 or newer
698 |                                          fontSize: CGFloat? = nil,
699 |                                          fontFamily: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:700:54: error: 'Font' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
693 |     ///   ```
694 |     ///   In this example, the "Skip CoachMark" button will have the text "Skip Now", a black foreground color, a yellow background, a font size of 18, and bold weight.
695 |     public func skipCoachMarkButtonStyle(buttonText: String? = nil,
    |                 `- note: add @available attribute to enclosing instance method
696 |                                          foregroundStyle: Color? = nil,
697 |                                          backgroundColor: Color? = nil,
698 |                                          fontSize: CGFloat? = nil,
699 |                                          fontFamily: String? = nil,
700 |                                          fontWeight: Font.Weight? = nil) -> CoachMarkView {
    |                                                      `- error: 'Font' is only available in macOS 10.15 or newer
701 |         var coachMark = self
702 |         buttonText.map { coachMark.configuration.skipCoachMarkButtonStyle.buttonText = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:732:58: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
730 |     ///   ```
731 |     ///   In this example, the title in the coach mark view will have blue text, a font size of 24, Arial font, and bold weight.
732 |     public func coachMarkTitleViewStyle(foregroundStyle: Color? = nil,
    |                 |                                        `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
733 |                                         fontSize: CGFloat? = nil,
734 |                                         fontFamily: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:735:53: error: 'Font' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
730 |     ///   ```
731 |     ///   In this example, the title in the coach mark view will have blue text, a font size of 24, Arial font, and bold weight.
732 |     public func coachMarkTitleViewStyle(foregroundStyle: Color? = nil,
    |                 `- note: add @available attribute to enclosing instance method
733 |                                         fontSize: CGFloat? = nil,
734 |                                         fontFamily: String? = nil,
735 |                                         fontWeight: Font.Weight? = nil) -> CoachMarkView {
    |                                                     `- error: 'Font' is only available in macOS 10.15 or newer
736 |         var coachMark = self
737 |         foregroundStyle.map { coachMark.configuration.coachMarkTitleViewStyle.foregroundStyle = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:766:64: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
764 |     ///   ```
765 |     ///   In this example, the description in the coach mark view will have gray text, a font size of 16, Helvetica font, and regular weight.
766 |     public func coachMarkDescriptionViewStyle(foregroundStyle: Color? = nil,
    |                 |                                              `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
767 |                                               fontSize: CGFloat? = nil,
768 |                                               fontFamily: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:769:59: error: 'Font' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
764 |     ///   ```
765 |     ///   In this example, the description in the coach mark view will have gray text, a font size of 16, Helvetica font, and regular weight.
766 |     public func coachMarkDescriptionViewStyle(foregroundStyle: Color? = nil,
    |                 `- note: add @available attribute to enclosing instance method
767 |                                               fontSize: CGFloat? = nil,
768 |                                               fontFamily: String? = nil,
769 |                                               fontWeight: Font.Weight? = nil) -> CoachMarkView {
    |                                                           `- error: 'Font' is only available in macOS 10.15 or newer
770 |         var coachMark = self
771 |         foregroundStyle.map { coachMark.configuration.coachMarkDescriptionViewStyle.foregroundStyle = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:795:44: error: 'Color' is only available in macOS 10.15 or newer
546 |
547 | // MARK: - Modifiers
548 | extension CoachMarkView {
    | `- note: add @available attribute to enclosing extension
549 |
550 |     /// Configures the style of the "Next" button in the coach mark.
    :
793 |     ///   ```
794 |     ///   In this example, the coach mark view will have a black overlay with 50% opacity.
795 |     public func overlayStyle(overlayColor: Color? = nil,
    |                 |                          `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
796 |                              overlayOpacity: Double? = nil) -> CoachMarkView {
797 |         var coachMark = self
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:114:14: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
    |              |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
115 |                 highlightOrder = Array(value.keys).sorted()
116 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:115:17: error: setter for 'highlightOrder' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
115 |                 highlightOrder = Array(value.keys).sorted()
    |                 |- error: setter for 'highlightOrder' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
116 |             }
117 |             .overlayPreferenceValue(HighlightAnchorKey.self) { preference in
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:117:14: error: 'overlayPreferenceValue(_:alignment:_:)' is only available in macOS 13.0 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
115 |                 highlightOrder = Array(value.keys).sorted()
116 |             }
117 |             .overlayPreferenceValue(HighlightAnchorKey.self) { preference in
    |              |- error: 'overlayPreferenceValue(_:alignment:_:)' is only available in macOS 13.0 or newer
    |              `- note: add 'if #available' version check
118 |                 if highlightOrder.indices.contains(currentHighlight), isShowCoachMark, hideCoachMark {
119 |                     if let highlight = preference[highlightOrder[currentHighlight]] {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:119:85: error: 'buildIf' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
    :
117 |             .overlayPreferenceValue(HighlightAnchorKey.self) { preference in
118 |                 if highlightOrder.indices.contains(currentHighlight), isShowCoachMark, hideCoachMark {
119 |                     if let highlight = preference[highlightOrder[currentHighlight]] {
    |                                                                                     |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                                     `- note: add 'if #available' version check
120 |                         HighlightView(highlight: highlight)
121 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:121:21: error: 'buildIf' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
    :
119 |                     if let highlight = preference[highlightOrder[currentHighlight]] {
120 |                         HighlightView(highlight: highlight)
121 |                     }
    |                     |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
122 |                 }
123 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:118:102: error: 'buildIf' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
    :
116 |             }
117 |             .overlayPreferenceValue(HighlightAnchorKey.self) { preference in
118 |                 if highlightOrder.indices.contains(currentHighlight), isShowCoachMark, hideCoachMark {
    |                                                                                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                                                      `- note: add 'if #available' version check
119 |                     if let highlight = preference[highlightOrder[currentHighlight]] {
120 |                         HighlightView(highlight: highlight)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:118:102: 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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
    :
116 |             }
117 |             .overlayPreferenceValue(HighlightAnchorKey.self) { preference in
118 |                 if highlightOrder.indices.contains(currentHighlight), isShowCoachMark, hideCoachMark {
    |                                                                                                      |- 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
119 |                     if let highlight = preference[highlightOrder[currentHighlight]] {
120 |                         HighlightView(highlight: highlight)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:122:17: error: 'buildIf' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
    :
120 |                         HighlightView(highlight: highlight)
121 |                     }
122 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
123 |             }
124 |             .onReceive(buttonEventsCoordinator.publisher(for: .next)) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:117:62: 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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
115 |                 highlightOrder = Array(value.keys).sorted()
116 |             }
117 |             .overlayPreferenceValue(HighlightAnchorKey.self) { preference in
    |                                                              |- 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
118 |                 if highlightOrder.indices.contains(currentHighlight), isShowCoachMark, hideCoachMark {
119 |                     if let highlight = preference[highlightOrder[currentHighlight]] {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:124:14: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
    :
122 |                 }
123 |             }
124 |             .onReceive(buttonEventsCoordinator.publisher(for: .next)) {
    |              |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
125 |                 nextButtonAction()
126 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:127:14: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
    :
125 |                 nextButtonAction()
126 |             }
127 |             .onReceive(buttonEventsCoordinator.publisher(for: .back)) {
    |              |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
128 |                 backButtonAction()
129 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:130:14: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
    :
128 |                 backButtonAction()
129 |             }
130 |             .onReceive(buttonEventsCoordinator.publisher(for: .done)) {
    |              |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
131 |                 finishCoachMark()
132 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:133:14: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
110 |     }
111 |
112 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
113 |         content
114 |             .onPreferenceChange(HighlightAnchorKey.self) { value in
    :
131 |                 finishCoachMark()
132 |             }
133 |             .onReceive(buttonEventsCoordinator.publisher(for: .skip)) {
    |              |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
134 |                 finishCoachMark()
135 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:203:56: error: cannot find 'UIApplication' in scope
201 |                             .onAppear {
202 |                                 DispatchQueue.main.async {
203 |                                     if let keyWindow = UIApplication.shared.connectedScenes
    |                                                        `- error: cannot find 'UIApplication' in scope
204 |                                         .compactMap({ $0 as? UIWindowScene })
205 |                                         .flatMap({ $0.windows })
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:209:89: error: cannot find 'UIColor' in scope
207 |
208 |                                         if let uiVisualEffectContentView = keyWindow.findUIVisualEffectContentView() {
209 |                                             uiVisualEffectContentView.backgroundColor = UIColor(highlight.coachMarkBackGroundColor)
    |                                                                                         `- error: cannot find 'UIColor' in scope
210 |                                         } else {
211 |                                             print("uiVisualEffectContentView view not found")
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:204:62: error: cannot find type 'UIWindowScene' in scope
202 |                                 DispatchQueue.main.async {
203 |                                     if let keyWindow = UIApplication.shared.connectedScenes
204 |                                         .compactMap({ $0 as? UIWindowScene })
    |                                                              `- error: cannot find type 'UIWindowScene' in scope
205 |                                         .flatMap({ $0.windows })
206 |                                         .first(where: { $0.isKeyWindow }) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:236:9: error: setter for 'timer' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
232 |     ///
233 |     /// This function stops any existing timer and then starts a new timer with a duration specified by `autoTransitionDuration`. When the timer fires, it advances to the next coach mark in the sequence. If the current highlight is the last one, it hides the coach marks and calls `onCoachMarkFinished()`. Otherwise, it transitions to the next highlight with a brief delay to show the coach mark again.
234 |     private func startTimer() {
    |                  `- note: add @available attribute to enclosing instance method
235 |         stopTimer()
236 |         timer = Timer.scheduledTimer(withTimeInterval: autoTransitionDuration, repeats: false) { _ in
    |         |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
237 |             withAnimation {
238 |                 if currentHighlight >= highlightOrder.count - 1 {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:237:13: error: 'withAnimation' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
232 |     ///
233 |     /// This function stops any existing timer and then starts a new timer with a duration specified by `autoTransitionDuration`. When the timer fires, it advances to the next coach mark in the sequence. If the current highlight is the last one, it hides the coach marks and calls `onCoachMarkFinished()`. Otherwise, it transitions to the next highlight with a brief delay to show the coach mark again.
234 |     private func startTimer() {
    |                  `- note: add @available attribute to enclosing instance method
235 |         stopTimer()
236 |         timer = Timer.scheduledTimer(withTimeInterval: autoTransitionDuration, repeats: false) { _ in
237 |             withAnimation {
    |             |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
238 |                 if currentHighlight >= highlightOrder.count - 1 {
239 |                     finishCoachMark()
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:272:48: error: cannot find 'UIScreen' in scope
270 |                         .foregroundStyle(configuration.coachMarkTitleViewStyle.foregroundStyle)
271 |
272 |                     if descriptionTextHeight > UIScreen.main.bounds.height - highlightRect.maxY - Constants.scrollViewOffset || descriptionTextHeight > UIScreen.main.bounds.height {
    |                                                `- error: cannot find 'UIScreen' in scope
273 |                         ScrollView {
274 |                             coachMarkDescriptionView(description: description)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:272:153: error: cannot find 'UIScreen' in scope
270 |                         .foregroundStyle(configuration.coachMarkTitleViewStyle.foregroundStyle)
271 |
272 |                     if descriptionTextHeight > UIScreen.main.bounds.height - highlightRect.maxY - Constants.scrollViewOffset || descriptionTextHeight > UIScreen.main.bounds.height {
    |                                                                                                                                                         `- error: cannot find 'UIScreen' in scope
273 |                         ScrollView {
274 |                             coachMarkDescriptionView(description: description)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:277:99: error: cannot find 'UIScreen' in scope
275 |                         }
276 |                     } else {
277 |                         if descriptionTextHeight >= highlightRect.maxY && descriptionTextHeight > UIScreen.main.bounds.height {
    |                                                                                                   `- error: cannot find 'UIScreen' in scope
278 |                             ScrollView {
279 |                                 coachMarkDescriptionView(description: description)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:337:9: error: setter for 'timer' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
333 |     ///
334 |     /// This function invalidates and clears the timer, preventing any scheduled automatic transitions from occurring.
335 |     private func stopTimer() {
    |                  `- note: add @available attribute to enclosing instance method
336 |         timer?.invalidate()
337 |         timer = nil
    |         |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
338 |     }
339 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:353:16: error: 'ZStack' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
351 |                                                     fontWeight: configuration.skipCoachMarkButtonStyle.fontWeight)
352 |
353 |         return ZStack {
    |                |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
354 |             VStack {
355 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:354:13: error: 'VStack' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
352 |
353 |         return ZStack {
354 |             VStack {
    |             |- error: 'VStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
355 |                 Spacer()
356 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:355: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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
353 |         return ZStack {
354 |             VStack {
355 |                 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
356 |                 HStack {
357 |                     if let skipButton = skipCoachMarkButton {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:355:17: error: 'Spacer' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
353 |         return ZStack {
354 |             VStack {
355 |                 Spacer()
    |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
356 |                 HStack {
357 |                     if let skipButton = skipCoachMarkButton {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:356:17: error: 'HStack' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
354 |             VStack {
355 |                 Spacer()
356 |                 HStack {
    |                 |- error: 'HStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
357 |                     if let skipButton = skipCoachMarkButton {
358 |                         skipButton
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:359:30: error: 'padding' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
357 |                     if let skipButton = skipCoachMarkButton {
358 |                         skipButton
359 |                             .padding(.leading, 20)
    |                              |- error: 'padding' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
360 |                     } else {
361 |                         Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:357:61: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
355 |                 Spacer()
356 |                 HStack {
357 |                     if let skipButton = skipCoachMarkButton {
    |                                                             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                             `- note: add 'if #available' version check
358 |                         skipButton
359 |                             .padding(.leading, 20)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:361:25: error: 'Button' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
359 |                             .padding(.leading, 20)
360 |                     } else {
361 |                         Button(action: {
    |                         |- error: 'Button' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
362 |                             finishCoachMark()
363 |                         }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:364:29: error: 'Text' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
362 |                             finishCoachMark()
363 |                         }, label: {
364 |                             Text(configuration.skipCoachMarkButtonStyle.buttonText)
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
365 |                                 .tint(configuration.skipCoachMarkButtonStyle.foregroundStyle)
366 |                                 .font(customSkipCoachMarkFont)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:365:34: error: 'tint' is only available in macOS 12.0 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
363 |                         }, label: {
364 |                             Text(configuration.skipCoachMarkButtonStyle.buttonText)
365 |                                 .tint(configuration.skipCoachMarkButtonStyle.foregroundStyle)
    |                                  |- error: 'tint' is only available in macOS 12.0 or newer
    |                                  `- note: add 'if #available' version check
366 |                                 .font(customSkipCoachMarkFont)
367 |                                 .padding(15)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:366:34: error: 'font' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
364 |                             Text(configuration.skipCoachMarkButtonStyle.buttonText)
365 |                                 .tint(configuration.skipCoachMarkButtonStyle.foregroundStyle)
366 |                                 .font(customSkipCoachMarkFont)
    |                                  |- error: 'font' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
367 |                                 .padding(15)
368 |                                 .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:367:34: error: 'padding' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
365 |                                 .tint(configuration.skipCoachMarkButtonStyle.foregroundStyle)
366 |                                 .font(customSkipCoachMarkFont)
367 |                                 .padding(15)
    |                                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
368 |                                 .bold()
369 |                                 .background(configuration.skipCoachMarkButtonStyle.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:368:34: error: 'bold' is only available in macOS 13.0 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
366 |                                 .font(customSkipCoachMarkFont)
367 |                                 .padding(15)
368 |                                 .bold()
    |                                  |- error: 'bold' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
369 |                                 .background(configuration.skipCoachMarkButtonStyle.backgroundColor)
370 |                                 .cornerRadius(25)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:369:34: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
367 |                                 .padding(15)
368 |                                 .bold()
369 |                                 .background(configuration.skipCoachMarkButtonStyle.backgroundColor)
    |                                  |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |                                  `- note: add 'if #available' version check
370 |                                 .cornerRadius(25)
371 |                                 .padding(.leading, 20)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:370:34: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
368 |                                 .bold()
369 |                                 .background(configuration.skipCoachMarkButtonStyle.backgroundColor)
370 |                                 .cornerRadius(25)
    |                                  |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
371 |                                 .padding(.leading, 20)
372 |                         })
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:371:34: error: 'padding' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
369 |                                 .background(configuration.skipCoachMarkButtonStyle.backgroundColor)
370 |                                 .cornerRadius(25)
371 |                                 .padding(.leading, 20)
    |                                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
372 |                         })
373 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:360:28: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
358 |                         skipButton
359 |                             .padding(.leading, 20)
360 |                     } else {
    |                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
361 |                         Button(action: {
362 |                             finishCoachMark()
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:374:21: 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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
372 |                         })
373 |                     }
374 |                     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
375 |                 }
376 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:374:21: error: 'Spacer' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
372 |                         })
373 |                     }
374 |                     Spacer()
    |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
375 |                 }
376 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:356:24: 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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
354 |             VStack {
355 |                 Spacer()
356 |                 HStack {
    |                        |- 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
357 |                     if let skipButton = skipCoachMarkButton {
358 |                         skipButton
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:356:24: 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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
354 |             VStack {
355 |                 Spacer()
356 |                 HStack {
    |                        |- 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
357 |                     if let skipButton = skipCoachMarkButton {
358 |                         skipButton
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:354: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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
345 |     ///
346 |     /// - Returns: A `ZStack` containing a `VStack` and `HStack` that arranges the button with custom styling.
347 |     private var skipButton: some View {
    |                 `- note: add @available attribute to enclosing property
348 |
349 |         let customSkipCoachMarkFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
352 |
353 |         return ZStack {
354 |             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
355 |                 Spacer()
356 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:392:16: error: 'Text' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
390 |                                                   fontWeight: configuration.coachMarkDescriptionViewStyle.fontWeight)
391 |
392 |         return Text(description)
    |                |- error: 'Text' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
393 |             .overlay(
394 |                 GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:393:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
391 |
392 |         return Text(description)
393 |             .overlay(
    |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
394 |                 GeometryReader { proxy in
395 |                     Color.clear.preference(key: ContentLengthPreference.self, value: proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:394:17: error: 'GeometryReader' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
392 |         return Text(description)
393 |             .overlay(
394 |                 GeometryReader { proxy in
    |                 |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
395 |                     Color.clear.preference(key: ContentLengthPreference.self, value: proxy.size.height)
396 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:395:21: error: 'Color' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
393 |             .overlay(
394 |                 GeometryReader { proxy in
395 |                     Color.clear.preference(key: ContentLengthPreference.self, value: proxy.size.height)
    |                     |- error: 'Color' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
396 |                 }
397 |             )
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:395:27: error: 'clear' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
393 |             .overlay(
394 |                 GeometryReader { proxy in
395 |                     Color.clear.preference(key: ContentLengthPreference.self, value: proxy.size.height)
    |                           |- error: 'clear' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
396 |                 }
397 |             )
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:395:33: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
393 |             .overlay(
394 |                 GeometryReader { proxy in
395 |                     Color.clear.preference(key: ContentLengthPreference.self, value: proxy.size.height)
    |                                 |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
396 |                 }
397 |             )
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:398:14: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
396 |                 }
397 |             )
398 |             .onPreferenceChange(ContentLengthPreference.self) { value in
    |              |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
399 |                 DispatchQueue.main.async {
400 |                     self.descriptionTextHeight = value
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:400:21: error: setter for 'descriptionTextHeight' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
398 |             .onPreferenceChange(ContentLengthPreference.self) { value in
399 |                 DispatchQueue.main.async {
400 |                     self.descriptionTextHeight = value
    |                     |- error: setter for 'descriptionTextHeight' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
401 |                 }
402 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:403:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
401 |                 }
402 |             }
403 |             .fixedSize(horizontal: false, vertical: true)
    |              |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
404 |             .padding(.horizontal, 10)
405 |             .foregroundStyle(configuration.coachMarkDescriptionViewStyle.foregroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:404:14: error: 'padding' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
402 |             }
403 |             .fixedSize(horizontal: false, vertical: true)
404 |             .padding(.horizontal, 10)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
405 |             .foregroundStyle(configuration.coachMarkDescriptionViewStyle.foregroundStyle)
406 |             .frame(height: descriptionTextHeight)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:405:14: error: 'foregroundStyle' is only available in macOS 12.0 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
403 |             .fixedSize(horizontal: false, vertical: true)
404 |             .padding(.horizontal, 10)
405 |             .foregroundStyle(configuration.coachMarkDescriptionViewStyle.foregroundStyle)
    |              |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
406 |             .frame(height: descriptionTextHeight)
407 |             .font(customDescriptionFont)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:406:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
404 |             .padding(.horizontal, 10)
405 |             .foregroundStyle(configuration.coachMarkDescriptionViewStyle.foregroundStyle)
406 |             .frame(height: descriptionTextHeight)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
407 |             .font(customDescriptionFont)
408 |             .padding(.bottom, isAutoTransition ? 10 : 0)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:407:14: error: 'font' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
405 |             .foregroundStyle(configuration.coachMarkDescriptionViewStyle.foregroundStyle)
406 |             .frame(height: descriptionTextHeight)
407 |             .font(customDescriptionFont)
    |              |- error: 'font' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
408 |             .padding(.bottom, isAutoTransition ? 10 : 0)
409 |             .interactiveDismissDisabled()
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:408:14: error: 'padding' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
406 |             .frame(height: descriptionTextHeight)
407 |             .font(customDescriptionFont)
408 |             .padding(.bottom, isAutoTransition ? 10 : 0)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
409 |             .interactiveDismissDisabled()
410 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:409:14: error: 'interactiveDismissDisabled' is only available in macOS 12.0 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
384 |     /// - Parameter description: The text to display in the description view.
385 |     /// - Returns: A `Text` view styled with the provided description and custom font, with dynamic height adjustment and additional styling for padding and frame configuration.
386 |     private func coachMarkDescriptionView(description: String) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
387 |
388 |         let customDescriptionFont = getCustomFont(customFontFamily: configuration.coachMarkDescriptionViewStyle.fontFamily,
    :
407 |             .font(customDescriptionFont)
408 |             .padding(.bottom, isAutoTransition ? 10 : 0)
409 |             .interactiveDismissDisabled()
    |              |- error: 'interactiveDismissDisabled' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
410 |     }
411 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:423:16: error: 'Button' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
415 |     ///
416 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
417 |     private var backButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
418 |
419 |         let customBackFont = getCustomFont(customFontFamily: configuration.backButtonStyle.fontFamily,
    :
421 |                                            fontWeight: configuration.backButtonStyle.fontWeight)
422 |
423 |         return Button(action: {
    |                |- error: 'Button' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
424 |             backButtonAction()
425 |         }) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:426:13: error: 'Text' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
415 |     ///
416 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
417 |     private var backButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
418 |
419 |         let customBackFont = getCustomFont(customFontFamily: configuration.backButtonStyle.fontFamily,
    :
424 |             backButtonAction()
425 |         }) {
426 |             Text(configuration.backButtonStyle.buttonText)
    |             |- error: 'Text' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
427 |                 .unFilledButtonTextModifier(foregroundStyle: configuration.backButtonStyle.foregroundStyle, font: customBackFont)
428 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:427:18: 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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
415 |     ///
416 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
417 |     private var backButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
418 |
419 |         let customBackFont = getCustomFont(customFontFamily: configuration.backButtonStyle.fontFamily,
    :
425 |         }) {
426 |             Text(configuration.backButtonStyle.buttonText)
427 |                 .unFilledButtonTextModifier(foregroundStyle: configuration.backButtonStyle.foregroundStyle, font: customBackFont)
    |                  |- 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
428 |         }
429 |         .background(configuration.backButtonStyle.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:429:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
415 |     ///
416 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
417 |     private var backButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
418 |
419 |         let customBackFont = getCustomFont(customFontFamily: configuration.backButtonStyle.fontFamily,
    :
427 |                 .unFilledButtonTextModifier(foregroundStyle: configuration.backButtonStyle.foregroundStyle, font: customBackFont)
428 |         }
429 |         .background(configuration.backButtonStyle.backgroundColor)
    |          |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |          `- note: add 'if #available' version check
430 |         .cornerRadius(10)
431 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:430:10: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
415 |     ///
416 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
417 |     private var backButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
418 |
419 |         let customBackFont = getCustomFont(customFontFamily: configuration.backButtonStyle.fontFamily,
    :
428 |         }
429 |         .background(configuration.backButtonStyle.backgroundColor)
430 |         .cornerRadius(10)
    |          |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
431 |     }
432 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:444:16: error: 'Button' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
436 |     ///
437 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
438 |     private var nextButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
439 |
440 |         let customNextFont = getCustomFont(customFontFamily: configuration.nextButtonStyle.fontFamily,
    :
442 |                                            fontWeight: configuration.nextButtonStyle.fontWeight)
443 |
444 |         return Button(action: {
    |                |- error: 'Button' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
445 |             nextButtonAction()
446 |         }) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:447:13: error: 'Text' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
436 |     ///
437 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
438 |     private var nextButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
439 |
440 |         let customNextFont = getCustomFont(customFontFamily: configuration.nextButtonStyle.fontFamily,
    :
445 |             nextButtonAction()
446 |         }) {
447 |             Text(configuration.nextButtonStyle.buttonText)
    |             |- error: 'Text' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
448 |                 .filledButtonTextModifier(foregroundStyle: configuration.nextButtonStyle.foregroundStyle, font: customNextFont)
449 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:448:18: 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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
436 |     ///
437 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
438 |     private var nextButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
439 |
440 |         let customNextFont = getCustomFont(customFontFamily: configuration.nextButtonStyle.fontFamily,
    :
446 |         }) {
447 |             Text(configuration.nextButtonStyle.buttonText)
448 |                 .filledButtonTextModifier(foregroundStyle: configuration.nextButtonStyle.foregroundStyle, font: customNextFont)
    |                  |- 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
449 |         }
450 |         .background(configuration.nextButtonStyle.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:450:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
436 |     ///
437 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
438 |     private var nextButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
439 |
440 |         let customNextFont = getCustomFont(customFontFamily: configuration.nextButtonStyle.fontFamily,
    :
448 |                 .filledButtonTextModifier(foregroundStyle: configuration.nextButtonStyle.foregroundStyle, font: customNextFont)
449 |         }
450 |         .background(configuration.nextButtonStyle.backgroundColor)
    |          |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |          `- note: add 'if #available' version check
451 |         .cornerRadius(10)
452 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:451:10: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
436 |     ///
437 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
438 |     private var nextButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
439 |
440 |         let customNextFont = getCustomFont(customFontFamily: configuration.nextButtonStyle.fontFamily,
    :
449 |         }
450 |         .background(configuration.nextButtonStyle.backgroundColor)
451 |         .cornerRadius(10)
    |          |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
452 |     }
453 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:465:16: error: 'Button' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
457 |     ///
458 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
459 |     private var skipButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
460 |
461 |         let customNextFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
463 |                                            fontWeight: configuration.skipCoachMarkButtonStyle.fontWeight)
464 |
465 |         return Button(action: {
    |                |- error: 'Button' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
466 |             finishCoachMark()
467 |         }) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:468:13: error: 'Text' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
457 |     ///
458 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
459 |     private var skipButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
460 |
461 |         let customNextFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
466 |             finishCoachMark()
467 |         }) {
468 |             Text(configuration.skipCoachMarkButtonStyle.buttonText)
    |             |- error: 'Text' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
469 |                 .filledButtonTextModifier(foregroundStyle: configuration.skipCoachMarkButtonStyle.foregroundStyle, font: customNextFont)
470 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:469:18: 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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
457 |     ///
458 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
459 |     private var skipButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
460 |
461 |         let customNextFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
467 |         }) {
468 |             Text(configuration.skipCoachMarkButtonStyle.buttonText)
469 |                 .filledButtonTextModifier(foregroundStyle: configuration.skipCoachMarkButtonStyle.foregroundStyle, font: customNextFont)
    |                  |- 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
470 |         }
471 |         .background(configuration.skipCoachMarkButtonStyle.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:471:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
457 |     ///
458 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
459 |     private var skipButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
460 |
461 |         let customNextFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
469 |                 .filledButtonTextModifier(foregroundStyle: configuration.skipCoachMarkButtonStyle.foregroundStyle, font: customNextFont)
470 |         }
471 |         .background(configuration.skipCoachMarkButtonStyle.backgroundColor)
    |          |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |          `- note: add 'if #available' version check
472 |         .cornerRadius(10)
473 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:472:10: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
457 |     ///
458 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action updates the coach mark visibility and highlight index with a delay.
459 |     private var skipButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
460 |
461 |         let customNextFont = getCustomFont(customFontFamily: configuration.skipCoachMarkButtonStyle.fontFamily,
    :
470 |         }
471 |         .background(configuration.skipCoachMarkButtonStyle.backgroundColor)
472 |         .cornerRadius(10)
    |          |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
473 |     }
474 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:488:16: error: 'Button' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
480 |     ///
481 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action includes an animation to hide the coach mark and calls a completion handler.
482 |     private var doneButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
483 |
484 |         let customDoneFont = getCustomFont(customFontFamily: configuration.doneButtonStyle.fontFamily,
    :
486 |                                            fontWeight: configuration.doneButtonStyle.fontWeight)
487 |
488 |         return Button(action: {
    |                |- error: 'Button' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
489 |             finishCoachMark()
490 |         }) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:491:13: error: 'Text' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
480 |     ///
481 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action includes an animation to hide the coach mark and calls a completion handler.
482 |     private var doneButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
483 |
484 |         let customDoneFont = getCustomFont(customFontFamily: configuration.doneButtonStyle.fontFamily,
    :
489 |             finishCoachMark()
490 |         }) {
491 |             Text(configuration.doneButtonStyle.buttonText)
    |             |- error: 'Text' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
492 |                 .filledButtonTextModifier(foregroundStyle: configuration.doneButtonStyle.foregroundStyle, font: customDoneFont)
493 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:492:18: 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
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
480 |     ///
481 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action includes an animation to hide the coach mark and calls a completion handler.
482 |     private var doneButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
483 |
484 |         let customDoneFont = getCustomFont(customFontFamily: configuration.doneButtonStyle.fontFamily,
    :
490 |         }) {
491 |             Text(configuration.doneButtonStyle.buttonText)
492 |                 .filledButtonTextModifier(foregroundStyle: configuration.doneButtonStyle.foregroundStyle, font: customDoneFont)
    |                  |- 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
493 |         }
494 |         .background(configuration.doneButtonStyle.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:494:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
480 |     ///
481 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action includes an animation to hide the coach mark and calls a completion handler.
482 |     private var doneButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
483 |
484 |         let customDoneFont = getCustomFont(customFontFamily: configuration.doneButtonStyle.fontFamily,
    :
492 |                 .filledButtonTextModifier(foregroundStyle: configuration.doneButtonStyle.foregroundStyle, font: customDoneFont)
493 |         }
494 |         .background(configuration.doneButtonStyle.backgroundColor)
    |          |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |          `- note: add 'if #available' version check
495 |         .cornerRadius(10)
496 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:495:10: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
480 |     ///
481 |     /// - Returns: A `Button` view styled with custom font properties, background color, and corner radius. The button’s action includes an animation to hide the coach mark and calls a completion handler.
482 |     private var doneButtonView: some View {
    |                 `- note: add @available attribute to enclosing property
483 |
484 |         let customDoneFont = getCustomFont(customFontFamily: configuration.doneButtonStyle.fontFamily,
    :
493 |         }
494 |         .background(configuration.doneButtonStyle.backgroundColor)
495 |         .cornerRadius(10)
    |          |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
496 |     }
497 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:509:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
506 |     ///
507 |     /// The delay and animation duration are hardcoded in the function.
508 |     private func nextButtonAction() {
    |                  `- note: add @available attribute to enclosing instance method
509 |         withAnimation(.easeOut(duration: Constants.buttonClickedAnimationDelay)) {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
510 |             showCoachMark = false
511 |             currentHighlight += 1
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:509:24: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
506 |     ///
507 |     /// The delay and animation duration are hardcoded in the function.
508 |     private func nextButtonAction() {
    |                  `- note: add @available attribute to enclosing instance method
509 |         withAnimation(.easeOut(duration: Constants.buttonClickedAnimationDelay)) {
    |                        |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
510 |             showCoachMark = false
511 |             currentHighlight += 1
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:510:13: error: setter for 'showCoachMark' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
506 |     ///
507 |     /// The delay and animation duration are hardcoded in the function.
508 |     private func nextButtonAction() {
    |                  `- note: add @available attribute to enclosing instance method
509 |         withAnimation(.easeOut(duration: Constants.buttonClickedAnimationDelay)) {
510 |             showCoachMark = false
    |             |- error: setter for 'showCoachMark' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
511 |             currentHighlight += 1
512 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:511:13: error: cannot pass as inout because setter for 'currentHighlight' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
506 |     ///
507 |     /// The delay and animation duration are hardcoded in the function.
508 |     private func nextButtonAction() {
    |                  `- note: add @available attribute to enclosing instance method
509 |         withAnimation(.easeOut(duration: Constants.buttonClickedAnimationDelay)) {
510 |             showCoachMark = false
511 |             currentHighlight += 1
    |             |- error: cannot pass as inout because setter for 'currentHighlight' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
512 |         }
513 |         updateAfterDelay(delay: Constants.showCoachMarkViewDelay) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:514:13: error: setter for 'showCoachMark' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
506 |     ///
507 |     /// The delay and animation duration are hardcoded in the function.
508 |     private func nextButtonAction() {
    |                  `- note: add @available attribute to enclosing instance method
509 |         withAnimation(.easeOut(duration: Constants.buttonClickedAnimationDelay)) {
510 |             showCoachMark = false
    :
512 |         }
513 |         updateAfterDelay(delay: Constants.showCoachMarkViewDelay) {
514 |             self.showCoachMark = true
    |             |- error: setter for 'showCoachMark' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
515 |         }
516 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:529:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
526 |     ///
527 |     /// The delay and animation duration are hardcoded in the function.
528 |     private func backButtonAction() {
    |                  `- note: add @available attribute to enclosing instance method
529 |         withAnimation(.easeOut(duration: Constants.buttonClickedAnimationDelay)) {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
530 |             showCoachMark = false
531 |             currentHighlight -= 1
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:529:24: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
526 |     ///
527 |     /// The delay and animation duration are hardcoded in the function.
528 |     private func backButtonAction() {
    |                  `- note: add @available attribute to enclosing instance method
529 |         withAnimation(.easeOut(duration: Constants.buttonClickedAnimationDelay)) {
    |                        |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
530 |             showCoachMark = false
531 |             currentHighlight -= 1
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:530:13: error: setter for 'showCoachMark' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
526 |     ///
527 |     /// The delay and animation duration are hardcoded in the function.
528 |     private func backButtonAction() {
    |                  `- note: add @available attribute to enclosing instance method
529 |         withAnimation(.easeOut(duration: Constants.buttonClickedAnimationDelay)) {
530 |             showCoachMark = false
    |             |- error: setter for 'showCoachMark' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
531 |             currentHighlight -= 1
532 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:531:13: error: cannot pass as inout because setter for 'currentHighlight' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
526 |     ///
527 |     /// The delay and animation duration are hardcoded in the function.
528 |     private func backButtonAction() {
    |                  `- note: add @available attribute to enclosing instance method
529 |         withAnimation(.easeOut(duration: Constants.buttonClickedAnimationDelay)) {
530 |             showCoachMark = false
531 |             currentHighlight -= 1
    |             |- error: cannot pass as inout because setter for 'currentHighlight' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
532 |         }
533 |         updateAfterDelay(delay: Constants.showCoachMarkViewDelay) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:534:13: error: setter for 'showCoachMark' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
526 |     ///
527 |     /// The delay and animation duration are hardcoded in the function.
528 |     private func backButtonAction() {
    |                  `- note: add @available attribute to enclosing instance method
529 |         withAnimation(.easeOut(duration: Constants.buttonClickedAnimationDelay)) {
530 |             showCoachMark = false
    :
532 |         }
533 |         updateAfterDelay(delay: Constants.showCoachMarkViewDelay) {
534 |             self.showCoachMark = true
    |             |- error: setter for 'showCoachMark' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
535 |         }
536 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:540:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
537 |
538 |     /// Completes the Coach Mark sequence and triggers the when skip coach mark  button actions trigger.
539 |     private func finishCoachMark() {
    |                  `- note: add @available attribute to enclosing instance method
540 |         withAnimation(.easeInOut(duration: Constants.buttonClickedAnimationDelay)) {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
541 |             hideCoachMark = false
542 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:540:24: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
537 |
538 |     /// Completes the Coach Mark sequence and triggers the when skip coach mark  button actions trigger.
539 |     private func finishCoachMark() {
    |                  `- note: add @available attribute to enclosing instance method
540 |         withAnimation(.easeInOut(duration: Constants.buttonClickedAnimationDelay)) {
    |                        |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
541 |             hideCoachMark = false
542 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Views/CoachMarkView.swift:541:13: error: setter for 'hideCoachMark' is only available in macOS 10.15 or newer
  9 |
 10 | // MARK: CoachMarkView
 11 | public struct CoachMarkView: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Variables
    :
537 |
538 |     /// Completes the Coach Mark sequence and triggers the when skip coach mark  button actions trigger.
539 |     private func finishCoachMark() {
    |                  `- note: add @available attribute to enclosing instance method
540 |         withAnimation(.easeInOut(duration: Constants.buttonClickedAnimationDelay)) {
541 |             hideCoachMark = false
    |             |- error: setter for 'hideCoachMark' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
542 |         }
543 |         onCoachMarkFinished()
BUILD FAILURE 6.1 macosSpm