The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LookingGlassUI, reference 0.4.2 (9e3dd1), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 22:17:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

148 |         perspective: CGFloat? = nil,
149 |         pitch: Angle? = nil,
    |                `- error: 'Angle' is only available in macOS 10.15 or newer
150 |         yaw: Angle? = nil,
151 |         localRoll: Angle? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:150:14: error: 'Angle' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
143 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
144 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
145 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
146 |         _ type: DeviceRotationEffectType,
147 |         distance: CGFloat? = nil,
148 |         perspective: CGFloat? = nil,
149 |         pitch: Angle? = nil,
150 |         yaw: Angle? = nil,
    |              `- error: 'Angle' is only available in macOS 10.15 or newer
151 |         localRoll: Angle? = nil,
152 |         isShowingInFourDirections: Bool? = nil
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:151:20: error: 'Angle' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
143 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
144 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
145 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
146 |         _ type: DeviceRotationEffectType,
147 |         distance: CGFloat? = nil,
    :
149 |         pitch: Angle? = nil,
150 |         yaw: Angle? = nil,
151 |         localRoll: Angle? = nil,
    |                    `- error: 'Angle' is only available in macOS 10.15 or newer
152 |         isShowingInFourDirections: Bool? = nil
153 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:153:15: error: 'View' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
143 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
144 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
145 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
146 |         _ type: DeviceRotationEffectType,
147 |         distance: CGFloat? = nil,
    :
151 |         localRoll: Angle? = nil,
152 |         isShowingInFourDirections: Bool? = nil
153 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
154 |         deviceRotationEffect(
155 |             type,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:18: error: 'View' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:95:44: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | }
 26 |
 27 | struct DeviceRotationEffectViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 28 |     @EnvironmentObject var motionManager: MotionManager
 29 |
    :
 92 |     }
 93 |
 94 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 95 |         if motionManager.isDetectingMotion {
    |                                            |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
 96 |             content
 97 |                 .rotation3DEffect(quaternion: rotation, anchor: .center, anchorZ: distance, perspective: perspective)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:98:9: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | }
 26 |
 27 | struct DeviceRotationEffectViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 28 |     @EnvironmentObject var motionManager: MotionManager
 29 |
    :
 92 |     }
 93 |
 94 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 95 |         if motionManager.isDetectingMotion {
 96 |             content
 97 |                 .rotation3DEffect(quaternion: rotation, anchor: .center, anchorZ: distance, perspective: perspective)
 98 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 99 |     }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:46: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 25 | }
 26 |
 27 | struct DeviceRotationEffectViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 28 |     @EnvironmentObject var motionManager: MotionManager
 29 |
    :
 92 |     }
 93 |
 94 |     func body(content: Content) -> some View {
    |          |                                   |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |          |                                   `- note: add 'if #available' version check
    |          `- note: add @available attribute to enclosing instance method
 95 |         if motionManager.isDetectingMotion {
 96 |             content
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:121:14: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
112 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
113 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
114 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
115 |         _ type: DeviceRotationEffectType,
116 |         distance: CGFloat? = nil,
    :
119 |         isShowingInFourDirections: Bool? = nil
120 |     ) -> some View {
121 |         self.modifier(
    |              |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
122 |             DeviceRotationEffectViewModifier(
123 |                 type: type,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:121:14: error: 'modifier' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
112 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
113 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
114 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
115 |         _ type: DeviceRotationEffectType,
116 |         distance: CGFloat? = nil,
    :
119 |         isShowingInFourDirections: Bool? = nil
120 |     ) -> some View {
121 |         self.modifier(
    |              |- error: 'modifier' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
122 |             DeviceRotationEffectViewModifier(
123 |                 type: type,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:14:35: error: 'Path' is only available in macOS 10.15 or newer
 9 |
10 | /// An empty shape used in the `contentShape()` modifier to create an empty content shape. This is useful for visible view that you don't want effecting accessibility frames.
11 | struct EmptyShape: InsettableShape {
   |        `- note: add @available attribute to enclosing struct
