Build Information
Failed to build LookingGlassUI, reference main (4ee892
), with Swift 5.10 for macOS (SPM) on 9 Oct 2024 07:35:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:96:44: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if motionManager.isDetectingMotion {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:96:44: note: add 'if #available' version check
if motionManager.isDetectingMotion {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: error: 'Color' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:19: error: 'clear' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:19: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:32: note: add 'if #available' version check
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
[10/21] Compiling LookingGlassUI LookingGlass.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/InfoDictionary.swift:12:43: error: cannot find type 'UIDeviceOrientation' in scope
static let supportedOrientations: Set<UIDeviceOrientation> = {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:19:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject var motionManager: MotionManager
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:79:16: error: 'Angle' is only available in macOS 10.15 or newer
pitch: Angle? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:75:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:80:14: error: 'Angle' is only available in macOS 10.15 or newer
yaw: Angle? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:75:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:81:20: error: 'Angle' is only available in macOS 10.15 or newer
localRoll: Angle? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:75:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:37: error: 'View' is only available in macOS 10.15 or newer
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:97:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { proxy in
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:97:13: note: add 'if #available' version check
GeometryReader { proxy in
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/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
.frame(width: motionManager.interfaceSize.width, height: motionManager.interfaceSize.height)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:100:22: note: add 'if #available' version check
.frame(width: motionManager.interfaceSize.width, height: motionManager.interfaceSize.height)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/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
.offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:22: note: add 'if #available' version check
.offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:63: error: 'frame(in:)' is only available in macOS 10.15 or newer
.offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:63: note: add 'if #available' version check
.offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:123: error: 'frame(in:)' is only available in macOS 10.15 or newer
.offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:101:123: note: add 'if #available' version check
.offset(x: (proxy.size.width / 2) - proxy.frame(in: .global).midX, y: (proxy.size.height / 2) - proxy.frame(in: .global).midY)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:96:44: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if motionManager.isDetectingMotion {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:96:44: note: add 'if #available' version check
if motionManager.isDetectingMotion {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: error: 'Color' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:13: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:19: error: 'clear' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:104:19: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:103:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:32: note: add 'if #available' version check
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:95:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/LookingGlass.swift:18:15: note: add @available attribute to enclosing generic struct
public struct LookingGlass<Content: View>: View {
^
[11/21] Compiling LookingGlassUI MotionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:29:59: error: cannot find type 'UIDeviceOrientation' in scope
@Published public private(set) var deviceOrientation: UIDeviceOrientation = .unknown
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:19:29: error: cannot find 'UIScreen' in scope
static let screenSize = UIScreen.main.bounds.size
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:22:29: error: 'CMMotionManager' is unavailable in macOS
private let cmManager = CMMotionManager()
^~~~~~~~~~~~~~~
CoreMotion.CMMotionManager:2:12: note: 'CMMotionManager' has been explicitly marked unavailable here
open class CMMotionManager : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:25:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var updateInterval: TimeInterval = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:27:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var disabled: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var deviceOrientation: UIDeviceOrientation = .unknown
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:32:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var animatedQuaternion: Quat = .identity
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:35:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var quaternion: Quat = .identity
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:40:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var initialDeviceRotation: Quat? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:186:8: note: add @available attribute to enclosing struct
struct MotionManager_Previews: PreviewProvider {
^
<unknown>:0: error: key path value type 'KeyPath<MotionManager, TimeInterval>' (aka 'KeyPath<MotionManager, Double>') cannot be converted to contextual type 'ReferenceWritableKeyPath<MotionManager, TimeInterval>' (aka 'ReferenceWritableKeyPath<MotionManager, Double>')
<unknown>:0: error: key path value type 'KeyPath<MotionManager, Bool>' cannot be converted to contextual type 'ReferenceWritableKeyPath<MotionManager, Bool>'
<unknown>:0: error: key path value type 'KeyPath<MotionManager, Quat>' cannot be converted to contextual type 'ReferenceWritableKeyPath<MotionManager, Quat>'
<unknown>:0: error: key path value type 'KeyPath<MotionManager, Quat>' cannot be converted to contextual type 'ReferenceWritableKeyPath<MotionManager, Quat>'
<unknown>:0: error: key path value type 'KeyPath<MotionManager, Quat?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<MotionManager, Quat?>'
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:86:30: error: cannot find 'UIDevice' in scope
let newOrientation = UIDevice.current.orientation
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/InfoDictionary.swift:12:43: error: cannot find type 'UIDeviceOrientation' in scope
static let supportedOrientations: Set<UIDeviceOrientation> = {
^~~~~~~~~~~~~~~~~~~
/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
initialDeviceRotation = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:93:13: note: add 'if #available' version check
initialDeviceRotation = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:85:17: note: add @available attribute to enclosing instance method
public func changeDeviceOrientation() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
updateInterval = newUpdateInterval
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:103:13: note: add 'if #available' version check
updateInterval = newUpdateInterval
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:101:17: note: add @available attribute to enclosing instance method
public func setUpdateInterval(_ newUpdateInterval: TimeInterval) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
disabled = newDisabled
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:112:13: note: add 'if #available' version check
disabled = newDisabled
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:110:17: note: add @available attribute to enclosing instance method
public func setDisabled(_ newDisabled: Bool) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
self.disabled = disabled
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:125:13: note: add 'if #available' version check
self.disabled = disabled
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:122:17: note: add @available attribute to enclosing instance method
public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
self.updateInterval = updateInterval
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:129:13: note: add 'if #available' version check
self.updateInterval = updateInterval
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:122:17: note: add @available attribute to enclosing instance method
public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:133:34: error: cannot find 'UIDevice' in scope
let newOrientation = UIDevice.current.orientation
^~~~~~~~
/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
initialDeviceRotation = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:136:17: note: add 'if #available' version check
initialDeviceRotation = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:122:17: note: add @available attribute to enclosing instance method
public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
self.initialDeviceRotation = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:169:21: note: add 'if #available' version check
self.initialDeviceRotation = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
self.quaternion = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:172:17: note: add 'if #available' version check
self.quaternion = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:17: note: add 'if #available' version check
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:31: error: 'Animation' is only available in macOS 10.15 or newer
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:31: note: add 'if #available' version check
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:41: error: 'linear(duration:)' is only available in macOS 10.15 or newer
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:41: note: add 'if #available' version check
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
self.animatedQuaternion = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:174:21: note: add 'if #available' version check
self.animatedQuaternion = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:9: note: add 'if #available' version check
Color.blue
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:186:8: note: add @available attribute to enclosing struct
struct MotionManager_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:15: note: add 'if #available' version check
Color.blue
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:186:8: note: add @available attribute to enclosing struct
struct MotionManager_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:189:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
.motionManager(updateInterval: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:189:14: note: add 'if #available' version check
.motionManager(updateInterval: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:186:8: note: add @available attribute to enclosing struct
struct MotionManager_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:11:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject var motionManager = MotionManager.shared
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct MotionManagerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:16:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:16:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct MotionManagerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:52:92: error: 'View' is only available in macOS 10.15 or newer
func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:52:10: note: add @available attribute to enclosing instance method
func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:43:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:19:66: error: cannot find 'UIDevice' in scope
.onReceive(NotificationCenter.default.publisher(for: UIDevice.orientationDidChangeNotification)) { _ in
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:22:66: error: cannot find 'UIApplication' in scope
.onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:25:66: error: cannot find 'UIApplication' in scope
.onReceive(NotificationCenter.default.publisher(for: UIApplication.didEnterBackgroundNotification)) { _ in
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:53:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(MotionManagerViewModifier(updateInterval: updateInterval, disabled: disabled))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:53:14: note: add 'if #available' version check
self.modifier(MotionManagerViewModifier(updateInterval: updateInterval, disabled: disabled))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:52:10: note: add @available attribute to enclosing instance method
func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
[12/21] Compiling LookingGlassUI MotionManagerViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:29:59: error: cannot find type 'UIDeviceOrientation' in scope
@Published public private(set) var deviceOrientation: UIDeviceOrientation = .unknown
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:19:29: error: cannot find 'UIScreen' in scope
static let screenSize = UIScreen.main.bounds.size
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:22:29: error: 'CMMotionManager' is unavailable in macOS
private let cmManager = CMMotionManager()
^~~~~~~~~~~~~~~
CoreMotion.CMMotionManager:2:12: note: 'CMMotionManager' has been explicitly marked unavailable here
open class CMMotionManager : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:25:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var updateInterval: TimeInterval = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:27:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var disabled: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var deviceOrientation: UIDeviceOrientation = .unknown
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:32:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var animatedQuaternion: Quat = .identity
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:35:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var quaternion: Quat = .identity
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:40:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var initialDeviceRotation: Quat? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:186:8: note: add @available attribute to enclosing struct
struct MotionManager_Previews: PreviewProvider {
^
<unknown>:0: error: key path value type 'KeyPath<MotionManager, TimeInterval>' (aka 'KeyPath<MotionManager, Double>') cannot be converted to contextual type 'ReferenceWritableKeyPath<MotionManager, TimeInterval>' (aka 'ReferenceWritableKeyPath<MotionManager, Double>')
<unknown>:0: error: key path value type 'KeyPath<MotionManager, Bool>' cannot be converted to contextual type 'ReferenceWritableKeyPath<MotionManager, Bool>'
<unknown>:0: error: key path value type 'KeyPath<MotionManager, Quat>' cannot be converted to contextual type 'ReferenceWritableKeyPath<MotionManager, Quat>'
<unknown>:0: error: key path value type 'KeyPath<MotionManager, Quat>' cannot be converted to contextual type 'ReferenceWritableKeyPath<MotionManager, Quat>'
<unknown>:0: error: key path value type 'KeyPath<MotionManager, Quat?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<MotionManager, Quat?>'
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:86:30: error: cannot find 'UIDevice' in scope
let newOrientation = UIDevice.current.orientation
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/InfoDictionary.swift:12:43: error: cannot find type 'UIDeviceOrientation' in scope
static let supportedOrientations: Set<UIDeviceOrientation> = {
^~~~~~~~~~~~~~~~~~~
/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
initialDeviceRotation = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:93:13: note: add 'if #available' version check
initialDeviceRotation = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:85:17: note: add @available attribute to enclosing instance method
public func changeDeviceOrientation() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
updateInterval = newUpdateInterval
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:103:13: note: add 'if #available' version check
updateInterval = newUpdateInterval
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:101:17: note: add @available attribute to enclosing instance method
public func setUpdateInterval(_ newUpdateInterval: TimeInterval) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
disabled = newDisabled
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:112:13: note: add 'if #available' version check
disabled = newDisabled
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:110:17: note: add @available attribute to enclosing instance method
public func setDisabled(_ newDisabled: Bool) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
self.disabled = disabled
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:125:13: note: add 'if #available' version check
self.disabled = disabled
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:122:17: note: add @available attribute to enclosing instance method
public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
self.updateInterval = updateInterval
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:129:13: note: add 'if #available' version check
self.updateInterval = updateInterval
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:122:17: note: add @available attribute to enclosing instance method
public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:133:34: error: cannot find 'UIDevice' in scope
let newOrientation = UIDevice.current.orientation
^~~~~~~~
/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
initialDeviceRotation = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:136:17: note: add 'if #available' version check
initialDeviceRotation = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:122:17: note: add @available attribute to enclosing instance method
public func startMotionUpdates(updateInterval: TimeInterval? = nil, disabled: Bool? = nil, setDeviceOrientation: Bool = false) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
self.initialDeviceRotation = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:169:21: note: add 'if #available' version check
self.initialDeviceRotation = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
self.quaternion = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:172:17: note: add 'if #available' version check
self.quaternion = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:17: note: add 'if #available' version check
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:31: error: 'Animation' is only available in macOS 10.15 or newer
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:31: note: add 'if #available' version check
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:41: error: 'linear(duration:)' is only available in macOS 10.15 or newer
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:173:41: note: add 'if #available' version check
withAnimation(Animation.linear(duration: self.updateInterval)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/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
self.animatedQuaternion = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:174:21: note: add 'if #available' version check
self.animatedQuaternion = quaternion
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:157:18: note: add @available attribute to enclosing instance method
private func restartMotionUpdatesIfNeeded() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:12:14: note: add @available attribute to enclosing class
public class MotionManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:9: note: add 'if #available' version check
Color.blue
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:186:8: note: add @available attribute to enclosing struct
struct MotionManager_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:188:15: note: add 'if #available' version check
Color.blue
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:186:8: note: add @available attribute to enclosing struct
struct MotionManager_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:189:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
.motionManager(updateInterval: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:189:14: note: add 'if #available' version check
.motionManager(updateInterval: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:187:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManager.swift:186:8: note: add @available attribute to enclosing struct
struct MotionManager_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:11:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject var motionManager = MotionManager.shared
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct MotionManagerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:16:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:16:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct MotionManagerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:52:92: error: 'View' is only available in macOS 10.15 or newer
func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:52:10: note: add @available attribute to enclosing instance method
func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:43:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:19:66: error: cannot find 'UIDevice' in scope
.onReceive(NotificationCenter.default.publisher(for: UIDevice.orientationDidChangeNotification)) { _ in
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:22:66: error: cannot find 'UIApplication' in scope
.onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:25:66: error: cannot find 'UIApplication' in scope
.onReceive(NotificationCenter.default.publisher(for: UIApplication.didEnterBackgroundNotification)) { _ in
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:53:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(MotionManagerViewModifier(updateInterval: updateInterval, disabled: disabled))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:53:14: note: add 'if #available' version check
self.modifier(MotionManagerViewModifier(updateInterval: updateInterval, disabled: disabled))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:52:10: note: add @available attribute to enclosing instance method
func motionManager(updateInterval: TimeInterval = 0.1, disabled: Bool = false) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/MotionManagerViewModifier.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
[13/21] 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
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:10:1: note: add @available attribute to enclosing extension
extension View {
^
/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
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:10:1: note: add @available attribute to enclosing extension
extension View {
^
/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
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:23:17: note: add @available attribute to enclosing instance method
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:10:1: note: add @available attribute to enclosing extension
extension View {
^
/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
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:23:17: note: add @available attribute to enclosing instance method
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:10:1: note: add @available attribute to enclosing extension
extension View {
^
/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
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Public/View+rotation3DEffect.swift:10:1: note: add @available attribute to enclosing extension
extension 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
.rotation3DEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Public/View+rotation3DEffect.swift:25:14: note: add 'if #available' version check
.rotation3DEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Public/View+rotation3DEffect.swift:23:17: note: add @available attribute to enclosing instance method
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:10:1: note: add @available attribute to enclosing extension
extension View {
^
[14/21] Compiling LookingGlassUI DeviceRotationEffectViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:28:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject var motionManager: MotionManager
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct DeviceRotationEffectViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct DeviceRotationEffectViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:120:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:114:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:149:16: error: 'Angle' is only available in macOS 10.15 or newer
pitch: Angle? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:145:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:150:14: error: 'Angle' is only available in macOS 10.15 or newer
yaw: Angle? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:145:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:151:20: error: 'Angle' is only available in macOS 10.15 or newer
localRoll: Angle? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:145:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:153:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:145:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:95:44: error: 'buildIf' is only available in macOS 10.15 or newer
if motionManager.isDetectingMotion {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:95:44: note: add 'if #available' version check
if motionManager.isDetectingMotion {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct DeviceRotationEffectViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:98:9: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:98:9: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct DeviceRotationEffectViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:46: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:46: note: add 'if #available' version check
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct DeviceRotationEffectViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:121:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:121:14: note: add 'if #available' version check
self.modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:114:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:14:35: error: 'Path' is only available in macOS 10.15 or newer
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:14:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:11:8: note: add @available attribute to enclosing struct
struct EmptyShape: InsettableShape {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:15:9: error: 'Path' is only available in macOS 10.15 or newer
Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:15:9: note: add 'if #available' version check
Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:14:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:11:8: note: add @available attribute to enclosing struct
struct EmptyShape: InsettableShape {
^
[15/21] 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
@EnvironmentObject var motionManager: MotionManager
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct DeviceRotationEffectViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct DeviceRotationEffectViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:120:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:114:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:149:16: error: 'Angle' is only available in macOS 10.15 or newer
pitch: Angle? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:145:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:150:14: error: 'Angle' is only available in macOS 10.15 or newer
yaw: Angle? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:145:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:151:20: error: 'Angle' is only available in macOS 10.15 or newer
localRoll: Angle? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:145:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:153:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:145:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:95:44: error: 'buildIf' is only available in macOS 10.15 or newer
if motionManager.isDetectingMotion {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:95:44: note: add 'if #available' version check
if motionManager.isDetectingMotion {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct DeviceRotationEffectViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:98:9: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:98:9: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct DeviceRotationEffectViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:46: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:46: note: add 'if #available' version check
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:94:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct DeviceRotationEffectViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:121:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:121:14: note: add 'if #available' version check
self.modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:114:10: note: add @available attribute to enclosing instance method
func deviceRotationEffect(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/DeviceRotationEffectViewModifier.swift:102:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:14:35: error: 'Path' is only available in macOS 10.15 or newer
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:14:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:11:8: note: add @available attribute to enclosing struct
struct EmptyShape: InsettableShape {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:15:9: error: 'Path' is only available in macOS 10.15 or newer
Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:15:9: note: add 'if #available' version check
Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:14:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/EmptyShape.swift:11:8: note: add @available attribute to enclosing struct
struct EmptyShape: InsettableShape {
^
[16/21] 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
public func isOn(colorScheme: ColorScheme) -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerMode.swift:17:17: note: add @available attribute to enclosing instance method
public func isOn(colorScheme: ColorScheme) -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerMode.swift:11:13: note: add @available attribute to enclosing enum
public enum ShimmerMode: Int, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:15:20: error: 'colorScheme' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:14:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject var motionManager: MotionManager
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:15:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:18:16: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:19:21: error: 'Color' is only available in macOS 10.15 or newer
let background: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:26:16: error: 'Angle' is only available in macOS 10.15 or newer
let pitch: Angle = .degrees(45)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:27:14: error: 'Angle' is only available in macOS 10.15 or newer
let yaw: Angle = .zero
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:27:23: error: 'zero' is only available in macOS 10.15 or newer
let yaw: Angle = .zero
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:28:20: error: 'Angle' is only available in macOS 10.15 or newer
let localRoll: Angle = .degrees(-30)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:50: error: 'Color' is only available in macOS 10.15 or newer
public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:12: note: add @available attribute to enclosing initializer
public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:69: error: 'Color' is only available in macOS 10.15 or newer
public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:12: note: add @available attribute to enclosing initializer
public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:36: error: 'Color' is only available in macOS 10.15 or newer
public init(isOn: Bool, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:12: note: add @available attribute to enclosing initializer
public init(isOn: Bool, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:55: error: 'Color' is only available in macOS 10.15 or newer
public init(isOn: Bool, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:12: note: add @available attribute to enclosing initializer
public init(isOn: Bool, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:62:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:62:14: note: add 'if #available' version check
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:29: error: 'RadialGradient' is only available in macOS 10.15 or newer
RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:29: note: add 'if #available' version check
RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:54: error: 'Gradient' is only available in macOS 10.15 or newer
RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:54: note: add 'if #available' version check
RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/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
.frame(width: endRadius * 2, height: endRadius * 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:75:34: note: add 'if #available' version check
.frame(width: endRadius * 2, height: endRadius * 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/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
.scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:76:34: note: add 'if #available' version check
.scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:78:26: error: 'clipped(antialiased:)' is only available in macOS 10.15 or newer
.clipped()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:78:26: note: add 'if #available' version check
.clipped()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:64:37: error: 'buildIf' is only available in macOS 10.15 or newer
if isShimmering {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:64:37: note: add 'if #available' version check
if isShimmering {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:79:21: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:79:21: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:24: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:24: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:82:22: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
.contentShape(EmptyShape())
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:82:22: note: add 'if #available' version check
.contentShape(EmptyShape())
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
[17/21] 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
public func isOn(colorScheme: ColorScheme) -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerMode.swift:17:17: note: add @available attribute to enclosing instance method
public func isOn(colorScheme: ColorScheme) -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerMode.swift:11:13: note: add @available attribute to enclosing enum
public enum ShimmerMode: Int, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:15:20: error: 'colorScheme' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:14:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject var motionManager: MotionManager
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:15:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:18:16: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:19:21: error: 'Color' is only available in macOS 10.15 or newer
let background: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:26:16: error: 'Angle' is only available in macOS 10.15 or newer
let pitch: Angle = .degrees(45)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:27:14: error: 'Angle' is only available in macOS 10.15 or newer
let yaw: Angle = .zero
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:27:23: error: 'zero' is only available in macOS 10.15 or newer
let yaw: Angle = .zero
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:28:20: error: 'Angle' is only available in macOS 10.15 or newer
let localRoll: Angle = .degrees(-30)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:50: error: 'Color' is only available in macOS 10.15 or newer
public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:12: note: add @available attribute to enclosing initializer
public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:69: error: 'Color' is only available in macOS 10.15 or newer
public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:38:12: note: add @available attribute to enclosing initializer
public init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:36: error: 'Color' is only available in macOS 10.15 or newer
public init(isOn: Bool, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:12: note: add @available attribute to enclosing initializer
public init(isOn: Bool, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:55: error: 'Color' is only available in macOS 10.15 or newer
public init(isOn: Bool, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:52:12: note: add @available attribute to enclosing initializer
public init(isOn: Bool, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:62:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:62:14: note: add 'if #available' version check
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:17: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:29: error: 'RadialGradient' is only available in macOS 10.15 or newer
RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:29: note: add 'if #available' version check
RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:54: error: 'Gradient' is only available in macOS 10.15 or newer
RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:74:54: note: add 'if #available' version check
RadialGradient(gradient: Gradient(colors: [color, background]), center: .center, startRadius: startRadius, endRadius: endRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/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
.frame(width: endRadius * 2, height: endRadius * 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:75:34: note: add 'if #available' version check
.frame(width: endRadius * 2, height: endRadius * 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/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
.scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:76:34: note: add 'if #available' version check
.scaleEffect(x: scale * aspectRatio, y: scale / aspectRatio, anchor: .center)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:78:26: error: 'clipped(antialiased:)' is only available in macOS 10.15 or newer
.clipped()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:78:26: note: add 'if #available' version check
.clipped()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:64:37: error: 'buildIf' is only available in macOS 10.15 or newer
if isShimmering {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:64:37: note: add 'if #available' version check
if isShimmering {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:79:21: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:79:21: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:24: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:63:24: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:82:22: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
.contentShape(EmptyShape())
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:82:22: note: add 'if #available' version check
.contentShape(EmptyShape())
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:60:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerView.swift:13:15: note: add @available attribute to enclosing struct
public struct ShimmerView: View {
^
[18/21] Compiling LookingGlassUI ShimmerViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:12:20: error: 'colorScheme' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) private var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject private var motionManager: MotionManager
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) private var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:14:6: error: 'Namespace' is only available in macOS 11.0 or newer
@Namespace private var namespace
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:17:16: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:18:21: error: 'Color' is only available in macOS 10.15 or newer
let background: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:19:20: error: 'BlendMode' is only available in macOS 10.15 or newer
let blendMode: BlendMode
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:21:43: error: 'Color' is only available in macOS 10.15 or newer
init(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:21:5: note: add @available attribute to enclosing initializer
init(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:21:61: error: 'BlendMode' is only available in macOS 10.15 or newer
init(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:21:5: note: add @available attribute to enclosing initializer
init(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:28:43: error: 'Color' is only available in macOS 10.15 or newer
init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:28:5: note: add @available attribute to enclosing initializer
init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:28:62: error: 'Color' is only available in macOS 10.15 or newer
init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:28:5: note: add @available attribute to enclosing initializer
init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:39:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:51: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:70: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:85: error: 'View' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:37: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:56: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:71: error: 'View' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:51: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:69: error: 'BlendMode' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:95: error: 'View' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:37: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:55: error: 'BlendMode' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:81: error: 'View' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:24:28: error: 'clear' is only available in macOS 10.15 or newer
self.background = .clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:24:28: note: add 'if #available' version check
self.background = .clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:21:5: note: add @available attribute to enclosing initializer
init(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:42:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:42:14: note: add 'if #available' version check
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:17: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:17: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:17: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:46:30: error: 'hidden()' is only available in macOS 10.15 or newer
.hidden()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:46:30: note: add 'if #available' version check
.hidden()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:47:30: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:47:30: note: add 'if #available' version check
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:50:30: error: 'mask' is only available in macOS 10.15 or newer
.mask(content)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:50:30: note: add 'if #available' version check
.mask(content)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:51:30: error: 'blendMode' is only available in macOS 10.15 or newer
.blendMode(blendMode)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:51:30: note: add 'if #available' version check
.blendMode(blendMode)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:52:30: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
.accessibilityHidden(true)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:52:30: note: add 'if #available' version check
.accessibilityHidden(true)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:53:30: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
.allowsHitTesting(false)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:53:30: note: add 'if #available' version check
.allowsHitTesting(false)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:44:37: error: 'buildIf' is only available in macOS 10.15 or newer
if isShimmering {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:44:37: note: add 'if #available' version check
if isShimmering {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:54:21: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:54:21: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:24: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:24: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:71:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ShimmerViewModifier(mode: mode, color: color, background: background))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:71:14: note: add 'if #available' version check
self.modifier(ShimmerViewModifier(mode: mode, color: color, background: background))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:84:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ShimmerViewModifier(mode: isOn ? .on : .off, color: color, background: background))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:84:14: note: add 'if #available' version check
self.modifier(ShimmerViewModifier(mode: isOn ? .on : .off, color: color, background: background))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:97:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ShimmerViewModifier(mode: mode, color: color, blendMode: blendMode))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:97:14: note: add 'if #available' version check
self.modifier(ShimmerViewModifier(mode: mode, color: color, blendMode: blendMode))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:110:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ShimmerViewModifier(mode: isOn ? .on : .off, color: color, blendMode: blendMode))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:110:14: note: add 'if #available' version check
self.modifier(ShimmerViewModifier(mode: isOn ? .on : .off, color: color, blendMode: blendMode))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Internal/UIDeviceOrientation-extension.swift:10:11: error: cannot find type 'UIDeviceOrientation' in scope
extension UIDeviceOrientation {
^~~~~~~~~~~~~~~~~~~
[19/21] Compiling LookingGlassUI UIDeviceOrientation-extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:12:20: error: 'colorScheme' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) private var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject private var motionManager: MotionManager
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) private var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:14:6: error: 'Namespace' is only available in macOS 11.0 or newer
@Namespace private var namespace
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:17:16: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:18:21: error: 'Color' is only available in macOS 10.15 or newer
let background: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:19:20: error: 'BlendMode' is only available in macOS 10.15 or newer
let blendMode: BlendMode
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:21:43: error: 'Color' is only available in macOS 10.15 or newer
init(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:21:5: note: add @available attribute to enclosing initializer
init(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:21:61: error: 'BlendMode' is only available in macOS 10.15 or newer
init(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:21:5: note: add @available attribute to enclosing initializer
init(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:28:43: error: 'Color' is only available in macOS 10.15 or newer
init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:28:5: note: add @available attribute to enclosing initializer
init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:28:62: error: 'Color' is only available in macOS 10.15 or newer
init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:28:5: note: add @available attribute to enclosing initializer
init(mode: ShimmerMode? = nil, color: Color, background: Color) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:39:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:51: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:70: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:85: error: 'View' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:37: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:56: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:71: error: 'View' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:51: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:69: error: 'BlendMode' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:95: error: 'View' is only available in macOS 10.15 or newer
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:37: error: 'Color' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:55: error: 'BlendMode' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:81: error: 'View' is only available in macOS 10.15 or newer
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:24:28: error: 'clear' is only available in macOS 10.15 or newer
self.background = .clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:24:28: note: add 'if #available' version check
self.background = .clear
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:21:5: note: add @available attribute to enclosing initializer
init(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:42:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:42:14: note: add 'if #available' version check
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:17: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:17: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:17: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:46:30: error: 'hidden()' is only available in macOS 10.15 or newer
.hidden()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:46:30: note: add 'if #available' version check
.hidden()
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:47:30: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:47:30: note: add 'if #available' version check
.overlay(
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:50:30: error: 'mask' is only available in macOS 10.15 or newer
.mask(content)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:50:30: note: add 'if #available' version check
.mask(content)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:51:30: error: 'blendMode' is only available in macOS 10.15 or newer
.blendMode(blendMode)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:51:30: note: add 'if #available' version check
.blendMode(blendMode)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:52:30: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
.accessibilityHidden(true)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:52:30: note: add 'if #available' version check
.accessibilityHidden(true)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:53:30: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
.allowsHitTesting(false)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:53:30: note: add 'if #available' version check
.allowsHitTesting(false)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:44:37: error: 'buildIf' is only available in macOS 10.15 or newer
if isShimmering {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:44:37: note: add 'if #available' version check
if isShimmering {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:54:21: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:54:21: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:24: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:43:24: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:40:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ShimmerViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:71:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ShimmerViewModifier(mode: mode, color: color, background: background))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:71:14: note: add 'if #available' version check
self.modifier(ShimmerViewModifier(mode: mode, color: color, background: background))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:84:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ShimmerViewModifier(mode: isOn ? .on : .off, color: color, background: background))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:84:14: note: add 'if #available' version check
self.modifier(ShimmerViewModifier(mode: isOn ? .on : .off, color: color, background: background))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:83:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, background: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:97:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ShimmerViewModifier(mode: mode, color: color, blendMode: blendMode))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:97:14: note: add 'if #available' version check
self.modifier(ShimmerViewModifier(mode: mode, color: color, blendMode: blendMode))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:96:10: note: add @available attribute to enclosing instance method
func shimmer(mode: ShimmerMode? = nil, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:110:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ShimmerViewModifier(mode: isOn ? .on : .off, color: color, blendMode: blendMode))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:110:14: note: add 'if #available' version check
self.modifier(ShimmerViewModifier(mode: isOn ? .on : .off, color: color, blendMode: blendMode))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:109:10: note: add @available attribute to enclosing instance method
func shimmer(isOn: Bool, color: Color, blendMode: BlendMode? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ShimmerViewModifier.swift:60:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/_Extensions-Internal/UIDeviceOrientation-extension.swift:10:11: error: cannot find type 'UIDeviceOrientation' in scope
extension UIDeviceOrientation {
^~~~~~~~~~~~~~~~~~~
[20/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
@EnvironmentObject var motionManager: MotionManager
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:10:8: note: add @available attribute to enclosing struct
struct ParallaxViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:37:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:37:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:10:8: note: add @available attribute to enclosing struct
struct ParallaxViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:52:80: error: 'View' is only available in macOS 10.15 or newer
func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:52:10: note: add @available attribute to enclosing instance method
func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:43:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:39:14: error: 'offset' is only available in macOS 10.15 or newer
.offset(parallaxOffset)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:39:14: note: add 'if #available' version check
.offset(parallaxOffset)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:37:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:10:8: note: add @available attribute to enclosing struct
struct ParallaxViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:53:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(ParallaxViewModifier(multiplier: multiplier, maxOffset: maxOffset))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:53:9: note: add 'if #available' version check
modifier(ParallaxViewModifier(multiplier: multiplier, maxOffset: maxOffset))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:52:10: note: add @available attribute to enclosing instance method
func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
[21/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
@EnvironmentObject var motionManager: MotionManager
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:10:8: note: add @available attribute to enclosing struct
struct ParallaxViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:37:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:37:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:10:8: note: add @available attribute to enclosing struct
struct ParallaxViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:52:80: error: 'View' is only available in macOS 10.15 or newer
func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:52:10: note: add @available attribute to enclosing instance method
func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:43:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:39:14: error: 'offset' is only available in macOS 10.15 or newer
.offset(parallaxOffset)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:39:14: note: add 'if #available' version check
.offset(parallaxOffset)
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:37:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:10:8: note: add @available attribute to enclosing struct
struct ParallaxViewModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:53:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(ParallaxViewModifier(multiplier: multiplier, maxOffset: maxOffset))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:53:9: note: add 'if #available' version check
modifier(ParallaxViewModifier(multiplier: multiplier, maxOffset: maxOffset))
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:52:10: note: add @available attribute to enclosing instance method
func parallax(multiplier: CGFloat = 50, maxOffset: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LookingGlassUI/ParallaxView.swift:43:8: note: add @available attribute to enclosing extension
public extension View {
^
[22/22] Compiling LookingGlassUI resource_bundle_accessor.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm