Build Information
Failed to build MijickGridView, reference main (c205e4
), with Swift 5.10 for macOS (SPM) on 30 Jul 2024 23:39:54 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "gridview",
"name": "MijickGridView",
"url": "https://github.com/Mijick/GridView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GridView",
"dependencies": [
]
}
]
}
Fetching https://github.com/Mijick/GridView.git
[1/800] Fetching gridview
Fetched https://github.com/Mijick/GridView.git from cache (1.22s)
Creating working copy for https://github.com/Mijick/GridView.git
Working copy of https://github.com/Mijick/GridView.git resolved at main (c205e4b)
warning: '.resolve-product-dependencies': dependency 'gridview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/Mijick/GridView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/17] Compiling MijickGridView Public+InsertionPolicy.swift
[4/18] 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 {
^
[5/18] Compiling MijickGridView Matrix.Range.swift
[6/18] Compiling MijickGridView Matrix.swift
[7/18] 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 {
^
[8/18] 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 {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/18] Compiling MijickGridView Array++.swift
[10/18] Compiling MijickGridView Int++.swift
[11/18] Compiling MijickGridView Matrix.Item.swift
[12/18] Compiling MijickGridView Matrix.Position.swift
[13/18] 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 {
^
[14/18] 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:21:24: 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: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:22:13: note: add 'if #available' version check
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:22:13: note: add 'if #available' version check
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:22:13: note: add 'if #available' version check
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:22:32: note: add 'if #available' version check
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:23:17: note: add 'if #available' version check
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:23:17: note: add 'if #available' version check
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:23:17: note: add 'if #available' version check
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:22:44: note: add 'if #available' version check
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:21:24: 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: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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: error: setter for 'height' is only available in macOS 10.15 or newer
elements[index].height = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: note: add 'if #available' version check
elements[index].height = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:42:10: note: add @available attribute to enclosing instance method
func saveHeight(_ value: CGFloat, _ index: Int) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:41:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:59:9: error: cannot pass as inout because setter for 'matrix' is only available in macOS 10.15 or newer
matrix.insert(item, isLast: index == elements.count - 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:59:9: note: add 'if #available' version check
matrix.insert(item, isLast: index == elements.count - 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:57:10: note: add @available attribute to enclosing instance method
func insertItem(_ index: Int, _ value: CGFloat) { DispatchQueue.main.async {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:56:9: note: add @available attribute to enclosing extension
private extension GridView {
^
[15/18] 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:21:24: 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: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:22:13: note: add 'if #available' version check
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:22:13: note: add 'if #available' version check
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:22:13: note: add 'if #available' version check
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:22:32: note: add 'if #available' version check
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:23:17: note: add 'if #available' version check
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:23:17: note: add 'if #available' version check
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:23:17: note: add 'if #available' version check
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:22:44: note: add 'if #available' version check
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:21:24: 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: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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: error: setter for 'height' is only available in macOS 10.15 or newer
elements[index].height = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: note: add 'if #available' version check
elements[index].height = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:42:10: note: add @available attribute to enclosing instance method
func saveHeight(_ value: CGFloat, _ index: Int) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:41:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:59:9: error: cannot pass as inout because setter for 'matrix' is only available in macOS 10.15 or newer
matrix.insert(item, isLast: index == elements.count - 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:59:9: note: add 'if #available' version check
matrix.insert(item, isLast: index == elements.count - 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:57:10: note: add @available attribute to enclosing instance method
func insertItem(_ index: Int, _ value: CGFloat) { DispatchQueue.main.async {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:56:9: note: add @available attribute to enclosing extension
private extension GridView {
^
[16/18] Compiling MijickGridView Public+GridViewConfig.swift
[17/18] 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 {
^
[18/18] 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 {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm