Build Information
Failed to build GradientMaker with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dentedpixel/GradientMaker.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/dentedpixel/GradientMaker
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6ed8979 Create LICENSE
Cloned https://github.com/dentedpixel/GradientMaker.git
Revision (git rev-parse @):
6ed89790cb8f501ab42b3a0869390b811f90960f
SUCCESS checkout https://github.com/dentedpixel/GradientMaker.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/dentedpixel/GradientMaker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module GradientMaker
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:37:11: error: cannot find type 'UIColor' in scope
extension UIColor {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:13:39: error: cannot find type 'UIColor' in scope
public func value(at: CGFloat) -> UIColor {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:11: error: 'Gradient' is only available in macOS 10.15 or newer
extension Gradient {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:1: note: add @available attribute to enclosing extension
extension Gradient {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:12:31: error: cannot find type 'UIWindow' in scope
static var safeKeyWindow: UIWindow? {
^~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:21:32: error: cannot find type 'UIView' in scope
static func when(hasChild: UIView, timeout: Double = 10.0, onComplete: @escaping (UIView)->Void) {
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:21:87: error: cannot find type 'UIView' in scope
static func when(hasChild: UIView, timeout: Double = 10.0, onComplete: @escaping (UIView)->Void) {
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:38:30: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var cancellable: AnyCancellable? = nil
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:39:29: error: cannot find type 'UIColorPickerViewController' in scope
private var pickerView: UIColorPickerViewController?
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:40:29: error: cannot find type 'UIView' in scope
private var background: UIView?
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:42:38: error: cannot find type 'UIViewController' in scope
private var firstViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:40: error: cannot find type 'UIViewController' in scope
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:72: error: 'Color' is only available in macOS 10.15 or newer
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:17: note: add @available attribute to enclosing instance method
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:118: error: 'Color' is only available in macOS 10.15 or newer
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:17: note: add @available attribute to enclosing instance method
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:50: error: 'pink' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:121:22: error: 'Gradient' is only available in macOS 10.15 or newer
@State var stop: Gradient.Stop
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:121:6: error: 'State' is only available in macOS 10.15 or newer
@State var stop: Gradient.Stop
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:123:20: error: 'Gradient' is only available in macOS 10.15 or newer
let onUpdate: (Gradient.Stop) -> Void
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:125:6: error: 'State' is only available in macOS 10.15 or newer
@State private var startX: CGFloat = 0
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:126:6: error: 'State' is only available in macOS 10.15 or newer
@State private var drag = CGSize.zero
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:41: error: 'Color' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:6: error: 'State' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:170:21: error: 'Gradient' is only available in macOS 10.15 or newer
let onUpdate: ([Gradient.Stop]) -> Void
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:171:24: error: 'Gradient' is only available in macOS 10.15 or newer
@State var stops: [Gradient.Stop]
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:171:6: error: 'State' is only available in macOS 10.15 or newer
@State var stops: [Gradient.Stop]
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:25: error: 'Gradient' is only available in macOS 10.15 or newer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:12: note: add @available attribute to enclosing initializer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:63: error: 'Gradient' is only available in macOS 10.15 or newer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:12: note: add @available attribute to enclosing initializer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
[2/3] Compiling GradientMaker GradientMaker.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:12:31: error: cannot find type 'UIWindow' in scope
static var safeKeyWindow: UIWindow? {
^~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:21:32: error: cannot find type 'UIView' in scope
static func when(hasChild: UIView, timeout: Double = 10.0, onComplete: @escaping (UIView)->Void) {
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:21:87: error: cannot find type 'UIView' in scope
static func when(hasChild: UIView, timeout: Double = 10.0, onComplete: @escaping (UIView)->Void) {
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:38:30: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var cancellable: AnyCancellable? = nil
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:39:29: error: cannot find type 'UIColorPickerViewController' in scope
private var pickerView: UIColorPickerViewController?
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:40:29: error: cannot find type 'UIView' in scope
private var background: UIView?
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:42:38: error: cannot find type 'UIViewController' in scope
private var firstViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:40: error: cannot find type 'UIViewController' in scope
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:72: error: 'Color' is only available in macOS 10.15 or newer
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:17: note: add @available attribute to enclosing instance method
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:118: error: 'Color' is only available in macOS 10.15 or newer
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:17: note: add @available attribute to enclosing instance method
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:50: error: 'pink' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:121:22: error: 'Gradient' is only available in macOS 10.15 or newer
@State var stop: Gradient.Stop
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:121:6: error: 'State' is only available in macOS 10.15 or newer
@State var stop: Gradient.Stop
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:123:20: error: 'Gradient' is only available in macOS 10.15 or newer
let onUpdate: (Gradient.Stop) -> Void
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:125:6: error: 'State' is only available in macOS 10.15 or newer
@State private var startX: CGFloat = 0
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:126:6: error: 'State' is only available in macOS 10.15 or newer
@State private var drag = CGSize.zero
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:41: error: 'Color' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:6: error: 'State' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:170:21: error: 'Gradient' is only available in macOS 10.15 or newer
let onUpdate: ([Gradient.Stop]) -> Void
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:171:24: error: 'Gradient' is only available in macOS 10.15 or newer
@State var stops: [Gradient.Stop]
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:171:6: error: 'State' is only available in macOS 10.15 or newer
@State var stops: [Gradient.Stop]
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:25: error: 'Gradient' is only available in macOS 10.15 or newer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:12: note: add @available attribute to enclosing initializer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:63: error: 'Gradient' is only available in macOS 10.15 or newer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:12: note: add @available attribute to enclosing initializer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:49:22: error: cannot find 'UIColorPickerViewController' in scope
let picker = UIColorPickerViewController()
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:51:32: error: cannot find 'UIColor' in scope
picker.selectedColor = UIColor(color)
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:53:45: error: cannot infer key path type from context; consider explicitly specifying a root type
cancellable = picker.publisher(for: \.selectedColor)
^
<#Root#>
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:79:30: error: cannot find 'UIView' in scope
let background = UIView()
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:82:44: error: cannot find 'UIColor' in scope
background.layer.borderColor = UIColor.systemGray.cgColor
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:91:31: error: cannot find 'UITapGestureRecognizer' in scope
let captureTaps = UITapGestureRecognizer(target: self, action: #selector(self.closeChooser))
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:96:31: error: cannot find 'UIButton' in scope
let closeButton = UIButton(type: .close)
^~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:114:22: error: 'nil' requires a contextual type
pickerView = nil
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:116:22: error: 'nil' requires a contextual type
background = nil
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:159:38: error: cannot assign value of type '_' to type 'Color'
stop.color = color
^~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:131:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { geometry in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:131:9: note: add 'if #available' version check
GeometryReader { geometry in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:131:24: warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
GeometryReader { geometry in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:131:24: note: add 'if #available' version check
GeometryReader { geometry in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:132:13: error: 'Circle' is only available in macOS 10.15 or newer
Circle()
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:132:13: note: add 'if #available' version check
Circle()
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:133:18: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear(perform: {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:133:18: note: add 'if #available' version check
.onAppear(perform: {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:136:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(stop.color)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:136:18: note: add 'if #available' version check
.foregroundColor(stop.color)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:137:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: 40, height: 40)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:137:18: note: add 'if #available' version check
.frame(width: 40, height: 40)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:138:18: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
.shadow(radius: 5)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:138:18: note: add 'if #available' version check
.shadow(radius: 5)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:139:18: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:139:18: note: add 'if #available' version check
.overlay(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:21: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:21: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:62: error: 'stroke(_:lineWidth:)' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:62: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:69: error: 'Color' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:69: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:75: error: 'white' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:75: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:142:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(x: min(max(startX + drag.width, 0.0), geometry.size.width-40), y: 0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:142:18: note: add 'if #available' version check
.offset(x: min(max(startX + drag.width, 0.0), geometry.size.width-40), y: 0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:18: error: 'animation' is only available in macOS 10.15 or newer
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:18: note: add 'if #available' version check
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:28: error: 'Animation' is only available in macOS 10.15 or newer
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:28: note: add 'if #available' version check
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:38: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:38: note: add 'if #available' version check
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:47: error: 'speed' is only available in macOS 10.15 or newer
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:47: note: add 'if #available' version check
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:144:18: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:144:18: note: add 'if #available' version check
.gesture(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:145:21: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture().onChanged{ (value) in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:145:21: note: add 'if #available' version check
DragGesture().onChanged{ (value) in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:145:35: error: 'onChanged' is only available in macOS 10.15 or newer
DragGesture().onChanged{ (value) in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:145:35: note: add 'if #available' version check
DragGesture().onChanged{ (value) in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:152:23: error: 'onEnded' is only available in macOS 10.15 or newer
}.onEnded { _ in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:152:23: note: add 'if #available' version check
}.onEnded { _ in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:156:19: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
).onTapGesture {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:156:19: note: add 'if #available' version check
).onTapGesture {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:179:24: error: 'Gradient' is only available in macOS 10.15 or newer
let gradient = Gradient(stops: stops)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:179:24: note: add 'if #available' version check
let gradient = Gradient(stops: stops)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:180:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:180:9: note: add 'if #available' version check
VStack {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:13: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:32: error: 'topLeading' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:32: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:185:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 20)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:185:17: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 20)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:186:22: error: 'fill(_:style:)' is only available in macOS 10.15 or newer
.fill(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:186:22: note: add 'if #available' version check
.fill(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:187:25: error: 'LinearGradient' is only available in macOS 10.15 or newer
LinearGradient(gradient: gradient, startPoint: .leading, endPoint: .trailing)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:187:25: note: add 'if #available' version check
LinearGradient(gradient: gradient, startPoint: .leading, endPoint: .trailing)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:189:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minWidth: 0, idealWidth: 300, maxWidth: .infinity, minHeight: 0, idealHeight: 40, maxHeight: 40)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:189:22: note: add 'if #available' version check
.frame(minWidth: 0, idealWidth: 300, maxWidth: .infinity, minHeight: 0, idealHeight: 40, maxHeight: 40)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: note: add 'if #available' version check
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: note: add 'if #available' version check
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: note: add 'if #available' version check
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:44: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:44: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: error: 'init(content:)' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:17: error: 'Gradient' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:17: note: add 'if #available' version check
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:38: error: 'Color' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:38: note: add 'if #available' version check
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:44: error: 'red' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:44: note: add 'if #available' version check
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:17: error: 'Gradient' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:17: note: add 'if #available' version check
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:38: error: 'Color' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:38: note: add 'if #available' version check
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:44: error: 'yellow' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:44: note: add 'if #available' version check
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:36: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:36: note: add 'if #available' version check
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
[3/3] Compiling GradientMaker Gradient+Extensions.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:37:11: error: cannot find type 'UIColor' in scope
extension UIColor {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:13:39: error: cannot find type 'UIColor' in scope
public func value(at: CGFloat) -> UIColor {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:11: error: 'Gradient' is only available in macOS 10.15 or newer
extension Gradient {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:1: note: add @available attribute to enclosing extension
extension Gradient {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:38:61: error: cannot find type 'UIColor' in scope
public func blend(with color: UIColor, amt: CGFloat) -> UIColor {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:38:35: error: cannot find type 'UIColor' in scope
public func blend(with color: UIColor, amt: CGFloat) -> UIColor {
^~~~~~~
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module GradientMaker
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:37:11: error: cannot find type 'UIColor' in scope
extension UIColor {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:13:39: error: cannot find type 'UIColor' in scope
public func value(at: CGFloat) -> UIColor {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:11: error: 'Gradient' is only available in macOS 10.15 or newer
extension Gradient {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:1: note: add @available attribute to enclosing extension
extension Gradient {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:12:31: error: cannot find type 'UIWindow' in scope
static var safeKeyWindow: UIWindow? {
^~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:21:32: error: cannot find type 'UIView' in scope
static func when(hasChild: UIView, timeout: Double = 10.0, onComplete: @escaping (UIView)->Void) {
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:21:87: error: cannot find type 'UIView' in scope
static func when(hasChild: UIView, timeout: Double = 10.0, onComplete: @escaping (UIView)->Void) {
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:38:30: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var cancellable: AnyCancellable? = nil
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:39:29: error: cannot find type 'UIColorPickerViewController' in scope
private var pickerView: UIColorPickerViewController?
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:40:29: error: cannot find type 'UIView' in scope
private var background: UIView?
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:42:38: error: cannot find type 'UIViewController' in scope
private var firstViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:40: error: cannot find type 'UIViewController' in scope
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:72: error: 'Color' is only available in macOS 10.15 or newer
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:17: note: add @available attribute to enclosing instance method
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:118: error: 'Color' is only available in macOS 10.15 or newer
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:17: note: add @available attribute to enclosing instance method
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:50: error: 'pink' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:121:22: error: 'Gradient' is only available in macOS 10.15 or newer
@State var stop: Gradient.Stop
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:121:6: error: 'State' is only available in macOS 10.15 or newer
@State var stop: Gradient.Stop
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:123:20: error: 'Gradient' is only available in macOS 10.15 or newer
let onUpdate: (Gradient.Stop) -> Void
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:125:6: error: 'State' is only available in macOS 10.15 or newer
@State private var startX: CGFloat = 0
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:126:6: error: 'State' is only available in macOS 10.15 or newer
@State private var drag = CGSize.zero
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:41: error: 'Color' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:6: error: 'State' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:170:21: error: 'Gradient' is only available in macOS 10.15 or newer
let onUpdate: ([Gradient.Stop]) -> Void
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:171:24: error: 'Gradient' is only available in macOS 10.15 or newer
@State var stops: [Gradient.Stop]
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:171:6: error: 'State' is only available in macOS 10.15 or newer
@State var stops: [Gradient.Stop]
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:25: error: 'Gradient' is only available in macOS 10.15 or newer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:12: note: add @available attribute to enclosing initializer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:63: error: 'Gradient' is only available in macOS 10.15 or newer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:12: note: add @available attribute to enclosing initializer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
[2/3] Compiling GradientMaker Gradient+Extensions.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:37:11: error: cannot find type 'UIColor' in scope
extension UIColor {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:13:39: error: cannot find type 'UIColor' in scope
public func value(at: CGFloat) -> UIColor {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:11: error: 'Gradient' is only available in macOS 10.15 or newer
extension Gradient {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:1: note: add @available attribute to enclosing extension
extension Gradient {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:38:61: error: cannot find type 'UIColor' in scope
public func blend(with color: UIColor, amt: CGFloat) -> UIColor {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:38:35: error: cannot find type 'UIColor' in scope
public func blend(with color: UIColor, amt: CGFloat) -> UIColor {
^~~~~~~
[3/3] Compiling GradientMaker GradientMaker.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:12:31: error: cannot find type 'UIWindow' in scope
static var safeKeyWindow: UIWindow? {
^~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:21:32: error: cannot find type 'UIView' in scope
static func when(hasChild: UIView, timeout: Double = 10.0, onComplete: @escaping (UIView)->Void) {
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:21:87: error: cannot find type 'UIView' in scope
static func when(hasChild: UIView, timeout: Double = 10.0, onComplete: @escaping (UIView)->Void) {
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:38:30: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var cancellable: AnyCancellable? = nil
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:39:29: error: cannot find type 'UIColorPickerViewController' in scope
private var pickerView: UIColorPickerViewController?
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:40:29: error: cannot find type 'UIView' in scope
private var background: UIView?
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:42:38: error: cannot find type 'UIViewController' in scope
private var firstViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:40: error: cannot find type 'UIViewController' in scope
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:72: error: 'Color' is only available in macOS 10.15 or newer
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:17: note: add @available attribute to enclosing instance method
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:118: error: 'Color' is only available in macOS 10.15 or newer
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:47:17: note: add @available attribute to enclosing instance method
public func presentColorPicker(on: UIViewController? = nil, color: Color, offsetY: CGFloat, onUpdate: @escaping (Color) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:50: error: 'pink' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:121:22: error: 'Gradient' is only available in macOS 10.15 or newer
@State var stop: Gradient.Stop
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:121:6: error: 'State' is only available in macOS 10.15 or newer
@State var stop: Gradient.Stop
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:123:20: error: 'Gradient' is only available in macOS 10.15 or newer
let onUpdate: (Gradient.Stop) -> Void
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:125:6: error: 'State' is only available in macOS 10.15 or newer
@State private var startX: CGFloat = 0
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:126:6: error: 'State' is only available in macOS 10.15 or newer
@State private var drag = CGSize.zero
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:41: error: 'Color' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:127:6: error: 'State' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = .pink
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:170:21: error: 'Gradient' is only available in macOS 10.15 or newer
let onUpdate: ([Gradient.Stop]) -> Void
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:171:24: error: 'Gradient' is only available in macOS 10.15 or newer
@State var stops: [Gradient.Stop]
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:171:6: error: 'State' is only available in macOS 10.15 or newer
@State var stops: [Gradient.Stop]
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:25: error: 'Gradient' is only available in macOS 10.15 or newer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:12: note: add @available attribute to enclosing initializer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:63: error: 'Gradient' is only available in macOS 10.15 or newer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:173:12: note: add @available attribute to enclosing initializer
public init(stops: [Gradient.Stop], onUpdate: @escaping ([Gradient.Stop]) -> Void) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:49:22: error: cannot find 'UIColorPickerViewController' in scope
let picker = UIColorPickerViewController()
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:51:32: error: cannot find 'UIColor' in scope
picker.selectedColor = UIColor(color)
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:53:45: error: cannot infer key path type from context; consider explicitly specifying a root type
cancellable = picker.publisher(for: \.selectedColor)
^
<#Root#>
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:79:30: error: cannot find 'UIView' in scope
let background = UIView()
^~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:82:44: error: cannot find 'UIColor' in scope
background.layer.borderColor = UIColor.systemGray.cgColor
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:91:31: error: cannot find 'UITapGestureRecognizer' in scope
let captureTaps = UITapGestureRecognizer(target: self, action: #selector(self.closeChooser))
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:96:31: error: cannot find 'UIButton' in scope
let closeButton = UIButton(type: .close)
^~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:114:22: error: 'nil' requires a contextual type
pickerView = nil
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:116:22: error: 'nil' requires a contextual type
background = nil
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:159:38: error: cannot assign value of type '_' to type 'Color'
stop.color = color
^~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:131:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { geometry in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:131:9: note: add 'if #available' version check
GeometryReader { geometry in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:131:24: warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
GeometryReader { geometry in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:131:24: note: add 'if #available' version check
GeometryReader { geometry in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:132:13: error: 'Circle' is only available in macOS 10.15 or newer
Circle()
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:132:13: note: add 'if #available' version check
Circle()
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:133:18: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear(perform: {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:133:18: note: add 'if #available' version check
.onAppear(perform: {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:136:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(stop.color)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:136:18: note: add 'if #available' version check
.foregroundColor(stop.color)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:137:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: 40, height: 40)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:137:18: note: add 'if #available' version check
.frame(width: 40, height: 40)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:138:18: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
.shadow(radius: 5)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:138:18: note: add 'if #available' version check
.shadow(radius: 5)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:139:18: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:139:18: note: add 'if #available' version check
.overlay(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:21: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:21: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:62: error: 'stroke(_:lineWidth:)' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:62: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:69: error: 'Color' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:69: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:75: error: 'white' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:140:75: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 40 / 2.0).stroke(Color.white, lineWidth: 2.0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:142:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(x: min(max(startX + drag.width, 0.0), geometry.size.width-40), y: 0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:142:18: note: add 'if #available' version check
.offset(x: min(max(startX + drag.width, 0.0), geometry.size.width-40), y: 0)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:18: error: 'animation' is only available in macOS 10.15 or newer
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:18: note: add 'if #available' version check
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:28: error: 'Animation' is only available in macOS 10.15 or newer
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:28: note: add 'if #available' version check
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:38: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:38: note: add 'if #available' version check
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:47: error: 'speed' is only available in macOS 10.15 or newer
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:143:47: note: add 'if #available' version check
.animation(Animation.spring().speed(2))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:144:18: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:144:18: note: add 'if #available' version check
.gesture(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:145:21: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture().onChanged{ (value) in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:145:21: note: add 'if #available' version check
DragGesture().onChanged{ (value) in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:145:35: error: 'onChanged' is only available in macOS 10.15 or newer
DragGesture().onChanged{ (value) in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:145:35: note: add 'if #available' version check
DragGesture().onChanged{ (value) in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:152:23: error: 'onEnded' is only available in macOS 10.15 or newer
}.onEnded { _ in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:152:23: note: add 'if #available' version check
}.onEnded { _ in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:156:19: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
).onTapGesture {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:156:19: note: add 'if #available' version check
).onTapGesture {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:179:24: error: 'Gradient' is only available in macOS 10.15 or newer
let gradient = Gradient(stops: stops)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:179:24: note: add 'if #available' version check
let gradient = Gradient(stops: stops)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:180:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:180:9: note: add 'if #available' version check
VStack {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:13: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:32: error: 'topLeading' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:32: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:185:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 20)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:185:17: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 20)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:186:22: error: 'fill(_:style:)' is only available in macOS 10.15 or newer
.fill(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:186:22: note: add 'if #available' version check
.fill(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:187:25: error: 'LinearGradient' is only available in macOS 10.15 or newer
LinearGradient(gradient: gradient, startPoint: .leading, endPoint: .trailing)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:187:25: note: add 'if #available' version check
LinearGradient(gradient: gradient, startPoint: .leading, endPoint: .trailing)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:189:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minWidth: 0, idealWidth: 300, maxWidth: .infinity, minHeight: 0, idealHeight: 40, maxHeight: 40)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:189:22: note: add 'if #available' version check
.frame(minWidth: 0, idealWidth: 300, maxWidth: .infinity, minHeight: 0, idealHeight: 40, maxHeight: 40)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: note: add 'if #available' version check
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: note: add 'if #available' version check
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:191:17: note: add 'if #available' version check
ForEach(stops.indices, id: \.self) { i in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:44: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:44: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:178:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: error: 'init(content:)' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:17: error: 'Gradient' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:17: note: add 'if #available' version check
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:38: error: 'Color' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:38: note: add 'if #available' version check
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:44: error: 'red' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:207:44: note: add 'if #available' version check
Gradient.Stop(color: Color.red, location: 0.0),
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:17: error: 'Gradient' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:17: note: add 'if #available' version check
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:38: error: 'Color' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:38: note: add 'if #available' version check
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:44: error: 'yellow' is only available in macOS 10.15 or newer
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:208:44: note: add 'if #available' version check
Gradient.Stop(color: Color.yellow, location: 1.0)],
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:36: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:36: note: add 'if #available' version check
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
BUILD FAILURE 5.8 macosSpm