Build Information
Failed to build MijickGridView, reference main (c205e4
), with Swift 5.8 for macOS (SPM) on 30 Jul 2024 23:37:18 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mijick/GridView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Mijick/GridView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c205e4b Update README
Cloned https://github.com/Mijick/GridView.git
Revision (git rev-parse @):
c205e4bc7db2b53514b016a939bb62cabf505988
SUCCESS checkout https://github.com/Mijick/GridView.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD
https://github.com/Mijick/GridView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/15] Compiling MijickGridView Public+GridView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:107: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:160: error: 'View' is only available in macOS 10.15 or newer
public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
[2/16] Compiling MijickGridView Public+InsertionPolicy.swift
[3/16] Compiling MijickGridView Public+View.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:8: note: add @available attribute to enclosing extension
public extension View {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/16] Compiling MijickGridView Array++.swift
[5/16] Compiling MijickGridView Int++.swift
[6/16] Emitting module MijickGridView
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var height: CGFloat? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
private let _body: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View { _body }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:9: note: add @available attribute to enclosing property
var body: some View { _body }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:19:20: note: add @available attribute to enclosing struct
fileprivate struct Modifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var matrix: Matrix
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:107: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:160: error: 'View' is only available in macOS 10.15 or newer
public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:30: error: 'View' is only available in macOS 10.15 or newer
public protocol GridElement: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:17: note: add @available attribute to enclosing protocol
public protocol GridElement: View {
^
[7/16] Compiling MijickGridView Public+GridViewConfig.swift
[8/16] Compiling MijickGridView Matrix.Item.swift
[9/16] Compiling MijickGridView Matrix.Position.swift
[10/16] Compiling MijickGridView Matrix.Range.swift
[11/16] Compiling MijickGridView Matrix.swift
[12/16] Compiling MijickGridView HeightReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:19:20: note: add @available attribute to enclosing struct
fileprivate struct Modifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: error: 'modifier' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: note: add 'if #available' version check
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:26:17: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
return Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:26:17: note: remove 'return' statements to apply the result builder
return Color.clear
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var matrix: Matrix
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: note: add 'if #available' version check
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: note: add 'if #available' version check
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:32: error: 'topLeading' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:44: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:26:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: calculateContentHeight())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:26:10: note: add 'if #available' version check
.frame(height: calculateContentHeight())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
.fixedSize(horizontal: false, vertical: true)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: note: add 'if #available' version check
.fixedSize(horizontal: false, vertical: true)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: note: add 'if #available' version check
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: error: 'top' is only available in macOS 10.15 or newer
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: note: add 'if #available' version check
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: note: add 'if #available' version check
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: error: 'leading' is only available in macOS 10.15 or newer
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: note: add 'if #available' version check
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:36:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:36:14: note: add 'if #available' version check
.frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
[13/16] Compiling MijickGridView GridView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:19:20: note: add @available attribute to enclosing struct
fileprivate struct Modifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: error: 'modifier' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: note: add 'if #available' version check
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:26:17: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
return Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:26:17: note: remove 'return' statements to apply the result builder
return Color.clear
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var matrix: Matrix
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: note: add 'if #available' version check
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: note: add 'if #available' version check
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:32: error: 'topLeading' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:44: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:26:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: calculateContentHeight())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:26:10: note: add 'if #available' version check
.frame(height: calculateContentHeight())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
.fixedSize(horizontal: false, vertical: true)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: note: add 'if #available' version check
.fixedSize(horizontal: false, vertical: true)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: note: add 'if #available' version check
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: error: 'top' is only available in macOS 10.15 or newer
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: note: add 'if #available' version check
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: note: add 'if #available' version check
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: error: 'leading' is only available in macOS 10.15 or newer
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: note: add 'if #available' version check
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:36:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:36:14: note: add 'if #available' version check
.frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
[14/16] Compiling MijickGridView AnyGridElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var height: CGFloat? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
private let _body: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View { _body }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:9: note: add @available attribute to enclosing property
var body: some View { _body }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: error: 'AnyView' is only available in macOS 10.15 or newer
self._body = AnyView(element)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: note: add 'if #available' version check
self._body = AnyView(element)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
[15/16] Compiling MijickGridView Configurable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var height: CGFloat? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
private let _body: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View { _body }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:9: note: add @available attribute to enclosing property
var body: some View { _body }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: error: 'AnyView' is only available in macOS 10.15 or newer
self._body = AnyView(element)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: note: add 'if #available' version check
self._body = AnyView(element)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
[16/16] Compiling MijickGridView Public+GridElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:30: error: 'View' is only available in macOS 10.15 or newer
public protocol GridElement: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:17: note: add @available attribute to enclosing protocol
public protocol GridElement: View {
^
BUILD FAILURE 5.8 macosSpm