12 |     init() { }
13 |
14 |     func path(in rect: CGRect) -> Path {
   |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
15 |         Path()
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:15:9: error: 'Path' is only available in macOS 10.15 or newer
 9 |
10 | /// An empty shape used in the `contentShape()` modifier to create an empty content shape. This is useful for visible view that you don't want effecting accessibility frames.
11 | struct EmptyShape: InsettableShape {
   |        `- note: add @available attribute to enclosing struct
12 |     init() { }
13 |
14 |     func path(in rect: CGRect) -> Path {
   |          `- note: add @available attribute to enclosing instance method
15 |         Path()
   |         |- error: 'Path' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
16 |     }
17 |
[12/22] Compiling LookingGlassUI EmptyShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:28:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 25 | }
 26 |
 27 | struct DeviceRotationEffectViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 28 |     @EnvironmentObject var motionManager: MotionManager
    |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 29 |
 30 |     let distance: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:41: error: 'View' is only available in macOS 10.15 or newer
 25 | }
 26 |
 27 | struct DeviceRotationEffectViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 28 |     @EnvironmentObject var motionManager: MotionManager
 29 |
    :
 92 |     }
 93 |
 94 |     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
 95 |         if motionManager.isDetectingMotion {
 96 |             content
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:120:15: error: 'View' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
112 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
113 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
114 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
115 |         _ type: DeviceRotationEffectType,
116 |         distance: CGFloat? = nil,
    :
118 |         offsetRotation: Quat? = nil,
119 |         isShowingInFourDirections: Bool? = nil
120 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
121 |         self.modifier(
122 |             DeviceRotationEffectViewModifier(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:149:16: error: 'Angle' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
143 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
144 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
145 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
146 |         _ type: DeviceRotationEffectType,
147 |         distance: CGFloat? = nil,
148 |         perspective: CGFloat? = nil,
149 |         pitch: Angle? = nil,
    |                `- error: 'Angle' is only available in macOS 10.15 or newer
150 |         yaw: Angle? = nil,
151 |         localRoll: Angle? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:150:14: error: 'Angle' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
143 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
144 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
145 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
146 |         _ type: DeviceRotationEffectType,
147 |         distance: CGFloat? = nil,
148 |         perspective: CGFloat? = nil,
149 |         pitch: Angle? = nil,
150 |         yaw: Angle? = nil,
    |              `- error: 'Angle' is only available in macOS 10.15 or newer
151 |         localRoll: Angle? = nil,
152 |         isShowingInFourDirections: Bool? = nil
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:151:20: error: 'Angle' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
143 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
144 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
145 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
146 |         _ type: DeviceRotationEffectType,
147 |         distance: CGFloat? = nil,
    :
149 |         pitch: Angle? = nil,
150 |         yaw: Angle? = nil,
151 |         localRoll: Angle? = nil,
    |                    `- error: 'Angle' is only available in macOS 10.15 or newer
152 |         isShowingInFourDirections: Bool? = nil
153 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:153:15: error: 'View' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
143 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
144 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
145 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
146 |         _ type: DeviceRotationEffectType,
147 |         distance: CGFloat? = nil,
    :
151 |         localRoll: Angle? = nil,
152 |         isShowingInFourDirections: Bool? = nil
153 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
154 |         deviceRotationEffect(
155 |             type,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:18: error: 'View' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:95:44: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | }
 26 |
 27 | struct DeviceRotationEffectViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 28 |     @EnvironmentObject var motionManager: MotionManager
 29 |
    :
 92 |     }
 93 |
 94 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 95 |         if motionManager.isDetectingMotion {
    |                                            |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
 96 |             content
 97 |                 .rotation3DEffect(quaternion: rotation, anchor: .center, anchorZ: distance, perspective: perspective)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:98:9: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | }
 26 |
 27 | struct DeviceRotationEffectViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 28 |     @EnvironmentObject var motionManager: MotionManager
 29 |
    :
 92 |     }
 93 |
 94 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 95 |         if motionManager.isDetectingMotion {
 96 |             content
 97 |                 .rotation3DEffect(quaternion: rotation, anchor: .center, anchorZ: distance, perspective: perspective)
 98 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 99 |     }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:46: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 25 | }
 26 |
 27 | struct DeviceRotationEffectViewModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 28 |     @EnvironmentObject var motionManager: MotionManager
 29 |
    :
 92 |     }
 93 |
 94 |     func body(content: Content) -> some View {
    |          |                                   |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |          |                                   `- note: add 'if #available' version check
    |          `- note: add @available attribute to enclosing instance method
 95 |         if motionManager.isDetectingMotion {
 96 |             content
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:121:14: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
112 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
113 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
114 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
115 |         _ type: DeviceRotationEffectType,
116 |         distance: CGFloat? = nil,
    :
119 |         isShowingInFourDirections: Bool? = nil
120 |     ) -> some View {
121 |         self.modifier(
    |              |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
122 |             DeviceRotationEffectViewModifier(
123 |                 type: type,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:121:14: error: 'modifier' is only available in macOS 10.15 or newer
100 | }
101 |
102 | public extension View {
    |        `- note: add @available attribute to enclosing extension
103 |     /// Position a view on a sphere centered on the device and rotated using real world coordinates. This view will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
104 |     ///
    :
112 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
113 |     /// - Returns: The view is positioned centered on the device and rotated using real world coordinates. It will rotate to compensate for device rotation and appear to be seen either through a window or as a kind of reflection.
114 |     func deviceRotationEffect(
    |          `- note: add @available attribute to enclosing instance method
115 |         _ type: DeviceRotationEffectType,
116 |         distance: CGFloat? = nil,
    :
119 |         isShowingInFourDirections: Bool? = nil
120 |     ) -> some View {
121 |         self.modifier(
    |              |- error: 'modifier' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
122 |             DeviceRotationEffectViewModifier(
123 |                 type: type,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:14:35: error: 'Path' is only available in macOS 10.15 or newer
 9 |
10 | /// An empty shape used in the `contentShape()` modifier to create an empty content shape. This is useful for visible view that you don't want effecting accessibility frames.
11 | struct EmptyShape: InsettableShape {
   |        `- note: add @available attribute to enclosing struct
12 |     init() { }
13 |
14 |     func path(in rect: CGRect) -> Path {
   |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
15 |         Path()
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:15:9: error: 'Path' is only available in macOS 10.15 or newer
 9 |
10 | /// An empty shape used in the `contentShape()` modifier to create an empty content shape. This is useful for visible view that you don't want effecting accessibility frames.
11 | struct EmptyShape: InsettableShape {
   |        `- note: add @available attribute to enclosing struct
12 |     init() { }
13 |
14 |     func path(in rect: CGRect) -> Path {
   |          `- note: add @available attribute to enclosing instance method
15 |         Path()
   |         |- error: 'Path' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
16 |     }
17 |
[13/22] Compiling LookingGlassUI View+rotation3DEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Public/View+rotation3DEffect.swift:12:60: error: 'UnitPoint' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @available(*, deprecated, renamed: "rotation3DEffect(quaternion:anchor:anchorZ:perspective:)", message: "This method was accidentally named with a lowercase d.")
12 |     public func rotation3dEffect(quaternion: Quat, anchor: UnitPoint, anchorZ: CGFloat, perspective: CGFloat) -> some View {
   |                                                            `- error: 'UnitPoint' is only available in macOS 10.15 or newer
13 |         rotation3DEffect(quaternion: quaternion, anchor: anchor, anchorZ: anchorZ, perspective: perspective)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Public/View+rotation3DEffect.swift:12:119: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @available(*, deprecated, renamed: "rotation3DEffect(quaternion:anchor:anchorZ:perspective:)", message: "This method was accidentally named with a lowercase d.")
12 |     public func rotation3dEffect(quaternion: Quat, anchor: UnitPoint, anchorZ: CGFloat, perspective: CGFloat) -> some View {
   |                                                                                                                       `- error: 'View' is only available in macOS 10.15 or newer
13 |         rotation3DEffect(quaternion: quaternion, anchor: anchor, anchorZ: anchorZ, perspective: perspective)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Public/View+rotation3DEffect.swift:23:60: error: 'UnitPoint' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @available(*, deprecated, renamed: "rotation3DEffect(quaternion:anchor:anchorZ:perspective:)", message: "This method was accidentally named with a lowercase d.")
12 |     public func rotation3dEffect(quaternion: Quat, anchor: UnitPoint, anchorZ: CGFloat, perspective: CGFloat) -> some View {
   :
21 |     ///   - perspective: The relative vanishing point with a default of 1 for this rotation.
22 |     /// - Returns: A 3D rotated version of this view.
23 |     public func rotation3DEffect(quaternion: Quat, anchor: UnitPoint, anchorZ: CGFloat, perspective: CGFloat) -> some View {
   |                 |                                          `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
24 |         self
25 |             .rotation3DEffect(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Public/View+rotation3DEffect.swift:23:119: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @available(*, deprecated, renamed: "rotation3DEffect(quaternion:anchor:anchorZ:perspective:)", message: "This method was accidentally named with a lowercase d.")
12 |     public func rotation3dEffect(quaternion: Quat, anchor: UnitPoint, anchorZ: CGFloat, perspective: CGFloat) -> some View {
   :
21 |     ///   - perspective: The relative vanishing point with a default of 1 for this rotation.
22 |     /// - Returns: A 3D rotated version of this view.
23 |     public func rotation3DEffect(quaternion: Quat, anchor: UnitPoint, anchorZ: CGFloat, perspective: CGFloat) -> some View {
   |                 |                                                                                                     `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
24 |         self
25 |             .rotation3DEffect(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Public/View+rotation3DEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     @available(*, deprecated, renamed: "rotation3DEffect(quaternion:anchor:anchorZ:perspective:)", message: "This method was accidentally named with a lowercase d.")
12 |     public func rotation3dEffect(quaternion: Quat, anchor: UnitPoint, anchorZ: CGFloat, perspective: CGFloat) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Public/View+rotation3DEffect.swift:25:14: error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @available(*, deprecated, renamed: "rotation3DEffect(quaternion:anchor:anchorZ:perspective:)", message: "This method was accidentally named with a lowercase d.")
12 |     public func rotation3dEffect(quaternion: Quat, anchor: UnitPoint, anchorZ: CGFloat, perspective: CGFloat) -> some View {
   :
21 |     ///   - perspective: The relative vanishing point with a default of 1 for this rotation.
22 |     /// - Returns: A 3D rotated version of this view.
23 |     public func rotation3DEffect(quaternion: Quat, anchor: UnitPoint, anchorZ: CGFloat, perspective: CGFloat) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
24 |         self
25 |             .rotation3DEffect(
   |              |- error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
26 |                 quaternion.angle,
27 |                 axis: quaternion.axis.cgFloat,
[14/22] Compiling LookingGlassUI ParallaxView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct ParallaxViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
11 |     @EnvironmentObject var motionManager: MotionManager
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 |
13 |     let multiplier: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:37:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct ParallaxViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
11 |     @EnvironmentObject var motionManager: MotionManager
12 |
   :
35 |     }
36 |
37 |     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
38 |         content
39 |             .offset(parallaxOffset)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:52:80: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Moves the view to create a parallax effect based on device orientation.
45 |     ///
   :
50 |     ///   - maxOffset: Clamps the movement to a maximum distance in x and y directions..
51 |     /// - Returns: The view moved to create a parallax effect based on device orientation.
52 |     func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
   |          |                                                                     `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
53 |         modifier(ParallaxViewModifier(multiplier: multiplier, maxOffset: maxOffset))
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:43:18: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
44 |     /// Moves the view to create a parallax effect based on device orientation.
45 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:39:14: error: 'offset' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct ParallaxViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
11 |     @EnvironmentObject var motionManager: MotionManager
12 |
   :
35 |     }
36 |
37 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
38 |         content
39 |             .offset(parallaxOffset)
   |              |- error: 'offset' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
40 |     }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:53:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Moves the view to create a parallax effect based on device orientation.
45 |     ///
   :
50 |     ///   - maxOffset: Clamps the movement to a maximum distance in x and y directions..
51 |     /// - Returns: The view moved to create a parallax effect based on device orientation.
52 |     func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
   |          `- note: add @available attribute to enclosing instance method
53 |         modifier(ParallaxViewModifier(multiplier: multiplier, maxOffset: maxOffset))
   |         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
54 |     }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:53:9: error: 'modifier' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Moves the view to create a parallax effect based on device orientation.
45 |     ///
   :
50 |     ///   - maxOffset: Clamps the movement to a maximum distance in x and y directions..
51 |     /// - Returns: The view moved to create a parallax effect based on device orientation.
52 |     func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
   |          `- note: add @available attribute to enclosing instance method
53 |         modifier(ParallaxViewModifier(multiplier: multiplier, maxOffset: maxOffset))
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
54 |     }
55 | }
[15/22] Compiling LookingGlassUI Quat+CoreMotion.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct ParallaxViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
11 |     @EnvironmentObject var motionManager: MotionManager
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 |
13 |     let multiplier: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:37:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct ParallaxViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
11 |     @EnvironmentObject var motionManager: MotionManager
12 |
   :
35 |     }
36 |
37 |     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
38 |         content
39 |             .offset(parallaxOffset)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:52:80: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Moves the view to create a parallax effect based on device orientation.
45 |     ///
   :
50 |     ///   - maxOffset: Clamps the movement to a maximum distance in x and y directions..
51 |     /// - Returns: The view moved to create a parallax effect based on device orientation.
52 |     func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
   |          |                                                                     `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
53 |         modifier(ParallaxViewModifier(multiplier: multiplier, maxOffset: maxOffset))
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:43:18: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
44 |     /// Moves the view to create a parallax effect based on device orientation.
45 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:39:14: error: 'offset' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct ParallaxViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
11 |     @EnvironmentObject var motionManager: MotionManager
12 |
   :
35 |     }
36 |
37 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
38 |         content
39 |             .offset(parallaxOffset)
   |              |- error: 'offset' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
40 |     }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:53:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Moves the view to create a parallax effect based on device orientation.
45 |     ///
   :
50 |     ///   - maxOffset: Clamps the movement to a maximum distance in x and y directions..
51 |     /// - Returns: The view moved to create a parallax effect based on device orientation.
52 |     func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
   |          `- note: add @available attribute to enclosing instance method
53 |         modifier(ParallaxViewModifier(multiplier: multiplier, maxOffset: maxOffset))
   |         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
54 |     }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:53:9: error: 'modifier' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Moves the view to create a parallax effect based on device orientation.
45 |     ///
   :
50 |     ///   - maxOffset: Clamps the movement to a maximum distance in x and y directions..
51 |     /// - Returns: The view moved to create a parallax effect based on device orientation.
52 |     func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
   |          `- note: add @available attribute to enclosing instance method
53 |         modifier(ParallaxViewModifier(multiplier: multiplier, maxOffset: maxOffset))
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
54 |     }
55 | }
[16/22] Compiling LookingGlassUI MotionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:29:59: error: cannot find type 'UIDeviceOrientation' in scope
 27 |     @Published public private(set) var disabled: Bool = false
 28 |
 29 |     @Published public private(set) var deviceOrientation: UIDeviceOrientation = .unknown
    |                                                           `- error: cannot find type 'UIDeviceOrientation' in scope
 30 |
 31 |     /// Rotation of device relative to zero position. Value is updated with SwiftUI animation to smooth between update intervals.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:19:29: error: cannot find 'UIScreen' in scope
 17 |
 18 |     static let motionQueue = OperationQueue()
 19 |     static let screenSize = UIScreen.main.bounds.size
    |                             `- error: cannot find 'UIScreen' in scope
 20 |     static let maxScreenDimension = max(MotionManager.screenSize.height, MotionManager.screenSize.width)
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:22:29: error: 'CMMotionManager' is unavailable in macOS
 20 |     static let maxScreenDimension = max(MotionManager.screenSize.height, MotionManager.screenSize.width)
 21 |
 22 |     private let cmManager = CMMotionManager()
    |                             `- error: 'CMMotionManager' is unavailable in macOS
 23 |
 24 |     // set to 0 for off
CoreMotion.CMMotionManager:2:12: note: 'CMMotionManager' has been explicitly marked unavailable here
 1 | @available(macOS, unavailable)
 2 | open class CMMotionManager : NSObject {
   |            `- note: 'CMMotionManager' has been explicitly marked unavailable here
 3 |     open var accelerometerUpdateInterval: TimeInterval { get set }
 4 |     open var isAccelerometerAvailable: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:25:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 23 |
 24 |     // set to 0 for off
 25 |     @Published public private(set) var updateInterval: TimeInterval = 0
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 26 |
 27 |     @Published public private(set) var disabled: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:27:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 25 |     @Published public private(set) var updateInterval: TimeInterval = 0
 26 |
 27 |     @Published public private(set) var disabled: Bool = false
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 28 |
 29 |     @Published public private(set) var deviceOrientation: UIDeviceOrientation = .unknown
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 27 |     @Published public private(set) var disabled: Bool = false
 28 |
 29 |     @Published public private(set) var deviceOrientation: UIDeviceOrientation = .unknown
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 30 |
 31 |     /// Rotation of device relative to zero position. Value is updated with SwiftUI animation to smooth between update intervals.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:32:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 30 |
 31 |     /// Rotation of device relative to zero position. Value is updated with SwiftUI animation to smooth between update intervals.
 32 |     @Published public private(set) var animatedQuaternion: Quat = .identity
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 33 |
 34 |     /// Rotation of device relative to zero position. Value is updated based on update intervals without animation or smoothing.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:35:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 33 |
 34 |     /// Rotation of device relative to zero position. Value is updated based on update intervals without animation or smoothing.
 35 |     @Published public private(set) var quaternion: Quat = .identity
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 36 |
 37 |     /// Rotation from zero to initial position of device when motion updates started.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:40:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 38 |     ///
 39 |     /// This value is reset whenever motion manager is re-enabled.
 40 |     @Published public private(set) var initialDeviceRotation: Quat? = nil
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 41 |
 42 |     /// Rotation from initial device rotation to current.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              |              `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
<unknown>:0: error: cannot convert value of type 'KeyPath<MotionManager, TimeInterval>' (aka 'KeyPath<MotionManager, Double>') to expected argument type 'ReferenceWritableKeyPath<MotionManager, TimeInterval>' (aka 'ReferenceWritableKeyPath<MotionManager, Double>')
<unknown>:0: error: cannot convert value of type 'KeyPath<MotionManager, Bool>' to expected argument type 'ReferenceWritableKeyPath<MotionManager, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<MotionManager, Quat>' to expected argument type 'ReferenceWritableKeyPath<MotionManager, Quat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<MotionManager, Quat>' to expected argument type 'ReferenceWritableKeyPath<MotionManager, Quat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<MotionManager, Quat?>' to expected argument type 'ReferenceWritableKeyPath<MotionManager, Quat?>'
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:31: error: 'View' is only available in macOS 10.15 or newer
184 | }
185 |
186 | struct MotionManager_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
187 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
188 |         Color.blue
189 |             .motionManager(updateInterval: 0)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:86:30: error: cannot find 'UIDevice' in scope
 84 |     /// Changes the device orientation property if the new orientation is supported.
 85 |     public func changeDeviceOrientation() {
 86 |         let newOrientation = UIDevice.current.orientation
    |                              `- error: cannot find 'UIDevice' in scope
 87 |
 88 |         guard deviceOrientation != newOrientation else {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/InfoDictionary.swift:12:43: error: cannot find type 'UIDeviceOrientation' in scope
10 | enum InfoDictionary {
11 |     /// Set of supported orientations for the current app
12 |     static let supportedOrientations: Set<UIDeviceOrientation> = {
   |                                           `- error: cannot find type 'UIDeviceOrientation' in scope
13 |         if let orientations = Bundle.main.infoDictionary?["UISupportedInterfaceOrientations"] as? [String] {
14 |             return Set(orientations.compactMap({ UIDeviceOrientation(key: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:93:13: error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 83 |
 84 |     /// Changes the device orientation property if the new orientation is supported.
 85 |     public func changeDeviceOrientation() {
    |                 `- note: add @available attribute to enclosing instance method
 86 |         let newOrientation = UIDevice.current.orientation
 87 |
    :
 91 |
 92 |         if InfoDictionary.supportedOrientations.contains(newOrientation) {
 93 |             initialDeviceRotation = nil
    |             |- error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 94 |             self.deviceOrientation = newOrientation
 95 |             restartMotionUpdatesIfNeeded()
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:103:13: error: setter for 'updateInterval' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 99 |     /// Sets the update interval to the value specified
100 |     /// - Parameter newUpdateInterval: New update interval
101 |     public func setUpdateInterval(_ newUpdateInterval: TimeInterval) {
    |                 `- note: add @available attribute to enclosing instance method
102 |         if updateInterval != newUpdateInterval {
103 |             updateInterval = newUpdateInterval
    |             |- error: setter for 'updateInterval' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
104 |             restartMotionUpdatesIfNeeded()
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:112:13: error: setter for 'disabled' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
108 |     /// Sets the disabled property to the value specified
109 |     /// - Parameter newDisabled: New disabled value.
110 |     public func setDisabled(_ newDisabled: Bool) {
    |                 `- note: add @available attribute to enclosing instance method
111 |         if disabled != newDisabled {
112 |             disabled = newDisabled
    |             |- error: setter for 'disabled' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
113 |             restartMotionUpdatesIfNeeded()
114 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:125:13: error: setter for 'disabled' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
120 |     ///   - disabled: If true, motion updates are disabled.
121 |     ///   - setDeviceOrientation: If true, device orientation is updated.
122 |     public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
    |                 `- note: add @available attribute to enclosing instance method
123 |
124 |         if let disabled, self.disabled != disabled {
125 |             self.disabled = disabled
    |             |- error: setter for 'disabled' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
126 |         }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:129:13: error: setter for 'updateInterval' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
120 |     ///   - disabled: If true, motion updates are disabled.
121 |     ///   - setDeviceOrientation: If true, device orientation is updated.
122 |     public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
    |                 `- note: add @available attribute to enclosing instance method
123 |
124 |         if let disabled, self.disabled != disabled {
    :
127 |
128 |         if let updateInterval, self.updateInterval != updateInterval {
129 |             self.updateInterval = updateInterval
    |             |- error: setter for 'updateInterval' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
130 |         }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:133:34: error: cannot find 'UIDevice' in scope
131 |
132 |         if setDeviceOrientation {
133 |             let newOrientation = UIDevice.current.orientation
    |                                  `- error: cannot find 'UIDevice' in scope
134 |             if deviceOrientation != newOrientation,
135 |                InfoDictionary.supportedOrientations.contains(newOrientation) {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:136:17: error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
120 |     ///   - disabled: If true, motion updates are disabled.
121 |     ///   - setDeviceOrientation: If true, device orientation is updated.
122 |     public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
    |                 `- note: add @available attribute to enclosing instance method
123 |
124 |         if let disabled, self.disabled != disabled {
    :
134 |             if deviceOrientation != newOrientation,
135 |                InfoDictionary.supportedOrientations.contains(newOrientation) {
136 |                 initialDeviceRotation = nil
    |                 |- error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
137 |                 deviceOrientation = newOrientation
138 |             }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:169:21: error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
167 |
168 |                 if self.initialDeviceRotation == nil {
169 |                     self.initialDeviceRotation = quaternion
    |                     |- error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
170 |                 }
171 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:172:17: error: setter for 'quaternion' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
170 |                 }
171 |
172 |                 self.quaternion = quaternion
    |                 |- error: setter for 'quaternion' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
173 |                 withAnimation(Animation.linear(duration: self.updateInterval)) {
174 |                     self.animatedQuaternion = quaternion
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:17: error: 'withAnimation' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
171 |
172 |                 self.quaternion = quaternion
173 |                 withAnimation(Animation.linear(duration: self.updateInterval)) {
    |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
174 |                     self.animatedQuaternion = quaternion
175 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:31: error: 'Animation' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
171 |
172 |                 self.quaternion = quaternion
173 |                 withAnimation(Animation.linear(duration: self.updateInterval)) {
    |                               |- error: 'Animation' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
174 |                     self.animatedQuaternion = quaternion
175 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:41: error: 'linear(duration:)' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
171 |
172 |                 self.quaternion = quaternion
173 |                 withAnimation(Animation.linear(duration: self.updateInterval)) {
    |                                         |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
174 |                     self.animatedQuaternion = quaternion
175 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:174:21: error: setter for 'animatedQuaternion' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
172 |                 self.quaternion = quaternion
173 |                 withAnimation(Animation.linear(duration: self.updateInterval)) {
174 |                     self.animatedQuaternion = quaternion
    |                     |- error: setter for 'animatedQuaternion' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
175 |                 }
176 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:9: error: 'Color' is only available in macOS 10.15 or newer
184 | }
185 |
186 | struct MotionManager_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
187 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
188 |         Color.blue
    |         |- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
189 |             .motionManager(updateInterval: 0)
190 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:15: error: 'blue' is only available in macOS 10.15 or newer
184 | }
185 |
186 | struct MotionManager_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
187 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
188 |         Color.blue
    |               |- error: 'blue' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
189 |             .motionManager(updateInterval: 0)
190 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:189:14: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
184 | }
185 |
186 | struct MotionManager_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
187 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
188 |         Color.blue
189 |             .motionManager(updateInterval: 0)
    |              |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
190 |     }
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:11:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct MotionManagerViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
11 |     @ObservedObject var motionManager = MotionManager.shared
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
12 |
13 |     let updateInterval: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:16:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct MotionManagerViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
11 |     @ObservedObject var motionManager = MotionManager.shared
12 |
   :
14 |     let disabled: Bool
15 |
16 |     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
17 |         content
18 |             .environmentObject(motionManager)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:52:92: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Adds ``MotionManager`` into the environment.
45 |     /// - Adjusts for landscape/portrait changes to device orientation.
   :
50 |     ///   - disabled: Used to temporarily disable updates.
51 |     /// - Returns: View with ``MotionManager`` in the environment
52 |     func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
   |          |                                                                                 `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
53 |         self.modifier(MotionManagerViewModifier(updateInterval: updateInterval, disabled: disabled))
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:43:18: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
44 |     /// Adds ``MotionManager`` into the environment.
45 |     /// - Adjusts for landscape/portrait changes to device orientation.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:19:66: error: cannot find 'UIDevice' in scope
17 |         content
18 |             .environmentObject(motionManager)
19 |             .onReceive(NotificationCenter.default.publisher(for: UIDevice.orientationDidChangeNotification)) { _ in
   |                                                                  `- error: cannot find 'UIDevice' in scope
20 |                 motionManager.changeDeviceOrientation()
21 |             }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:22:66: error: cannot find 'UIApplication' in scope
20 |                 motionManager.changeDeviceOrientation()
21 |             }
22 |             .onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in
   |                                                                  `- error: cannot find 'UIApplication' in scope
23 |                 motionManager.startMotionUpdates(updateInterval: updateInterval, disabled: disabled, setDeviceOrientation: true)
24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:25:66: error: cannot find 'UIApplication' in scope
23 |                 motionManager.startMotionUpdates(updateInterval: updateInterval, disabled: disabled, setDeviceOrientation: true)
24 |             }
25 |             .onReceive(NotificationCenter.default.publisher(for: UIApplication.didEnterBackgroundNotification)) { _ in
   |                                                                  `- error: cannot find 'UIApplication' in scope
26 |                 motionManager.stopMotionUpdates()
27 |             }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:53:14: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Adds ``MotionManager`` into the environment.
45 |     /// - Adjusts for landscape/portrait changes to device orientation.
   :
50 |     ///   - disabled: Used to temporarily disable updates.
51 |     /// - Returns: View with ``MotionManager`` in the environment
52 |     func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
   |          `- note: add @available attribute to enclosing instance method
53 |         self.modifier(MotionManagerViewModifier(updateInterval: updateInterval, disabled: disabled))
   |              |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
54 |     }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:53:14: error: 'modifier' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Adds ``MotionManager`` into the environment.
45 |     /// - Adjusts for landscape/portrait changes to device orientation.
   :
50 |     ///   - disabled: Used to temporarily disable updates.
51 |     /// - Returns: View with ``MotionManager`` in the environment
52 |     func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
   |          `- note: add @available attribute to enclosing instance method
53 |         self.modifier(MotionManagerViewModifier(updateInterval: updateInterval, disabled: disabled))
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
54 |     }
55 | }
[17/22] Compiling LookingGlassUI MotionManagerViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:29:59: error: cannot find type 'UIDeviceOrientation' in scope
 27 |     @Published public private(set) var disabled: Bool = false
 28 |
 29 |     @Published public private(set) var deviceOrientation: UIDeviceOrientation = .unknown
    |                                                           `- error: cannot find type 'UIDeviceOrientation' in scope
 30 |
 31 |     /// Rotation of device relative to zero position. Value is updated with SwiftUI animation to smooth between update intervals.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:19:29: error: cannot find 'UIScreen' in scope
 17 |
 18 |     static let motionQueue = OperationQueue()
 19 |     static let screenSize = UIScreen.main.bounds.size
    |                             `- error: cannot find 'UIScreen' in scope
 20 |     static let maxScreenDimension = max(MotionManager.screenSize.height, MotionManager.screenSize.width)
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:22:29: error: 'CMMotionManager' is unavailable in macOS
 20 |     static let maxScreenDimension = max(MotionManager.screenSize.height, MotionManager.screenSize.width)
 21 |
 22 |     private let cmManager = CMMotionManager()
    |                             `- error: 'CMMotionManager' is unavailable in macOS
 23 |
 24 |     // set to 0 for off
CoreMotion.CMMotionManager:2:12: note: 'CMMotionManager' has been explicitly marked unavailable here
 1 | @available(macOS, unavailable)
 2 | open class CMMotionManager : NSObject {
   |            `- note: 'CMMotionManager' has been explicitly marked unavailable here
 3 |     open var accelerometerUpdateInterval: TimeInterval { get set }
 4 |     open var isAccelerometerAvailable: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:25:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 23 |
 24 |     // set to 0 for off
 25 |     @Published public private(set) var updateInterval: TimeInterval = 0
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 26 |
 27 |     @Published public private(set) var disabled: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:27:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 25 |     @Published public private(set) var updateInterval: TimeInterval = 0
 26 |
 27 |     @Published public private(set) var disabled: Bool = false
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 28 |
 29 |     @Published public private(set) var deviceOrientation: UIDeviceOrientation = .unknown
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 27 |     @Published public private(set) var disabled: Bool = false
 28 |
 29 |     @Published public private(set) var deviceOrientation: UIDeviceOrientation = .unknown
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 30 |
 31 |     /// Rotation of device relative to zero position. Value is updated with SwiftUI animation to smooth between update intervals.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:32:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 30 |
 31 |     /// Rotation of device relative to zero position. Value is updated with SwiftUI animation to smooth between update intervals.
 32 |     @Published public private(set) var animatedQuaternion: Quat = .identity
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 33 |
 34 |     /// Rotation of device relative to zero position. Value is updated based on update intervals without animation or smoothing.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:35:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 33 |
 34 |     /// Rotation of device relative to zero position. Value is updated based on update intervals without animation or smoothing.
 35 |     @Published public private(set) var quaternion: Quat = .identity
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 36 |
 37 |     /// Rotation from zero to initial position of device when motion updates started.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:40:6: error: 'Published' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 38 |     ///
 39 |     /// This value is reset whenever motion manager is re-enabled.
 40 |     @Published public private(set) var initialDeviceRotation: Quat? = nil
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 41 |
 42 |     /// Rotation from initial device rotation to current.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              |              `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
<unknown>:0: error: cannot convert value of type 'KeyPath<MotionManager, TimeInterval>' (aka 'KeyPath<MotionManager, Double>') to expected argument type 'ReferenceWritableKeyPath<MotionManager, TimeInterval>' (aka 'ReferenceWritableKeyPath<MotionManager, Double>')
<unknown>:0: error: cannot convert value of type 'KeyPath<MotionManager, Bool>' to expected argument type 'ReferenceWritableKeyPath<MotionManager, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<MotionManager, Quat>' to expected argument type 'ReferenceWritableKeyPath<MotionManager, Quat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<MotionManager, Quat>' to expected argument type 'ReferenceWritableKeyPath<MotionManager, Quat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<MotionManager, Quat?>' to expected argument type 'ReferenceWritableKeyPath<MotionManager, Quat?>'
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:31: error: 'View' is only available in macOS 10.15 or newer
184 | }
185 |
186 | struct MotionManager_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
187 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
188 |         Color.blue
189 |             .motionManager(updateInterval: 0)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:86:30: error: cannot find 'UIDevice' in scope
 84 |     /// Changes the device orientation property if the new orientation is supported.
 85 |     public func changeDeviceOrientation() {
 86 |         let newOrientation = UIDevice.current.orientation
    |                              `- error: cannot find 'UIDevice' in scope
 87 |
 88 |         guard deviceOrientation != newOrientation else {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/InfoDictionary.swift:12:43: error: cannot find type 'UIDeviceOrientation' in scope
10 | enum InfoDictionary {
11 |     /// Set of supported orientations for the current app
12 |     static let supportedOrientations: Set<UIDeviceOrientation> = {
   |                                           `- error: cannot find type 'UIDeviceOrientation' in scope
13 |         if let orientations = Bundle.main.infoDictionary?["UISupportedInterfaceOrientations"] as? [String] {
14 |             return Set(orientations.compactMap({ UIDeviceOrientation(key: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:93:13: error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 83 |
 84 |     /// Changes the device orientation property if the new orientation is supported.
 85 |     public func changeDeviceOrientation() {
    |                 `- note: add @available attribute to enclosing instance method
 86 |         let newOrientation = UIDevice.current.orientation
 87 |
    :
 91 |
 92 |         if InfoDictionary.supportedOrientations.contains(newOrientation) {
 93 |             initialDeviceRotation = nil
    |             |- error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 94 |             self.deviceOrientation = newOrientation
 95 |             restartMotionUpdatesIfNeeded()
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:103:13: error: setter for 'updateInterval' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
 99 |     /// Sets the update interval to the value specified
100 |     /// - Parameter newUpdateInterval: New update interval
101 |     public func setUpdateInterval(_ newUpdateInterval: TimeInterval) {
    |                 `- note: add @available attribute to enclosing instance method
102 |         if updateInterval != newUpdateInterval {
103 |             updateInterval = newUpdateInterval
    |             |- error: setter for 'updateInterval' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
104 |             restartMotionUpdatesIfNeeded()
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:112:13: error: setter for 'disabled' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
108 |     /// Sets the disabled property to the value specified
109 |     /// - Parameter newDisabled: New disabled value.
110 |     public func setDisabled(_ newDisabled: Bool) {
    |                 `- note: add @available attribute to enclosing instance method
111 |         if disabled != newDisabled {
112 |             disabled = newDisabled
    |             |- error: setter for 'disabled' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
113 |             restartMotionUpdatesIfNeeded()
114 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:125:13: error: setter for 'disabled' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
120 |     ///   - disabled: If true, motion updates are disabled.
121 |     ///   - setDeviceOrientation: If true, device orientation is updated.
122 |     public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
    |                 `- note: add @available attribute to enclosing instance method
123 |
124 |         if let disabled, self.disabled != disabled {
125 |             self.disabled = disabled
    |             |- error: setter for 'disabled' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
126 |         }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:129:13: error: setter for 'updateInterval' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
120 |     ///   - disabled: If true, motion updates are disabled.
121 |     ///   - setDeviceOrientation: If true, device orientation is updated.
122 |     public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
    |                 `- note: add @available attribute to enclosing instance method
123 |
124 |         if let disabled, self.disabled != disabled {
    :
127 |
128 |         if let updateInterval, self.updateInterval != updateInterval {
129 |             self.updateInterval = updateInterval
    |             |- error: setter for 'updateInterval' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
130 |         }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:133:34: error: cannot find 'UIDevice' in scope
131 |
132 |         if setDeviceOrientation {
133 |             let newOrientation = UIDevice.current.orientation
    |                                  `- error: cannot find 'UIDevice' in scope
134 |             if deviceOrientation != newOrientation,
135 |                InfoDictionary.supportedOrientations.contains(newOrientation) {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:136:17: error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
120 |     ///   - disabled: If true, motion updates are disabled.
121 |     ///   - setDeviceOrientation: If true, device orientation is updated.
122 |     public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
    |                 `- note: add @available attribute to enclosing instance method
123 |
124 |         if let disabled, self.disabled != disabled {
    :
134 |             if deviceOrientation != newOrientation,
135 |                InfoDictionary.supportedOrientations.contains(newOrientation) {
136 |                 initialDeviceRotation = nil
    |                 |- error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
137 |                 deviceOrientation = newOrientation
138 |             }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:169:21: error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
167 |
168 |                 if self.initialDeviceRotation == nil {
169 |                     self.initialDeviceRotation = quaternion
    |                     |- error: setter for 'initialDeviceRotation' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
170 |                 }
171 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:172:17: error: setter for 'quaternion' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
170 |                 }
171 |
172 |                 self.quaternion = quaternion
    |                 |- error: setter for 'quaternion' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
173 |                 withAnimation(Animation.linear(duration: self.updateInterval)) {
174 |                     self.animatedQuaternion = quaternion
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:17: error: 'withAnimation' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
171 |
172 |                 self.quaternion = quaternion
173 |                 withAnimation(Animation.linear(duration: self.updateInterval)) {
    |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
174 |                     self.animatedQuaternion = quaternion
175 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:31: error: 'Animation' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
171 |
172 |                 self.quaternion = quaternion
173 |                 withAnimation(Animation.linear(duration: self.updateInterval)) {
    |                               |- error: 'Animation' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
174 |                     self.animatedQuaternion = quaternion
175 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:41: error: 'linear(duration:)' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
171 |
172 |                 self.quaternion = quaternion
173 |                 withAnimation(Animation.linear(duration: self.updateInterval)) {
    |                                         |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
174 |                     self.animatedQuaternion = quaternion
175 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:174:21: error: setter for 'animatedQuaternion' is only available in macOS 10.15 or newer
 10 |
 11 | @MainActor
 12 | public class MotionManager: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 13 |     /// Only one shared MotionManager should be used in an app
 14 |     static let shared = MotionManager()
    :
155 |
156 |     /// Toggles motion updates off if on or on if off (and not disabled and update interval greater than zero).
157 |     private func restartMotionUpdatesIfNeeded() {
    |                  `- note: add @available attribute to enclosing instance method
158 |         stopMotionUpdates()
159 |
    :
172 |                 self.quaternion = quaternion
173 |                 withAnimation(Animation.linear(duration: self.updateInterval)) {
174 |                     self.animatedQuaternion = quaternion
    |                     |- error: setter for 'animatedQuaternion' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
175 |                 }
176 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:9: error: 'Color' is only available in macOS 10.15 or newer
184 | }
185 |
186 | struct MotionManager_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
187 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
188 |         Color.blue
    |         |- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
189 |             .motionManager(updateInterval: 0)
190 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:15: error: 'blue' is only available in macOS 10.15 or newer
184 | }
185 |
186 | struct MotionManager_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
187 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
188 |         Color.blue
    |               |- error: 'blue' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
189 |             .motionManager(updateInterval: 0)
190 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:189:14: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
184 | }
185 |
186 | struct MotionManager_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
187 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
188 |         Color.blue
189 |             .motionManager(updateInterval: 0)
    |              |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
190 |     }
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:11:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct MotionManagerViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
11 |     @ObservedObject var motionManager = MotionManager.shared
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
12 |
13 |     let updateInterval: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:16:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct MotionManagerViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
11 |     @ObservedObject var motionManager = MotionManager.shared
12 |
   :
14 |     let disabled: Bool
15 |
16 |     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
17 |         content
18 |             .environmentObject(motionManager)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:52:92: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Adds ``MotionManager`` into the environment.
45 |     /// - Adjusts for landscape/portrait changes to device orientation.
   :
50 |     ///   - disabled: Used to temporarily disable updates.
51 |     /// - Returns: View with ``MotionManager`` in the environment
52 |     func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
   |          |                                                                                 `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
53 |         self.modifier(MotionManagerViewModifier(updateInterval: updateInterval, disabled: disabled))
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:43:18: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
44 |     /// Adds ``MotionManager`` into the environment.
45 |     /// - Adjusts for landscape/portrait changes to device orientation.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:19:66: error: cannot find 'UIDevice' in scope
17 |         content
18 |             .environmentObject(motionManager)
19 |             .onReceive(NotificationCenter.default.publisher(for: UIDevice.orientationDidChangeNotification)) { _ in
   |                                                                  `- error: cannot find 'UIDevice' in scope
20 |                 motionManager.changeDeviceOrientation()
21 |             }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:22:66: error: cannot find 'UIApplication' in scope
20 |                 motionManager.changeDeviceOrientation()
21 |             }
22 |             .onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in
   |                                                                  `- error: cannot find 'UIApplication' in scope
23 |                 motionManager.startMotionUpdates(updateInterval: updateInterval, disabled: disabled, setDeviceOrientation: true)
24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:25:66: error: cannot find 'UIApplication' in scope
23 |                 motionManager.startMotionUpdates(updateInterval: updateInterval, disabled: disabled, setDeviceOrientation: true)
24 |             }
25 |             .onReceive(NotificationCenter.default.publisher(for: UIApplication.didEnterBackgroundNotification)) { _ in
   |                                                                  `- error: cannot find 'UIApplication' in scope
26 |                 motionManager.stopMotionUpdates()
27 |             }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:53:14: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Adds ``MotionManager`` into the environment.
45 |     /// - Adjusts for landscape/portrait changes to device orientation.
   :
50 |     ///   - disabled: Used to temporarily disable updates.
51 |     /// - Returns: View with ``MotionManager`` in the environment
52 |     func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
   |          `- note: add @available attribute to enclosing instance method
53 |         self.modifier(MotionManagerViewModifier(updateInterval: updateInterval, disabled: disabled))
   |              |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
54 |     }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:53:14: error: 'modifier' is only available in macOS 10.15 or newer
41 | }
42 |
43 | public extension View {
   |        `- note: add @available attribute to enclosing extension
44 |     /// Adds ``MotionManager`` into the environment.
45 |     /// - Adjusts for landscape/portrait changes to device orientation.
   :
50 |     ///   - disabled: Used to temporarily disable updates.
51 |     /// - Returns: View with ``MotionManager`` in the environment
52 |     func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
   |          `- note: add @available attribute to enclosing instance method
53 |         self.modifier(MotionManagerViewModifier(updateInterval: updateInterval, disabled: disabled))
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
54 |     }
55 | }
[18/22] Compiling LookingGlassUI InfoDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/InfoDictionary.swift:12:43: error: cannot find type 'UIDeviceOrientation' in scope
10 | enum InfoDictionary {
11 |     /// Set of supported orientations for the current app
12 |     static let supportedOrientations: Set<UIDeviceOrientation> = {
   |                                           `- error: cannot find type 'UIDeviceOrientation' in scope
13 |         if let orientations = Bundle.main.infoDictionary?["UISupportedInterfaceOrientations"] as? [String] {
14 |             return Set(orientations.compactMap({ UIDeviceOrientation(key: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:19:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
    |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 20 |
 21 |     let type: DeviceRotationEffectType
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:79:16: error: 'Angle' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 73 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
 74 |     ///   - content: View to be shown.
 75 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 76 |         _ type: DeviceRotationEffectType,
 77 |         distance: CGFloat,
 78 |         perspective: CGFloat? = nil,
 79 |         pitch: Angle? = nil,
    |                `- error: 'Angle' is only available in macOS 10.15 or newer
 80 |         yaw: Angle? = nil,
 81 |         localRoll: Angle? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:80:14: error: 'Angle' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 73 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
 74 |     ///   - content: View to be shown.
 75 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 76 |         _ type: DeviceRotationEffectType,
 77 |         distance: CGFloat,
 78 |         perspective: CGFloat? = nil,
 79 |         pitch: Angle? = nil,
 80 |         yaw: Angle? = nil,
    |              `- error: 'Angle' is only available in macOS 10.15 or newer
 81 |         localRoll: Angle? = nil,
 82 |         isShowingInFourDirections: Bool? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:81:20: error: 'Angle' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 73 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
 74 |     ///   - content: View to be shown.
 75 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 76 |         _ type: DeviceRotationEffectType,
 77 |         distance: CGFloat,
    :
 79 |         pitch: Angle? = nil,
 80 |         yaw: Angle? = nil,
 81 |         localRoll: Angle? = nil,
    |                    `- error: 'Angle' is only available in macOS 10.15 or newer
 82 |         isShowingInFourDirections: Bool? = nil,
 83 |         content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:27: error: 'View' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:37: error: 'View' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               |                     `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:97:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    |             |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 98 |                 content
 99 |                     .deviceRotationEffect(type, distance: distance, perspective: perspective, offsetRotation: offsetRotation, isShowingInFourDirections: isShowingInFourDirections)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:100:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
 98 |                 content
 99 |                     .deviceRotationEffect(type, distance: distance, perspective: perspective, offsetRotation: offsetRotation, isShowingInFourDirections: isShowingInFourDirections)
100 |                     .frame(width: motionManager.interfaceSize.width, height: motionManager.interfaceSize.height)
    |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
102 |             }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
 99 |                     .deviceRotationEffect(type, distance: distance, perspective: perspective, offsetRotation: offsetRotation, isShowingInFourDirections: isShowingInFourDirections)
100 |                     .frame(width: motionManager.interfaceSize.width, height: motionManager.interfaceSize.height)
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
    |                      |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
102 |             }
103 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:63: error: 'frame(in:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
 99 |                     .deviceRotationEffect(type, distance: distance, perspective: perspective, offsetRotation: offsetRotation, isShowingInFourDirections: isShowingInFourDirections)
100 |                     .frame(width: motionManager.interfaceSize.width, height: motionManager.interfaceSize.height)
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
    |                                                               |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                               `- note: add 'if #available' version check
102 |             }
103 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:123: error: 'frame(in:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
 99 |                     .deviceRotationEffect(type, distance: distance, perspective: perspective, offsetRotation: offsetRotation, isShowingInFourDirections: isShowingInFourDirections)
100 |                     .frame(width: motionManager.interfaceSize.width, height: motionManager.interfaceSize.height)
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
    |                                                                                                                           |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                                                                                           `- note: add 'if #available' version check
102 |             }
103 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:96:44: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
    |                                            |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
 97 |             GeometryReader { proxy in
 98 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
102 |             }
103 |         } else {
104 |             Color.clear
    |             |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
105 |         }
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: error: 'Color' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
102 |             }
103 |         } else {
104 |             Color.clear
    |             |- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
105 |         }
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:19: error: 'clear' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
102 |             }
103 |         } else {
104 |             Color.clear
    |                   |- error: 'clear' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
105 |         }
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
102 |             }
103 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
104 |             Color.clear
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
102 |             }
103 |         } else {
    |                |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
104 |             Color.clear
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:32: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
[19/22] Compiling LookingGlassUI LookingGlass.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/InfoDictionary.swift:12:43: error: cannot find type 'UIDeviceOrientation' in scope
10 | enum InfoDictionary {
11 |     /// Set of supported orientations for the current app
12 |     static let supportedOrientations: Set<UIDeviceOrientation> = {
   |                                           `- error: cannot find type 'UIDeviceOrientation' in scope
13 |         if let orientations = Bundle.main.infoDictionary?["UISupportedInterfaceOrientations"] as? [String] {
14 |             return Set(orientations.compactMap({ UIDeviceOrientation(key: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:19:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
    |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 20 |
 21 |     let type: DeviceRotationEffectType
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:79:16: error: 'Angle' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 73 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
 74 |     ///   - content: View to be shown.
 75 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 76 |         _ type: DeviceRotationEffectType,
 77 |         distance: CGFloat,
 78 |         perspective: CGFloat? = nil,
 79 |         pitch: Angle? = nil,
    |                `- error: 'Angle' is only available in macOS 10.15 or newer
 80 |         yaw: Angle? = nil,
 81 |         localRoll: Angle? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:80:14: error: 'Angle' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 73 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
 74 |     ///   - content: View to be shown.
 75 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 76 |         _ type: DeviceRotationEffectType,
 77 |         distance: CGFloat,
 78 |         perspective: CGFloat? = nil,
 79 |         pitch: Angle? = nil,
 80 |         yaw: Angle? = nil,
    |              `- error: 'Angle' is only available in macOS 10.15 or newer
 81 |         localRoll: Angle? = nil,
 82 |         isShowingInFourDirections: Bool? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:81:20: error: 'Angle' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 73 |     ///   - isShowingInFourDirections: If active the view will be rotated around the Z axis at 90 degree intervals to always face the direction the device is pointing.
 74 |     ///   - content: View to be shown.
 75 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 76 |         _ type: DeviceRotationEffectType,
 77 |         distance: CGFloat,
    :
 79 |         pitch: Angle? = nil,
 80 |         yaw: Angle? = nil,
 81 |         localRoll: Angle? = nil,
    |                    `- error: 'Angle' is only available in macOS 10.15 or newer
 82 |         isShowingInFourDirections: Bool? = nil,
 83 |         content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:27: error: 'View' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:37: error: 'View' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               |                     `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:97:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    |             |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 98 |                 content
 99 |                     .deviceRotationEffect(type, distance: distance, perspective: perspective, offsetRotation: offsetRotation, isShowingInFourDirections: isShowingInFourDirections)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:100:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
 98 |                 content
 99 |                     .deviceRotationEffect(type, distance: distance, perspective: perspective, offsetRotation: offsetRotation, isShowingInFourDirections: isShowingInFourDirections)
100 |                     .frame(width: motionManager.interfaceSize.width, height: motionManager.interfaceSize.height)
    |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
102 |             }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
 99 |                     .deviceRotationEffect(type, distance: distance, perspective: perspective, offsetRotation: offsetRotation, isShowingInFourDirections: isShowingInFourDirections)
100 |                     .frame(width: motionManager.interfaceSize.width, height: motionManager.interfaceSize.height)
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
    |                      |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
102 |             }
103 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:63: error: 'frame(in:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
 99 |                     .deviceRotationEffect(type, distance: distance, perspective: perspective, offsetRotation: offsetRotation, isShowingInFourDirections: isShowingInFourDirections)
100 |                     .frame(width: motionManager.interfaceSize.width, height: motionManager.interfaceSize.height)
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
    |                                                               |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                               `- note: add 'if #available' version check
102 |             }
103 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:123: error: 'frame(in:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
 99 |                     .deviceRotationEffect(type, distance: distance, perspective: perspective, offsetRotation: offsetRotation, isShowingInFourDirections: isShowingInFourDirections)
100 |                     .frame(width: motionManager.interfaceSize.width, height: motionManager.interfaceSize.height)
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
    |                                                                                                                           |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                                                                                           `- note: add 'if #available' version check
102 |             }
103 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:96:44: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
    |                                            |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
 97 |             GeometryReader { proxy in
 98 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
102 |             }
103 |         } else {
104 |             Color.clear
    |             |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
105 |         }
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: error: 'Color' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
102 |             }
103 |         } else {
104 |             Color.clear
    |             |- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
105 |         }
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:19: error: 'clear' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
102 |             }
103 |         } else {
104 |             Color.clear
    |                   |- error: 'clear' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
105 |         }
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
102 |             }
103 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
104 |             Color.clear
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
    :
101 |                     .offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
102 |             }
103 |         } else {
    |                |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
104 |             Color.clear
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:32: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 16 | ///
 17 | /// - Requires: ``motionManager(updateInterval:disabled:)`` must be added only once in your app somewhere above this view in the heirarchy.
 18 | public struct LookingGlass<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 19 |     @EnvironmentObject var motionManager: MotionManager
 20 |
    :
 93 |     }
 94 |
 95 |     public var body: some View {
    |                |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 96 |         if motionManager.isDetectingMotion {
 97 |             GeometryReader { proxy in
[20/22] Compiling LookingGlassUI ShimmerMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerMode.swift:17:35: error: 'ColorScheme' is only available in macOS 10.15 or newer
 9 |
10 | /// Mode that toggles a `Bool` based on supplied `ColorScheme`
11 | public enum ShimmerMode: Int, Sendable {
   |             `- note: add @available attribute to enclosing enum
12 |     case off, on, darkModeOnly, lightModeOnly
13 |
   :
15 |     /// - Parameter colorScheme: Used to evaluate `Bool` state
16 |     /// - Returns: on/off `Bool` based on supplied `ColorScheme`
17 |     public func isOn(colorScheme: ColorScheme) -> Bool {
   |                 |                 `- error: 'ColorScheme' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
18 |         switch self {
19 |         case .off:
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:15:20: error: 'colorScheme' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   |                    `- error: 'colorScheme' is only available in macOS 10.15 or newer
16 |
17 |     let mode: ShimmerMode
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:14:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
15 |     @Environment(\.colorScheme) var colorScheme
16 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:15:6: error: 'Environment' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
16 |
17 |     let mode: ShimmerMode
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:18:16: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
16 |
17 |     let mode: ShimmerMode
18 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
19 |     let background: Color
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:19:21: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
17 |     let mode: ShimmerMode
18 |     let color: Color
19 |     let background: Color
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
20 |
21 |     let startRadius: CGFloat = 5
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:26:16: error: 'Angle' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
24 |     let aspectRatio: CGFloat = 0.5
25 |     let distance: CGFloat = 4000
26 |     let pitch: Angle = .degrees(45)
   |                `- error: 'Angle' is only available in macOS 10.15 or newer
27 |     let yaw: Angle = .zero
28 |     let localRoll: Angle = .degrees(-30)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:27:14: error: 'Angle' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
25 |     let distance: CGFloat = 4000
26 |     let pitch: Angle = .degrees(45)
27 |     let yaw: Angle = .zero
   |              `- error: 'Angle' is only available in macOS 10.15 or newer
28 |     let localRoll: Angle = .degrees(-30)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:27:23: error: 'zero' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
25 |     let distance: CGFloat = 4000
26 |     let pitch: Angle = .degrees(45)
27 |     let yaw: Angle = .zero
   |                       `- error: 'zero' is only available in macOS 10.15 or newer
28 |     let localRoll: Angle = .degrees(-30)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:28:20: error: 'Angle' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
26 |     let pitch: Angle = .degrees(45)
27 |     let yaw: Angle = .zero
28 |     let localRoll: Angle = .degrees(-30)
   |                    `- error: 'Angle' is only available in macOS 10.15 or newer
29 |
30 |     /// Creates a shimmering view based on device orientation
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:50: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
36 |     ///   - color: Shimmer color
37 |     ///   - background: Background color
38 |     public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
   |            |                                     `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
39 |         self.mode = mode ?? .on
40 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:69: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
36 |     ///   - color: Shimmer color
37 |     ///   - background: Background color
38 |     public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
   |            |                                                        `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
39 |         self.mode = mode ?? .on
40 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:36: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
50 |     ///   - color: Shimmer color
51 |     ///   - background: Background color
52 |     public init(isOn: Bool, color: Color, background: Color) {
   |            |                       `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
53 |         self.init(mode: isOn ? .on : .off, color: color, background: background)
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:55: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
50 |     ///   - color: Shimmer color
51 |     ///   - background: Background color
52 |     public init(isOn: Bool, color: Color, background: Color) {
   |            |                                          `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
53 |         self.init(mode: isOn ? .on : .off, color: color, background: background)
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:27: error: 'View' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:62:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
63 |                 VStack {
64 |                     if isShimmering {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: error: 'VStack' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
63 |                 VStack {
   |                 |- error: 'VStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
64 |                     if isShimmering {
65 |                         LookingGlass(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
63 |                 VStack {
   |                 |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
64 |                     if isShimmering {
65 |                         LookingGlass(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:29: error: 'RadialGradient' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
72 |                             isShowingInFourDirections: true
73 |                         ) {
74 |                             RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
   |                             |- error: 'RadialGradient' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
75 |                                 .frame(width: endRadius * 2, height: endRadius * 2)
76 |                                 .scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:54: error: 'Gradient' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
72 |                             isShowingInFourDirections: true
73 |                         ) {
74 |                             RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
   |                                                      |- error: 'Gradient' is only available in macOS 10.15 or newer
   |                                                      `- note: add 'if #available' version check
75 |                                 .frame(width: endRadius * 2, height: endRadius * 2)
76 |                                 .scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:75:34: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
73 |                         ) {
74 |                             RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
75 |                                 .frame(width: endRadius * 2, height: endRadius * 2)
   |                                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
76 |                                 .scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
77 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:76:34: error: 'scaleEffect(x:y:anchor:)' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
74 |                             RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
75 |                                 .frame(width: endRadius * 2, height: endRadius * 2)
76 |                                 .scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
   |                                  |- error: 'scaleEffect(x:y:anchor:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
77 |                         }
78 |                         .clipped()
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:78:26: error: 'clipped(antialiased:)' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
76 |                                 .scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
77 |                         }
78 |                         .clipped()
   |                          |- error: 'clipped(antialiased:)' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
79 |                     }
80 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:64:37: error: 'buildIf' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
63 |                 VStack {
64 |                     if isShimmering {
   |                                     |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
65 |                         LookingGlass(
66 |                             .reflection,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:79:21: error: 'buildIf' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
77 |                         }
78 |                         .clipped()
79 |                     }
   |                     |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
80 |                 }
81 |                 /// This ensures the shimmering effect does not change the content shape for hit testing and accessibility purporses.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:24: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
63 |                 VStack {
   |                        |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
64 |                     if isShimmering {
65 |                         LookingGlass(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:82:22: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
80 |                 }
81 |                 /// This ensures the shimmering effect does not change the content shape for hit testing and accessibility purporses.
82 |                     .contentShape(EmptyShape())
   |                      |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
83 |             )
84 |     }
[21/22] Compiling LookingGlassUI ShimmerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerMode.swift:17:35: error: 'ColorScheme' is only available in macOS 10.15 or newer
 9 |
10 | /// Mode that toggles a `Bool` based on supplied `ColorScheme`
11 | public enum ShimmerMode: Int, Sendable {
   |             `- note: add @available attribute to enclosing enum
12 |     case off, on, darkModeOnly, lightModeOnly
13 |
   :
15 |     /// - Parameter colorScheme: Used to evaluate `Bool` state
16 |     /// - Returns: on/off `Bool` based on supplied `ColorScheme`
17 |     public func isOn(colorScheme: ColorScheme) -> Bool {
   |                 |                 `- error: 'ColorScheme' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
18 |         switch self {
19 |         case .off:
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:15:20: error: 'colorScheme' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   |                    `- error: 'colorScheme' is only available in macOS 10.15 or newer
16 |
17 |     let mode: ShimmerMode
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:14:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
15 |     @Environment(\.colorScheme) var colorScheme
16 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:15:6: error: 'Environment' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
16 |
17 |     let mode: ShimmerMode
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:18:16: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
16 |
17 |     let mode: ShimmerMode
18 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
19 |     let background: Color
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:19:21: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
17 |     let mode: ShimmerMode
18 |     let color: Color
19 |     let background: Color
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
20 |
21 |     let startRadius: CGFloat = 5
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:26:16: error: 'Angle' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
24 |     let aspectRatio: CGFloat = 0.5
25 |     let distance: CGFloat = 4000
26 |     let pitch: Angle = .degrees(45)
   |                `- error: 'Angle' is only available in macOS 10.15 or newer
27 |     let yaw: Angle = .zero
28 |     let localRoll: Angle = .degrees(-30)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:27:14: error: 'Angle' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
25 |     let distance: CGFloat = 4000
26 |     let pitch: Angle = .degrees(45)
27 |     let yaw: Angle = .zero
   |              `- error: 'Angle' is only available in macOS 10.15 or newer
28 |     let localRoll: Angle = .degrees(-30)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:27:23: error: 'zero' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
25 |     let distance: CGFloat = 4000
26 |     let pitch: Angle = .degrees(45)
27 |     let yaw: Angle = .zero
   |                       `- error: 'zero' is only available in macOS 10.15 or newer
28 |     let localRoll: Angle = .degrees(-30)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:28:20: error: 'Angle' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
26 |     let pitch: Angle = .degrees(45)
27 |     let yaw: Angle = .zero
28 |     let localRoll: Angle = .degrees(-30)
   |                    `- error: 'Angle' is only available in macOS 10.15 or newer
29 |
30 |     /// Creates a shimmering view based on device orientation
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:50: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
36 |     ///   - color: Shimmer color
37 |     ///   - background: Background color
38 |     public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
   |            |                                     `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
39 |         self.mode = mode ?? .on
40 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:69: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
36 |     ///   - color: Shimmer color
37 |     ///   - background: Background color
38 |     public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
   |            |                                                        `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
39 |         self.mode = mode ?? .on
40 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:36: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
50 |     ///   - color: Shimmer color
51 |     ///   - background: Background color
52 |     public init(isOn: Bool, color: Color, background: Color) {
   |            |                       `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
53 |         self.init(mode: isOn ? .on : .off, color: color, background: background)
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:55: error: 'Color' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
50 |     ///   - color: Shimmer color
51 |     ///   - background: Background color
52 |     public init(isOn: Bool, color: Color, background: Color) {
   |            |                                          `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
53 |         self.init(mode: isOn ? .on : .off, color: color, background: background)
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:27: error: 'View' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:62:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
63 |                 VStack {
64 |                     if isShimmering {
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: error: 'VStack' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
63 |                 VStack {
   |                 |- error: 'VStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
64 |                     if isShimmering {
65 |                         LookingGlass(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
63 |                 VStack {
   |                 |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
64 |                     if isShimmering {
65 |                         LookingGlass(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:29: error: 'RadialGradient' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
72 |                             isShowingInFourDirections: true
73 |                         ) {
74 |                             RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
   |                             |- error: 'RadialGradient' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
75 |                                 .frame(width: endRadius * 2, height: endRadius * 2)
76 |                                 .scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:54: error: 'Gradient' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
72 |                             isShowingInFourDirections: true
73 |                         ) {
74 |                             RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
   |                                                      |- error: 'Gradient' is only available in macOS 10.15 or newer
   |                                                      `- note: add 'if #available' version check
75 |                                 .frame(width: endRadius * 2, height: endRadius * 2)
76 |                                 .scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:75:34: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
73 |                         ) {
74 |                             RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
75 |                                 .frame(width: endRadius * 2, height: endRadius * 2)
   |                                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
76 |                                 .scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
77 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:76:34: error: 'scaleEffect(x:y:anchor:)' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
74 |                             RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
75 |                                 .frame(width: endRadius * 2, height: endRadius * 2)
76 |                                 .scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
   |                                  |- error: 'scaleEffect(x:y:anchor:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
77 |                         }
78 |                         .clipped()
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:78:26: error: 'clipped(antialiased:)' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
76 |                                 .scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
77 |                         }
78 |                         .clipped()
   |                          |- error: 'clipped(antialiased:)' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
79 |                     }
80 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:64:37: error: 'buildIf' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
63 |                 VStack {
64 |                     if isShimmering {
   |                                     |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
65 |                         LookingGlass(
66 |                             .reflection,
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:79:21: error: 'buildIf' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
77 |                         }
78 |                         .clipped()
79 |                     }
   |                     |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
80 |                 }
81 |                 /// This ensures the shimmering effect does not change the content shape for hit testing and accessibility purporses.
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:24: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
63 |                 VStack {
   |                        |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
64 |                     if isShimmering {
65 |                         LookingGlass(
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:82:22: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
11 | ///
12 | /// Takes all available space similar to `Color`
13 | public struct ShimmerView: View {
   |               `- note: add @available attribute to enclosing struct
14 |     @EnvironmentObject var motionManager: MotionManager
15 |     @Environment(\.colorScheme) var colorScheme
   :
58 |     }
59 |
60 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
61 |         background
62 |             .overlay(
   :
80 |                 }
81 |                 /// This ensures the shimmering effect does not change the content shape for hit testing and accessibility purporses.
82 |                     .contentShape(EmptyShape())
   |                      |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
83 |             )
84 |     }
[22/22] Compiling LookingGlassUI resource_bundle_accessor.swift
BUILD FAILURE 6.0 macosSpm