Build Information
Failed to build FlowPilotInfoBar, reference main (87bf82), with Swift 6.2 for macOS (SPM) on 12 Mar 2026 08:12:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
| `- note: add 'if #available' version check
363 | }
364 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:362:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
361 | .padding(4)
362 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
363 | }
364 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:362:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
361 | .padding(4)
362 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
363 | }
364 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:39:20: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
| `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
40 | let spacing: CGFloat
41 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:42:28: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
40 | let spacing: CGFloat
41 |
42 | public init(alignment: HorizontalAlignment = .center,
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
43 | spacing: CGFloat = 2) {
44 | self.alignment = alignment
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:42:52: error: 'center' is only available in macOS 10.15 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
40 | let spacing: CGFloat
41 |
42 | public init(alignment: HorizontalAlignment = .center,
| | `- error: 'center' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
43 | spacing: CGFloat = 2) {
44 | self.alignment = alignment
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:80:28: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
75 | /// let calculatedLayout = builder.calculatedLayout()
76 | /// ```
77 | public struct Builder {
| `- note: add '@available' attribute to enclosing struct
78 | let subviewSizes: [CGSize]
79 | let totalWidth: Double
80 | let alignment: HorizontalAlignment
| `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
81 | let spacing: CGFloat
82 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:85:36: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
75 | /// let calculatedLayout = builder.calculatedLayout()
76 | /// ```
77 | public struct Builder {
| `- note: add '@available' attribute to enclosing struct
78 | let subviewSizes: [CGSize]
79 | let totalWidth: Double
:
81 | let spacing: CGFloat
82 |
83 | public init(subviewSizes: [CGSize],
| `- note: add '@available' attribute to enclosing initializer
84 | totalWidth: Double,
85 | alignment: HorizontalAlignment,
| `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
86 | spacing: CGFloat) {
87 | self.subviewSizes = subviewSizes
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:251:40: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
40 | let spacing: CGFloat
:
249 | }
250 |
251 | public func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout Cache) -> CGSize {
| | `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing instance method
252 | let width = proposal.replacingUnspecifiedDimensions().width
253 | let calculatedLayout = calculatedLayout(for: subviews, in: width)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:260:60: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
40 | let spacing: CGFloat
:
258 | }
259 |
260 | public func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout Cache) {
| | `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing instance method
261 | if cache.size != bounds.size {
262 | let calculatedLayout = calculatedLayout(for: subviews, in: bounds.width)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:286:31: error: 'View' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:340:39: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:340:68: error: 'View' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:225:23: error: 'leading' is only available in macOS 10.15 or newer
75 | /// let calculatedLayout = builder.calculatedLayout()
76 | /// ```
77 | public struct Builder {
| `- note: add '@available' attribute to enclosing struct
78 | let subviewSizes: [CGSize]
79 | let totalWidth: Double
:
219 |
220 |
221 | private func getXOrigin(for row: Row, totalUsedWidth: CGFloat) -> CGFloat {
| `- note: add '@available' attribute to enclosing instance method
222 | let unusedWidth = totalUsedWidth - row.totalSize.width
223 |
224 | switch alignment {
225 | case .leading:
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
226 | return 0
227 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:234:23: error: 'center' is only available in macOS 10.15 or newer
75 | /// let calculatedLayout = builder.calculatedLayout()
76 | /// ```
77 | public struct Builder {
| `- note: add '@available' attribute to enclosing struct
78 | let subviewSizes: [CGSize]
79 | let totalWidth: Double
:
219 |
220 |
221 | private func getXOrigin(for row: Row, totalUsedWidth: CGFloat) -> CGFloat {
| `- note: add '@available' attribute to enclosing instance method
222 | let unusedWidth = totalUsedWidth - row.totalSize.width
223 |
:
232 | #endif
233 |
234 | case .center:
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
235 | return unusedWidth / 2
236 | case .trailing:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:236:23: error: 'trailing' is only available in macOS 10.15 or newer
75 | /// let calculatedLayout = builder.calculatedLayout()
76 | /// ```
77 | public struct Builder {
| `- note: add '@available' attribute to enclosing struct
78 | let subviewSizes: [CGSize]
79 | let totalWidth: Double
:
219 |
220 |
221 | private func getXOrigin(for row: Row, totalUsedWidth: CGFloat) -> CGFloat {
| `- note: add '@available' attribute to enclosing instance method
222 | let unusedWidth = totalUsedWidth - row.totalSize.width
223 |
:
234 | case .center:
235 | return unusedWidth / 2
236 | case .trailing:
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
237 | return unusedWidth
238 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:269:59: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
40 | let spacing: CGFloat
:
258 | }
259 |
260 | public func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout Cache) {
| `- note: add '@available' attribute to enclosing instance method
261 | if cache.size != bounds.size {
262 | let calculatedLayout = calculatedLayout(for: subviews, in: bounds.width)
:
267 | let frame = cache.frames[index]
268 | let position = CGPoint(x: bounds.minX + frame.minX, y: bounds.minY + frame.minY)
269 | subviews[index].place(at: position, proposal: ProposedViewSize(frame.size))
| |- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
270 | }
271 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:287:9: error: 'ScrollView' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 | Text("HStack")
289 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:287:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 | Text("HStack")
289 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:288:13: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
289 | HStack {
290 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:289:13: error: 'HStack' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
289 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
290 | HStack {
291 | Text("dlouhej text")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:290:17: error: 'HStack' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
289 | HStack {
290 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
291 | Text("dlouhej text")
292 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:291:21: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
289 | HStack {
290 | HStack {
291 | Text("dlouhej text")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
292 | }
293 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:293:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
291 | Text("dlouhej text")
292 | }
293 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
294 |
295 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:293:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
291 | Text("dlouhej text")
292 | }
293 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
294 |
295 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:293:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
291 | Text("dlouhej text")
292 | }
293 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
294 |
295 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:295:17: error: 'HStack' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
293 | .background(Color.red)
294 |
295 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
296 | Text("kr")
297 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:296:21: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
294 |
295 | HStack {
296 | Text("kr")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
297 | }
298 | .background(Color.green)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:298:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
296 | Text("kr")
297 | }
298 | .background(Color.green)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
299 |
300 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:298:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
296 | Text("kr")
297 | }
298 | .background(Color.green)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
299 |
300 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:298:35: error: 'green' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
296 | Text("kr")
297 | }
298 | .background(Color.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
299 |
300 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:300:17: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
298 | .background(Color.green)
299 |
300 | Color.yellow
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:300:23: error: 'yellow' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
298 | .background(Color.green)
299 |
300 | Color.yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:303:13: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
301 | }
302 |
303 | Text("FlowLayout")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
304 | HStack {
305 | FlowLayout {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:304:13: error: 'HStack' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
302 |
303 | Text("FlowLayout")
304 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
305 | FlowLayout {
306 | Text("dlouhej text")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:305:28: error: 'callAsFunction' is only available in macOS 13.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
303 | Text("FlowLayout")
304 | HStack {
305 | FlowLayout {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
306 | Text("dlouhej text")
307 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:306:21: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
304 | HStack {
305 | FlowLayout {
306 | Text("dlouhej text")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
307 | }
308 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:308:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
306 | Text("dlouhej text")
307 | }
308 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
309 |
310 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:308:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
306 | Text("dlouhej text")
307 | }
308 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 |
310 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:308:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
306 | Text("dlouhej text")
307 | }
308 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 |
310 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:310:17: error: 'HStack' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
308 | .background(Color.red)
309 |
310 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
311 | Text("kr")
312 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:311:21: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
309 |
310 | HStack {
311 | Text("kr")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
312 | }
313 | .background(Color.green)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:313:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
311 | Text("kr")
312 | }
313 | .background(Color.green)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
314 |
315 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:313:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
311 | Text("kr")
312 | }
313 | .background(Color.green)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
314 |
315 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:313:35: error: 'green' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
311 | Text("kr")
312 | }
313 | .background(Color.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
314 |
315 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:315:17: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
313 | .background(Color.green)
314 |
315 | Color.yellow
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
316 | }
317 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:315:23: error: 'yellow' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
313 | .background(Color.green)
314 |
315 | Color.yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
316 | }
317 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:39: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:59: error: 'center' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:75: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:95: error: 'leading' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:112: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:132: error: 'trailing' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:319:13: error: 'ForEach' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
319 | ForEach(alignments.indices, id: \.self) { index in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
320 | let alignment = alignments[index]
321 | StatePreview(initial: CGSize.zero) { size in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:319:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
319 | ForEach(alignments.indices, id: \.self) { index in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
320 | let alignment = alignments[index]
321 | StatePreview(initial: CGSize.zero) { size in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:321:17: error: 'StatePreview' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
321 | StatePreview(initial: CGSize.zero) { size in
| |- error: 'StatePreview' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
322 | layout(for: alignment)
323 | .readSize { readSize in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:323:26: error: 'readSize(onChange:)' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
321 | StatePreview(initial: CGSize.zero) { size in
322 | layout(for: alignment)
323 | .readSize { readSize in
| |- error: 'readSize(onChange:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
324 | size.wrappedValue = readSize
325 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:326:26: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
324 | size.wrappedValue = readSize
325 | }
326 | .background(Color.green)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
327 | .padding(.all)
328 | .background(Color.purple)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:326:37: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
324 | size.wrappedValue = readSize
325 | }
326 | .background(Color.green)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
327 | .padding(.all)
328 | .background(Color.purple)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:326:43: error: 'green' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
324 | size.wrappedValue = readSize
325 | }
326 | .background(Color.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
327 | .padding(.all)
328 | .background(Color.purple)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:327:26: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
325 | }
326 | .background(Color.green)
327 | .padding(.all)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
328 | .background(Color.purple)
329 | .padding(.vertical)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:328:26: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
326 | .background(Color.green)
327 | .padding(.all)
328 | .background(Color.purple)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
329 | .padding(.vertical)
330 | // .overlay {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:328:37: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
326 | .background(Color.green)
327 | .padding(.all)
328 | .background(Color.purple)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
329 | .padding(.vertical)
330 | // .overlay {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:328:43: error: 'purple' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
326 | .background(Color.green)
327 | .padding(.all)
328 | .background(Color.purple)
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
329 | .padding(.vertical)
330 | // .overlay {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:329:26: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
327 | .padding(.all)
328 | .background(Color.purple)
329 | .padding(.vertical)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
330 | // .overlay {
331 | // Text("width: \(size.wrappedValue.width), height: \(size.wrappedValue.height)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:341:55: error: 'callAsFunction' is only available in macOS 13.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
342 | Label("text", systemImage: "clock")
343 | .padding(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:342:13: error: 'Label' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
343 | .padding(4)
344 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:342:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
343 | .padding(4)
344 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:342:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
343 | .padding(4)
344 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:343:18: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
343 | .padding(4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
344 | .background(Color.red)
345 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:344:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
343 | .padding(4)
344 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:344:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
343 | .padding(4)
344 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:344:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
343 | .padding(4)
344 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:346:13: error: 'Label' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
344 | .background(Color.red)
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
347 | .padding(4)
348 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:346:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
344 | .background(Color.red)
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
347 | .padding(4)
348 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:346:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
344 | .background(Color.red)
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
347 | .padding(4)
348 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:347:18: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
347 | .padding(4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
348 | .background(Color.red)
349 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:348:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
347 | .padding(4)
348 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
349 |
350 | ForEach(0..<10, id: \.self) { number in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:348:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
347 | .padding(4)
348 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
349 |
350 | ForEach(0..<10, id: \.self) { number in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:348:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
347 | .padding(4)
348 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
349 |
350 | ForEach(0..<10, id: \.self) { number in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:350:13: error: 'ForEach' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
348 | .background(Color.red)
349 |
350 | ForEach(0..<10, id: \.self) { number in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:350:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
348 | .background(Color.red)
349 |
350 | ForEach(0..<10, id: \.self) { number in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:351:17: error: 'Label' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
349 |
350 | ForEach(0..<10, id: \.self) { number in
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
352 | .padding(4)
353 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:351:17: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
349 |
350 | ForEach(0..<10, id: \.self) { number in
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
352 | .padding(4)
353 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:351:23: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
349 |
350 | ForEach(0..<10, id: \.self) { number in
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
352 | .padding(4)
353 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:352:22: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
350 | ForEach(0..<10, id: \.self) { number in
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
353 | .background(Color.red)
354 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:353:22: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
353 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
354 | }
355 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:353:33: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
353 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
354 | }
355 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:353:39: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
353 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
354 | }
355 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:356:13: error: 'Label' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
354 | }
355 |
356 | Label("Vždy předpolsední", systemImage: "clock")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
357 | .padding(4)
358 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:356:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
354 | }
355 |
356 | Label("Vždy předpolsední", systemImage: "clock")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
357 | .padding(4)
358 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:356:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
354 | }
355 |
356 | Label("Vždy předpolsední", systemImage: "clock")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
357 | .padding(4)
358 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:357:18: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
355 |
356 | Label("Vždy předpolsední", systemImage: "clock")
357 | .padding(4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
358 | .background(Color.red)
359 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:358:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
356 | Label("Vždy předpolsední", systemImage: "clock")
357 | .padding(4)
358 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:358:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
356 | Label("Vždy předpolsední", systemImage: "clock")
357 | .padding(4)
358 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:358:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
356 | Label("Vždy předpolsední", systemImage: "clock")
357 | .padding(4)
358 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:360:13: error: 'Label' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
358 | .background(Color.red)
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
361 | .padding(4)
362 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:360:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
358 | .background(Color.red)
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
361 | .padding(4)
362 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:360:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
358 | .background(Color.red)
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
361 | .padding(4)
362 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:361:18: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
361 | .padding(4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
362 | .background(Color.red)
363 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:362:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
361 | .padding(4)
362 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
363 | }
364 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:362:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
361 | .padding(4)
362 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
363 | }
364 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:362:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
361 | .padding(4)
362 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
363 | }
364 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:39:20: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
| `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
40 | let spacing: CGFloat
41 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:42:28: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
40 | let spacing: CGFloat
41 |
42 | public init(alignment: HorizontalAlignment = .center,
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
43 | spacing: CGFloat = 2) {
44 | self.alignment = alignment
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:42:52: error: 'center' is only available in macOS 10.15 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
40 | let spacing: CGFloat
41 |
42 | public init(alignment: HorizontalAlignment = .center,
| | `- error: 'center' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
43 | spacing: CGFloat = 2) {
44 | self.alignment = alignment
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:80:28: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
75 | /// let calculatedLayout = builder.calculatedLayout()
76 | /// ```
77 | public struct Builder {
| `- note: add '@available' attribute to enclosing struct
78 | let subviewSizes: [CGSize]
79 | let totalWidth: Double
80 | let alignment: HorizontalAlignment
| `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
81 | let spacing: CGFloat
82 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:85:36: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
75 | /// let calculatedLayout = builder.calculatedLayout()
76 | /// ```
77 | public struct Builder {
| `- note: add '@available' attribute to enclosing struct
78 | let subviewSizes: [CGSize]
79 | let totalWidth: Double
:
81 | let spacing: CGFloat
82 |
83 | public init(subviewSizes: [CGSize],
| `- note: add '@available' attribute to enclosing initializer
84 | totalWidth: Double,
85 | alignment: HorizontalAlignment,
| `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
86 | spacing: CGFloat) {
87 | self.subviewSizes = subviewSizes
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:251:40: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
40 | let spacing: CGFloat
:
249 | }
250 |
251 | public func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout Cache) -> CGSize {
| | `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing instance method
252 | let width = proposal.replacingUnspecifiedDimensions().width
253 | let calculatedLayout = calculatedLayout(for: subviews, in: width)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:260:60: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
40 | let spacing: CGFloat
:
258 | }
259 |
260 | public func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout Cache) {
| | `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing instance method
261 | if cache.size != bounds.size {
262 | let calculatedLayout = calculatedLayout(for: subviews, in: bounds.width)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:286:31: error: 'View' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:340:39: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:340:68: error: 'View' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:225:23: error: 'leading' is only available in macOS 10.15 or newer
75 | /// let calculatedLayout = builder.calculatedLayout()
76 | /// ```
77 | public struct Builder {
| `- note: add '@available' attribute to enclosing struct
78 | let subviewSizes: [CGSize]
79 | let totalWidth: Double
:
219 |
220 |
221 | private func getXOrigin(for row: Row, totalUsedWidth: CGFloat) -> CGFloat {
| `- note: add '@available' attribute to enclosing instance method
222 | let unusedWidth = totalUsedWidth - row.totalSize.width
223 |
224 | switch alignment {
225 | case .leading:
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
226 | return 0
227 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:234:23: error: 'center' is only available in macOS 10.15 or newer
75 | /// let calculatedLayout = builder.calculatedLayout()
76 | /// ```
77 | public struct Builder {
| `- note: add '@available' attribute to enclosing struct
78 | let subviewSizes: [CGSize]
79 | let totalWidth: Double
:
219 |
220 |
221 | private func getXOrigin(for row: Row, totalUsedWidth: CGFloat) -> CGFloat {
| `- note: add '@available' attribute to enclosing instance method
222 | let unusedWidth = totalUsedWidth - row.totalSize.width
223 |
:
232 | #endif
233 |
234 | case .center:
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
235 | return unusedWidth / 2
236 | case .trailing:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:236:23: error: 'trailing' is only available in macOS 10.15 or newer
75 | /// let calculatedLayout = builder.calculatedLayout()
76 | /// ```
77 | public struct Builder {
| `- note: add '@available' attribute to enclosing struct
78 | let subviewSizes: [CGSize]
79 | let totalWidth: Double
:
219 |
220 |
221 | private func getXOrigin(for row: Row, totalUsedWidth: CGFloat) -> CGFloat {
| `- note: add '@available' attribute to enclosing instance method
222 | let unusedWidth = totalUsedWidth - row.totalSize.width
223 |
:
234 | case .center:
235 | return unusedWidth / 2
236 | case .trailing:
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
237 | return unusedWidth
238 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:269:59: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
36 | */
37 | @available(iOS 16.0, watchOS 9, *)
38 | public struct FlowLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
39 | let alignment: HorizontalAlignment
40 | let spacing: CGFloat
:
258 | }
259 |
260 | public func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout Cache) {
| `- note: add '@available' attribute to enclosing instance method
261 | if cache.size != bounds.size {
262 | let calculatedLayout = calculatedLayout(for: subviews, in: bounds.width)
:
267 | let frame = cache.frames[index]
268 | let position = CGPoint(x: bounds.minX + frame.minX, y: bounds.minY + frame.minY)
269 | subviews[index].place(at: position, proposal: ProposedViewSize(frame.size))
| |- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
270 | }
271 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:287:9: error: 'ScrollView' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 | Text("HStack")
289 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:287:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 | Text("HStack")
289 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:288:13: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
289 | HStack {
290 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:289:13: error: 'HStack' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
289 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
290 | HStack {
291 | Text("dlouhej text")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:290:17: error: 'HStack' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
289 | HStack {
290 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
291 | Text("dlouhej text")
292 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:291:21: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
289 | HStack {
290 | HStack {
291 | Text("dlouhej text")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
292 | }
293 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:293:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
291 | Text("dlouhej text")
292 | }
293 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
294 |
295 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:293:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
291 | Text("dlouhej text")
292 | }
293 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
294 |
295 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:293:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
291 | Text("dlouhej text")
292 | }
293 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
294 |
295 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:295:17: error: 'HStack' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
293 | .background(Color.red)
294 |
295 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
296 | Text("kr")
297 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:296:21: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
294 |
295 | HStack {
296 | Text("kr")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
297 | }
298 | .background(Color.green)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:298:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
296 | Text("kr")
297 | }
298 | .background(Color.green)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
299 |
300 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:298:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
296 | Text("kr")
297 | }
298 | .background(Color.green)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
299 |
300 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:298:35: error: 'green' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
296 | Text("kr")
297 | }
298 | .background(Color.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
299 |
300 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:300:17: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
298 | .background(Color.green)
299 |
300 | Color.yellow
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:300:23: error: 'yellow' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
298 | .background(Color.green)
299 |
300 | Color.yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:303:13: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
301 | }
302 |
303 | Text("FlowLayout")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
304 | HStack {
305 | FlowLayout {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:304:13: error: 'HStack' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
302 |
303 | Text("FlowLayout")
304 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
305 | FlowLayout {
306 | Text("dlouhej text")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:305:28: error: 'callAsFunction' is only available in macOS 13.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
303 | Text("FlowLayout")
304 | HStack {
305 | FlowLayout {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
306 | Text("dlouhej text")
307 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:306:21: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
304 | HStack {
305 | FlowLayout {
306 | Text("dlouhej text")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
307 | }
308 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:308:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
306 | Text("dlouhej text")
307 | }
308 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
309 |
310 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:308:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
306 | Text("dlouhej text")
307 | }
308 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 |
310 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:308:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
306 | Text("dlouhej text")
307 | }
308 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 |
310 | HStack {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:310:17: error: 'HStack' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
308 | .background(Color.red)
309 |
310 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
311 | Text("kr")
312 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:311:21: error: 'Text' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
309 |
310 | HStack {
311 | Text("kr")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
312 | }
313 | .background(Color.green)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:313:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
311 | Text("kr")
312 | }
313 | .background(Color.green)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
314 |
315 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:313:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
311 | Text("kr")
312 | }
313 | .background(Color.green)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
314 |
315 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:313:35: error: 'green' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
311 | Text("kr")
312 | }
313 | .background(Color.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
314 |
315 | Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:315:17: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
313 | .background(Color.green)
314 |
315 | Color.yellow
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
316 | }
317 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:315:23: error: 'yellow' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
313 | .background(Color.green)
314 |
315 | Color.yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
316 | }
317 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:39: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:59: error: 'center' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:75: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:95: error: 'leading' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:112: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:318:132: error: 'trailing' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
316 | }
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:319:13: error: 'ForEach' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
319 | ForEach(alignments.indices, id: \.self) { index in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
320 | let alignment = alignments[index]
321 | StatePreview(initial: CGSize.zero) { size in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:319:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
317 |
318 | let alignments = [SwiftUI.HorizontalAlignment.center, SwiftUI.HorizontalAlignment.leading, SwiftUI.HorizontalAlignment.trailing]
319 | ForEach(alignments.indices, id: \.self) { index in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
320 | let alignment = alignments[index]
321 | StatePreview(initial: CGSize.zero) { size in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:321:17: error: 'StatePreview' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
319 | ForEach(alignments.indices, id: \.self) { index in
320 | let alignment = alignments[index]
321 | StatePreview(initial: CGSize.zero) { size in
| |- error: 'StatePreview' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
322 | layout(for: alignment)
323 | .readSize { readSize in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:323:26: error: 'readSize(onChange:)' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
321 | StatePreview(initial: CGSize.zero) { size in
322 | layout(for: alignment)
323 | .readSize { readSize in
| |- error: 'readSize(onChange:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
324 | size.wrappedValue = readSize
325 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:326:26: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
324 | size.wrappedValue = readSize
325 | }
326 | .background(Color.green)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
327 | .padding(.all)
328 | .background(Color.purple)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:326:37: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
324 | size.wrappedValue = readSize
325 | }
326 | .background(Color.green)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
327 | .padding(.all)
328 | .background(Color.purple)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:326:43: error: 'green' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
324 | size.wrappedValue = readSize
325 | }
326 | .background(Color.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
327 | .padding(.all)
328 | .background(Color.purple)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:327:26: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
325 | }
326 | .background(Color.green)
327 | .padding(.all)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
328 | .background(Color.purple)
329 | .padding(.vertical)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:328:26: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
326 | .background(Color.green)
327 | .padding(.all)
328 | .background(Color.purple)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
329 | .padding(.vertical)
330 | // .overlay {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:328:37: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
326 | .background(Color.green)
327 | .padding(.all)
328 | .background(Color.purple)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
329 | .padding(.vertical)
330 | // .overlay {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:328:43: error: 'purple' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
326 | .background(Color.green)
327 | .padding(.all)
328 | .background(Color.purple)
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
329 | .padding(.vertical)
330 | // .overlay {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:329:26: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
287 | ScrollView {
288 | Text("HStack")
:
327 | .padding(.all)
328 | .background(Color.purple)
329 | .padding(.vertical)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
330 | // .overlay {
331 | // Text("width: \(size.wrappedValue.width), height: \(size.wrappedValue.height)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:341:55: error: 'callAsFunction' is only available in macOS 13.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
342 | Label("text", systemImage: "clock")
343 | .padding(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:342:13: error: 'Label' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
343 | .padding(4)
344 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:342:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
343 | .padding(4)
344 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:342:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
343 | .padding(4)
344 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:343:18: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
343 | .padding(4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
344 | .background(Color.red)
345 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:344:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
343 | .padding(4)
344 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:344:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
343 | .padding(4)
344 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:344:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
343 | .padding(4)
344 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:346:13: error: 'Label' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
344 | .background(Color.red)
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
347 | .padding(4)
348 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:346:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
344 | .background(Color.red)
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
347 | .padding(4)
348 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:346:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
344 | .background(Color.red)
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
347 | .padding(4)
348 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:347:18: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
345 |
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
347 | .padding(4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
348 | .background(Color.red)
349 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:348:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
347 | .padding(4)
348 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
349 |
350 | ForEach(0..<10, id: \.self) { number in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:348:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
347 | .padding(4)
348 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
349 |
350 | ForEach(0..<10, id: \.self) { number in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:348:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
346 | Label("Vždy druhý dlouhý text", systemImage: "clock")
347 | .padding(4)
348 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
349 |
350 | ForEach(0..<10, id: \.self) { number in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:350:13: error: 'ForEach' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
348 | .background(Color.red)
349 |
350 | ForEach(0..<10, id: \.self) { number in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:350:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
348 | .background(Color.red)
349 |
350 | ForEach(0..<10, id: \.self) { number in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:351:17: error: 'Label' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
349 |
350 | ForEach(0..<10, id: \.self) { number in
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
352 | .padding(4)
353 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:351:17: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
349 |
350 | ForEach(0..<10, id: \.self) { number in
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
352 | .padding(4)
353 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:351:23: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
349 |
350 | ForEach(0..<10, id: \.self) { number in
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
352 | .padding(4)
353 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:352:22: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
350 | ForEach(0..<10, id: \.self) { number in
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
353 | .background(Color.red)
354 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:353:22: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
353 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
354 | }
355 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:353:33: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
353 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
354 | }
355 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:353:39: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
351 | Label("text\(number.isMultiple(of: 4) ? " delší text" : "")", systemImage: "clock")
352 | .padding(4)
353 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
354 | }
355 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:356:13: error: 'Label' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
354 | }
355 |
356 | Label("Vždy předpolsední", systemImage: "clock")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
357 | .padding(4)
358 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:356:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
354 | }
355 |
356 | Label("Vždy předpolsední", systemImage: "clock")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
357 | .padding(4)
358 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:356:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
354 | }
355 |
356 | Label("Vždy předpolsední", systemImage: "clock")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
357 | .padding(4)
358 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:357:18: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
355 |
356 | Label("Vždy předpolsední", systemImage: "clock")
357 | .padding(4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
358 | .background(Color.red)
359 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:358:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
356 | Label("Vždy předpolsední", systemImage: "clock")
357 | .padding(4)
358 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:358:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
356 | Label("Vždy předpolsední", systemImage: "clock")
357 | .padding(4)
358 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:358:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
356 | Label("Vždy předpolsední", systemImage: "clock")
357 | .padding(4)
358 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:360:13: error: 'Label' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
358 | .background(Color.red)
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
361 | .padding(4)
362 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:360:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
358 | .background(Color.red)
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
361 | .padding(4)
362 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:360:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
358 | .background(Color.red)
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
361 | .padding(4)
362 | .background(Color.red)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:361:18: error: 'padding' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
359 |
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
361 | .padding(4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
362 | .background(Color.red)
363 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:362:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
361 | .padding(4)
362 | .background(Color.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
363 | }
364 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:362:29: error: 'Color' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
361 | .padding(4)
362 | .background(Color.red)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
363 | }
364 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CleevioUI/Sources/CleevioUI/Layout/FlowLayout.swift:362:35: error: 'red' is only available in macOS 10.15 or newer
283 | #if DEBUG
284 | @available(iOS 16.0, watchOS 10, *)
285 | struct FlowLayout_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
286 | static var previews: some View {
287 | ScrollView {
:
338 | }
339 |
340 | static func layout(for alignment: HorizontalAlignment) -> some View {
| `- note: add '@available' attribute to enclosing static method
341 | FlowLayout(alignment: alignment, spacing: 16) {
342 | Label("text", systemImage: "clock")
:
360 | Label("Vždy poslední dlouhý text", systemImage: "clock")
361 | .padding(4)
362 | .background(Color.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
363 | }
364 | }
[167/170] Compiling CleevioUI StatePreview.swift
[168/170] Compiling CleevioUI CheckBoxStateColorSet.swift
[169/170] Compiling CleevioUI CheckBoxStyle.swift
[170/170] Compiling CleevioUI ToggleExtension.swift
BUILD FAILURE 6.2 macosSpm