Build Information
Failed to build GradientMaker with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.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/builder/builds/UKfvDsi8u/1/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.10
Building package at path: $workDir
https://github.com/dentedpixel/GradientMaker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/5] Compiling GradientMaker GradientMaker.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:12:31: error: cannot find type 'UIWindow' in scope
static var safeKeyWindow: UIWindow? {
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:39:29: error: cannot find type 'UIColorPickerViewController' in scope
private var pickerView: UIColorPickerViewController?
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:40:29: error: cannot find type 'UIView' in scope
private var background: UIView?
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:42:38: error: cannot find type 'UIViewController' in scope
private var firstViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:49:22: error: cannot find 'UIColorPickerViewController' in scope
let picker = UIColorPickerViewController()
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:51:32: error: cannot find 'UIColor' in scope
picker.selectedColor = UIColor(color)
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:79:30: error: cannot find 'UIView' in scope
let background = UIView()
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:96:31: error: cannot find 'UIButton' in scope
let closeButton = UIButton(type: .close)
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:75:60: error: cannot infer type of closure parameter 'view' without a type annotation
ViewUtils.when(hasChild: picker.view) {[weak self] view in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:114:22: error: 'nil' requires a contextual type
pickerView = nil
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:116:22: error: 'nil' requires a contextual type
background = nil
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:174:9: error: setter for 'stops' is only available in macOS 10.15 or newer
self.stops = stops
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:174:9: note: add 'if #available' version check
self.stops = stops
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:179:24: note: add 'if #available' version check
let gradient = Gradient(stops: stops)
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:180:9: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:13: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:32: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:185:17: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 20)
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:186:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
.fill(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:186:22: note: add 'if #available' version check
.fill(
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:192:45: error: cannot pass as inout because setter for 'stops' is only available in macOS 10.15 or newer
GradientMakerView(stop: stops[i], onUpdate:{ stop in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:192:45: note: add 'if #available' version check
GradientMakerView(stop: stops[i], onUpdate:{ stop in
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:193:25: error: cannot pass as inout because setter for 'stops' is only available in macOS 10.15 or newer
stops[i] = stop
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:193:25: note: add 'if #available' version check
stops[i] = stop
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:44: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:44: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:36: note: add 'if #available' version check
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module GradientMaker
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:37:11: error: cannot find type 'UIColor' in scope
extension UIColor {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:1: note: add @available attribute to enclosing extension
extension Gradient {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:12:31: error: cannot find type 'UIWindow' in scope
static var safeKeyWindow: UIWindow? {
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:39:29: error: cannot find type 'UIColorPickerViewController' in scope
private var pickerView: UIColorPickerViewController?
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:40:29: error: cannot find type 'UIView' in scope
private var background: UIView?
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:42:38: error: cannot find type 'UIViewController' in scope
private var firstViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
[5/5] Compiling GradientMaker Gradient+Extensions.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:37:11: error: cannot find type 'UIColor' in scope
extension UIColor {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:1: note: add @available attribute to enclosing extension
extension Gradient {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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 {
^~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module GradientMaker
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:37:11: error: cannot find type 'UIColor' in scope
extension UIColor {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:1: note: add @available attribute to enclosing extension
extension Gradient {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:12:31: error: cannot find type 'UIWindow' in scope
static var safeKeyWindow: UIWindow? {
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:39:29: error: cannot find type 'UIColorPickerViewController' in scope
private var pickerView: UIColorPickerViewController?
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:40:29: error: cannot find type 'UIView' in scope
private var background: UIView?
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:42:38: error: cannot find type 'UIViewController' in scope
private var firstViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
[3/4] Compiling GradientMaker Gradient+Extensions.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:37:11: error: cannot find type 'UIColor' in scope
extension UIColor {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:11:1: note: add @available attribute to enclosing extension
extension Gradient {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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 {
^~~~~~~
[4/4] Compiling GradientMaker GradientMaker.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:12:31: error: cannot find type 'UIWindow' in scope
static var safeKeyWindow: UIWindow? {
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:39:29: error: cannot find type 'UIColorPickerViewController' in scope
private var pickerView: UIColorPickerViewController?
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:40:29: error: cannot find type 'UIView' in scope
private var background: UIView?
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:42:38: error: cannot find type 'UIViewController' in scope
private var firstViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:34:15: note: add @available attribute to enclosing class
private class ColorPickerChooser {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:129:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:120:8: note: add @available attribute to enclosing struct
struct GradientMakerView: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:49:22: error: cannot find 'UIColorPickerViewController' in scope
let picker = UIColorPickerViewController()
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:51:32: error: cannot find 'UIColor' in scope
picker.selectedColor = UIColor(color)
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:79:30: error: cannot find 'UIView' in scope
let background = UIView()
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:96:31: error: cannot find 'UIButton' in scope
let closeButton = UIButton(type: .close)
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:75:60: error: cannot infer type of closure parameter 'view' without a type annotation
ViewUtils.when(hasChild: picker.view) {[weak self] view in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:114:22: error: 'nil' requires a contextual type
pickerView = nil
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:116:22: error: 'nil' requires a contextual type
background = nil
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:174:9: error: setter for 'stops' is only available in macOS 10.15 or newer
self.stops = stops
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:174:9: note: add 'if #available' version check
self.stops = stops
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:179:24: note: add 'if #available' version check
let gradient = Gradient(stops: stops)
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:180:9: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:13: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:32: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:185:17: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 20)
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:186:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
.fill(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:186:22: note: add 'if #available' version check
.fill(
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:192:45: error: cannot pass as inout because setter for 'stops' is only available in macOS 10.15 or newer
GradientMakerView(stop: stops[i], onUpdate:{ stop in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:192:45: note: add 'if #available' version check
GradientMakerView(stop: stops[i], onUpdate:{ stop in
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:193:25: error: cannot pass as inout because setter for 'stops' is only available in macOS 10.15 or newer
stops[i] = stop
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:193:25: note: add 'if #available' version check
stops[i] = stop
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:44: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:184:44: note: add 'if #available' version check
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:168:15: note: add @available attribute to enclosing struct
public struct GradientMaker: View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:205:9: note: add 'if #available' version check
Group {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:204:36: note: add 'if #available' version check
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GradientMaker/GradientMaker.swift:203:8: note: add @available attribute to enclosing struct
struct GradientPickerView_Previews: PreviewProvider {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm
Build Machine: Mac 7