Build Information
Failed to build WrapLayout, reference 0.4.0 (13d49e), with Swift 6.2 for macOS (SPM) on 25 Jun 2026 04:00:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/swiftui-WrapLayout.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/swiftui-WrapLayout
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 13d49e1 Add per-line alignment options to WrapLayout (#9)
Cloned https://github.com/FluidGroup/swiftui-WrapLayout.git
Revision (git rev-parse @):
13d49e1fa533e72f22191fceb1c22f7cf6d20435
SUCCESS checkout https://github.com/FluidGroup/swiftui-WrapLayout.git at 0.4.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/FluidGroup/swiftui-WrapLayout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module WrapLayout
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:64:15: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct WrapLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
4 |
5 | /// Horizontal alignment of each line within the layout's available width.
:
61 | }
62 |
63 | public func sizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
64 | proposal: ProposedViewSize,
| `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
65 | subviews: Subviews,
66 | cache: inout CacheStorage
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:116:15: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct WrapLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
4 |
5 | /// Horizontal alignment of each line within the layout's available width.
:
112 | }
113 |
114 | public func placeSubviews(
| `- note: add '@available' attribute to enclosing instance method
115 | in bounds: CGRect,
116 | proposal: ProposedViewSize,
| `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
117 | subviews: Subviews,
118 | cache: inout CacheStorage
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:169:14: error: 'Color' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
170 |
171 | init(_ text: String, color: Color = .blue) {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:171:31: error: 'Color' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
170 |
171 | init(_ text: String, color: Color = .blue) {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
172 | self.text = text
173 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:171:40: error: 'blue' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
170 |
171 | init(_ text: String, color: Color = .blue) {
| | `- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
172 | self.text = text
173 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:176:18: error: 'View' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:193:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
194 |
195 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:195:18: error: 'View' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:191:52: error: 'View' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:212:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
210 |
211 | @available(iOS 17.0, *)
212 | #Preview("leading (default)") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
213 | ScrollView {
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:213:3: error: 'ScrollView' is only available in macOS 10.15 or newer
211 | @available(iOS 17.0, *)
212 | #Preview("leading (default)") {
213 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:213:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
211 | @available(iOS 17.0, *)
212 | #Preview("leading (default)") {
213 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:215:60: error: 'callAsFunction' is only available in macOS 13.0 or newer
213 | ScrollView {
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
216 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0) }
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:216:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
216 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0) }
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
217 | }
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:216:9: error: 'ForEach' is only available in macOS 10.15 or newer
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
216 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0) }
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
217 | }
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:216:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
216 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0) }
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
217 | }
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:215:60: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
213 | ScrollView {
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
216 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0) }
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:219:6: error: 'padding' is only available in macOS 10.15 or newer
217 | }
218 | }
219 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
220 | }
221 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:224:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
222 |
223 | @available(iOS 17.0, *)
224 | #Preview("center") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
225 | ScrollView {
226 | WrapLayoutPreviewContainer(title: "center") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:225:3: error: 'ScrollView' is only available in macOS 10.15 or newer
223 | @available(iOS 17.0, *)
224 | #Preview("center") {
225 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
226 | WrapLayoutPreviewContainer(title: "center") {
227 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:225:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
223 | @available(iOS 17.0, *)
224 | #Preview("center") {
225 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
226 | WrapLayoutPreviewContainer(title: "center") {
227 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:231:9: error: 'callAsFunction' is only available in macOS 13.0 or newer
229 | verticalSpacing: 8,
230 | lineHorizontalAlignment: .center
231 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:232:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
230 | lineHorizontalAlignment: .center
231 | ) {
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
233 | }
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:232:9: error: 'ForEach' is only available in macOS 10.15 or newer
230 | lineHorizontalAlignment: .center
231 | ) {
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
233 | }
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:232:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
230 | lineHorizontalAlignment: .center
231 | ) {
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
233 | }
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:232:78: error: 'purple' is only available in macOS 10.15 or newer
230 | lineHorizontalAlignment: .center
231 | ) {
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
233 | }
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:231:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
229 | verticalSpacing: 8,
230 | lineHorizontalAlignment: .center
231 | ) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:235:6: error: 'padding' is only available in macOS 10.15 or newer
233 | }
234 | }
235 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:240:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
238 |
239 | @available(iOS 17.0, *)
240 | #Preview("trailing") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
241 | ScrollView {
242 | WrapLayoutPreviewContainer(title: "trailing") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:241:3: error: 'ScrollView' is only available in macOS 10.15 or newer
239 | @available(iOS 17.0, *)
240 | #Preview("trailing") {
241 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | WrapLayoutPreviewContainer(title: "trailing") {
243 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:241:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
239 | @available(iOS 17.0, *)
240 | #Preview("trailing") {
241 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | WrapLayoutPreviewContainer(title: "trailing") {
243 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:247:9: error: 'callAsFunction' is only available in macOS 13.0 or newer
245 | verticalSpacing: 8,
246 | lineHorizontalAlignment: .trailing
247 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
249 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:248:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
246 | lineHorizontalAlignment: .trailing
247 | ) {
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
249 | }
250 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:248:9: error: 'ForEach' is only available in macOS 10.15 or newer
246 | lineHorizontalAlignment: .trailing
247 | ) {
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
249 | }
250 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:248:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
246 | lineHorizontalAlignment: .trailing
247 | ) {
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
249 | }
250 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:248:78: error: 'orange' is only available in macOS 10.15 or newer
246 | lineHorizontalAlignment: .trailing
247 | ) {
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
249 | }
250 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:247:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
245 | verticalSpacing: 8,
246 | lineHorizontalAlignment: .trailing
247 | ) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
249 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:251:6: error: 'padding' is only available in macOS 10.15 or newer
249 | }
250 | }
251 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:256:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
254 |
255 | @available(iOS 17.0, *)
256 | #Preview("vertical: center") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
257 | ScrollView {
258 | WrapLayoutPreviewContainer(title: "vertical: center (mixed heights)") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:257:3: error: 'ScrollView' is only available in macOS 10.15 or newer
255 | @available(iOS 17.0, *)
256 | #Preview("vertical: center") {
257 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
258 | WrapLayoutPreviewContainer(title: "vertical: center (mixed heights)") {
259 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:257:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
255 | @available(iOS 17.0, *)
256 | #Preview("vertical: center") {
257 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
258 | WrapLayoutPreviewContainer(title: "vertical: center (mixed heights)") {
259 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: error: 'callAsFunction' is only available in macOS 13.0 or newer
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:264:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
262 | lineVerticalAlignment: .center
263 | ) {
264 | Text("Short").font(.caption)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:264:9: error: 'Text' is only available in macOS 10.15 or newer
262 | lineVerticalAlignment: .center
263 | ) {
264 | Text("Short").font(.caption)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:264:23: error: 'font' is only available in macOS 10.15 or newer
262 | lineVerticalAlignment: .center
263 | ) {
264 | Text("Short").font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:264:29: error: 'caption' is only available in macOS 10.15 or newer
262 | lineVerticalAlignment: .center
263 | ) {
264 | Text("Short").font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:265:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
263 | ) {
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:265:9: error: 'Text' is only available in macOS 10.15 or newer
263 | ) {
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:265:24: error: 'font' is only available in macOS 10.15 or newer
263 | ) {
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:265:30: error: 'body' is only available in macOS 10.15 or newer
263 | ) {
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
| |- error: 'body' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:266:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:266:9: error: 'Text' is only available in macOS 10.15 or newer
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:266:22: error: 'font' is only available in macOS 10.15 or newer
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:266:28: error: 'largeTitle' is only available in macOS 10.15 or newer
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
| |- error: 'largeTitle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:267:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:267:9: error: 'Text' is only available in macOS 10.15 or newer
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:267:21: error: 'font' is only available in macOS 10.15 or newer
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:267:27: error: 'title3' is only available in macOS 11.0 or newer
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:268:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
269 | Text("Big").font(.title)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:268:9: error: 'Text' is only available in macOS 10.15 or newer
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
269 | Text("Big").font(.title)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:268:20: error: 'font' is only available in macOS 10.15 or newer
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
269 | Text("Big").font(.title)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:268:26: error: 'caption2' is only available in macOS 11.0 or newer
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
| |- error: 'caption2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
269 | Text("Big").font(.title)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:269:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
270 | }
271 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:269:9: error: 'Text' is only available in macOS 10.15 or newer
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
270 | }
271 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:269:21: error: 'font' is only available in macOS 10.15 or newer
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
270 | }
271 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:269:27: error: 'title' is only available in macOS 10.15 or newer
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
| |- error: 'title' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
270 | }
271 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:272:6: error: 'padding' is only available in macOS 10.15 or newer
270 | }
271 | }
272 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:277:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
275 |
276 | @available(iOS 17.0, *)
277 | #Preview("vertical: bottom") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
278 | ScrollView {
279 | WrapLayoutPreviewContainer(title: "vertical: bottom (mixed heights)") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:278:3: error: 'ScrollView' is only available in macOS 10.15 or newer
276 | @available(iOS 17.0, *)
277 | #Preview("vertical: bottom") {
278 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
279 | WrapLayoutPreviewContainer(title: "vertical: bottom (mixed heights)") {
280 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:278:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
276 | @available(iOS 17.0, *)
277 | #Preview("vertical: bottom") {
278 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
279 | WrapLayoutPreviewContainer(title: "vertical: bottom (mixed heights)") {
280 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: error: 'callAsFunction' is only available in macOS 13.0 or newer
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:285:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
283 | lineVerticalAlignment: .bottom
284 | ) {
285 | Text("Short").font(.caption)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:285:9: error: 'Text' is only available in macOS 10.15 or newer
283 | lineVerticalAlignment: .bottom
284 | ) {
285 | Text("Short").font(.caption)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:285:23: error: 'font' is only available in macOS 10.15 or newer
283 | lineVerticalAlignment: .bottom
284 | ) {
285 | Text("Short").font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:285:29: error: 'caption' is only available in macOS 10.15 or newer
283 | lineVerticalAlignment: .bottom
284 | ) {
285 | Text("Short").font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:286:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
284 | ) {
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:286:9: error: 'Text' is only available in macOS 10.15 or newer
284 | ) {
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:286:24: error: 'font' is only available in macOS 10.15 or newer
284 | ) {
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:286:30: error: 'body' is only available in macOS 10.15 or newer
284 | ) {
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
| |- error: 'body' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:287:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:287:9: error: 'Text' is only available in macOS 10.15 or newer
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:287:22: error: 'font' is only available in macOS 10.15 or newer
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:287:28: error: 'largeTitle' is only available in macOS 10.15 or newer
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
| |- error: 'largeTitle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:288:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:288:9: error: 'Text' is only available in macOS 10.15 or newer
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:288:21: error: 'font' is only available in macOS 10.15 or newer
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:288:27: error: 'title3' is only available in macOS 11.0 or newer
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:289:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
290 | Text("Big").font(.title)
291 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:289:9: error: 'Text' is only available in macOS 10.15 or newer
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
290 | Text("Big").font(.title)
291 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:289:20: error: 'font' is only available in macOS 10.15 or newer
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
290 | Text("Big").font(.title)
291 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:289:26: error: 'caption2' is only available in macOS 11.0 or newer
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
| |- error: 'caption2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
290 | Text("Big").font(.title)
291 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:290:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
291 | }
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:290:9: error: 'Text' is only available in macOS 10.15 or newer
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
291 | }
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:290:21: error: 'font' is only available in macOS 10.15 or newer
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
291 | }
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:290:27: error: 'title' is only available in macOS 10.15 or newer
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
| |- error: 'title' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
291 | }
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:293:6: error: 'padding' is only available in macOS 10.15 or newer
291 | }
292 | }
293 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
294 | }
295 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:298:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
296 |
297 | @available(iOS 17.0, *)
298 | #Preview("combined alignments") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
299 | ScrollView {
300 | VStack(alignment: .leading, spacing: 24) {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:299:3: error: 'ScrollView' is only available in macOS 10.15 or newer
297 | @available(iOS 17.0, *)
298 | #Preview("combined alignments") {
299 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
300 | VStack(alignment: .leading, spacing: 24) {
301 | WrapLayoutPreviewContainer(title: "center + vertical center") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:299:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
297 | @available(iOS 17.0, *)
298 | #Preview("combined alignments") {
299 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
300 | VStack(alignment: .leading, spacing: 24) {
301 | WrapLayoutPreviewContainer(title: "center + vertical center") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:300:5: error: 'VStack' is only available in macOS 10.15 or newer
298 | #Preview("combined alignments") {
299 | ScrollView {
300 | VStack(alignment: .leading, spacing: 24) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
301 | WrapLayoutPreviewContainer(title: "center + vertical center") {
302 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:300:24: error: 'leading' is only available in macOS 10.15 or newer
298 | #Preview("combined alignments") {
299 | ScrollView {
300 | VStack(alignment: .leading, spacing: 24) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
301 | WrapLayoutPreviewContainer(title: "center + vertical center") {
302 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: error: 'callAsFunction' is only available in macOS 13.0 or newer
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:308:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
306 | lineVerticalAlignment: .center
307 | ) {
308 | Text("A").font(.caption)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:308:11: error: 'Text' is only available in macOS 10.15 or newer
306 | lineVerticalAlignment: .center
307 | ) {
308 | Text("A").font(.caption)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:308:21: error: 'font' is only available in macOS 10.15 or newer
306 | lineVerticalAlignment: .center
307 | ) {
308 | Text("A").font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:308:27: error: 'caption' is only available in macOS 10.15 or newer
306 | lineVerticalAlignment: .center
307 | ) {
308 | Text("A").font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:309:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
307 | ) {
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:309:11: error: 'Text' is only available in macOS 10.15 or newer
307 | ) {
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:309:22: error: 'font' is only available in macOS 10.15 or newer
307 | ) {
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:309:28: error: 'body' is only available in macOS 10.15 or newer
307 | ) {
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
| |- error: 'body' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:310:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:310:11: error: 'Text' is only available in macOS 10.15 or newer
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:310:23: error: 'font' is only available in macOS 10.15 or newer
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:310:29: error: 'largeTitle' is only available in macOS 10.15 or newer
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
| |- error: 'largeTitle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:311:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
312 | Text("E").font(.caption2)
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:311:11: error: 'Text' is only available in macOS 10.15 or newer
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
312 | Text("E").font(.caption2)
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:311:22: error: 'font' is only available in macOS 10.15 or newer
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
312 | Text("E").font(.caption2)
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:311:28: error: 'title3' is only available in macOS 11.0 or newer
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
312 | Text("E").font(.caption2)
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:312:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
313 | }
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:312:11: error: 'Text' is only available in macOS 10.15 or newer
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
313 | }
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:312:21: error: 'font' is only available in macOS 10.15 or newer
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
313 | }
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:312:27: error: 'caption2' is only available in macOS 11.0 or newer
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
| |- error: 'caption2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
313 | }
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:322:11: error: 'callAsFunction' is only available in macOS 13.0 or newer
320 | lineHorizontalAlignment: .trailing,
321 | lineVerticalAlignment: .bottom
322 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
323 | ForEach(_previewTags.prefix(6), id: \.self) {
324 | WrapLayoutPreviewTag($0, color: .green)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:323:11: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
321 | lineVerticalAlignment: .bottom
322 | ) {
323 | ForEach(_previewTags.prefix(6), id: \.self) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
324 | WrapLayoutPreviewTag($0, color: .green)
325 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:323:11: error: 'ForEach' is only available in macOS 10.15 or newer
321 | lineVerticalAlignment: .bottom
322 | ) {
323 | ForEach(_previewTags.prefix(6), id: \.self) {
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
324 | WrapLayoutPreviewTag($0, color: .green)
325 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:323:11: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
321 | lineVerticalAlignment: .bottom
322 | ) {
323 | ForEach(_previewTags.prefix(6), id: \.self) {
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
324 | WrapLayoutPreviewTag($0, color: .green)
325 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:324:46: error: 'green' is only available in macOS 10.15 or newer
322 | ) {
323 | ForEach(_previewTags.prefix(6), id: \.self) {
324 | WrapLayoutPreviewTag($0, color: .green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
325 | }
326 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:322:11: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
320 | lineHorizontalAlignment: .trailing,
321 | lineVerticalAlignment: .bottom
322 | ) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
323 | ForEach(_previewTags.prefix(6), id: \.self) {
324 | WrapLayoutPreviewTag($0, color: .green)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:329:6: error: 'padding' is only available in macOS 10.15 or newer
327 | }
328 | }
329 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
330 | }
331 | }
[4/4] Compiling WrapLayout WrapLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:64:15: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct WrapLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
4 |
5 | /// Horizontal alignment of each line within the layout's available width.
:
61 | }
62 |
63 | public func sizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
64 | proposal: ProposedViewSize,
| `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
65 | subviews: Subviews,
66 | cache: inout CacheStorage
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:116:15: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct WrapLayout: Layout {
| `- note: add '@available' attribute to enclosing struct
4 |
5 | /// Horizontal alignment of each line within the layout's available width.
:
112 | }
113 |
114 | public func placeSubviews(
| `- note: add '@available' attribute to enclosing instance method
115 | in bounds: CGRect,
116 | proposal: ProposedViewSize,
| `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
117 | subviews: Subviews,
118 | cache: inout CacheStorage
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:169:14: error: 'Color' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
170 |
171 | init(_ text: String, color: Color = .blue) {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:171:31: error: 'Color' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
170 |
171 | init(_ text: String, color: Color = .blue) {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
172 | self.text = text
173 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:171:40: error: 'blue' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
170 |
171 | init(_ text: String, color: Color = .blue) {
| | `- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
172 | self.text = text
173 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:176:18: error: 'View' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:193:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
194 |
195 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:195:18: error: 'View' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:191:52: error: 'View' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:212:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
210 |
211 | @available(iOS 17.0, *)
212 | #Preview("leading (default)") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
213 | ScrollView {
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:213:3: error: 'ScrollView' is only available in macOS 10.15 or newer
211 | @available(iOS 17.0, *)
212 | #Preview("leading (default)") {
213 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:213:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
211 | @available(iOS 17.0, *)
212 | #Preview("leading (default)") {
213 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:215:60: error: 'callAsFunction' is only available in macOS 13.0 or newer
213 | ScrollView {
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
216 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0) }
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:216:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
216 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0) }
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
217 | }
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:216:9: error: 'ForEach' is only available in macOS 10.15 or newer
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
216 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0) }
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
217 | }
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:216:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
216 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0) }
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
217 | }
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:215:60: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
213 | ScrollView {
214 | WrapLayoutPreviewContainer(title: "leading (default)") {
215 | WrapLayout(horizontalSpacing: 8, verticalSpacing: 8) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
216 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0) }
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:219:6: error: 'padding' is only available in macOS 10.15 or newer
217 | }
218 | }
219 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
220 | }
221 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:224:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
222 |
223 | @available(iOS 17.0, *)
224 | #Preview("center") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
225 | ScrollView {
226 | WrapLayoutPreviewContainer(title: "center") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:225:3: error: 'ScrollView' is only available in macOS 10.15 or newer
223 | @available(iOS 17.0, *)
224 | #Preview("center") {
225 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
226 | WrapLayoutPreviewContainer(title: "center") {
227 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:225:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
223 | @available(iOS 17.0, *)
224 | #Preview("center") {
225 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
226 | WrapLayoutPreviewContainer(title: "center") {
227 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:231:9: error: 'callAsFunction' is only available in macOS 13.0 or newer
229 | verticalSpacing: 8,
230 | lineHorizontalAlignment: .center
231 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:232:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
230 | lineHorizontalAlignment: .center
231 | ) {
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
233 | }
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:232:9: error: 'ForEach' is only available in macOS 10.15 or newer
230 | lineHorizontalAlignment: .center
231 | ) {
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
233 | }
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:232:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
230 | lineHorizontalAlignment: .center
231 | ) {
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
233 | }
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:232:78: error: 'purple' is only available in macOS 10.15 or newer
230 | lineHorizontalAlignment: .center
231 | ) {
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
233 | }
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:231:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
229 | verticalSpacing: 8,
230 | lineHorizontalAlignment: .center
231 | ) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
232 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .purple) }
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:235:6: error: 'padding' is only available in macOS 10.15 or newer
233 | }
234 | }
235 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:240:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
238 |
239 | @available(iOS 17.0, *)
240 | #Preview("trailing") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
241 | ScrollView {
242 | WrapLayoutPreviewContainer(title: "trailing") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:241:3: error: 'ScrollView' is only available in macOS 10.15 or newer
239 | @available(iOS 17.0, *)
240 | #Preview("trailing") {
241 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | WrapLayoutPreviewContainer(title: "trailing") {
243 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:241:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
239 | @available(iOS 17.0, *)
240 | #Preview("trailing") {
241 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | WrapLayoutPreviewContainer(title: "trailing") {
243 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:247:9: error: 'callAsFunction' is only available in macOS 13.0 or newer
245 | verticalSpacing: 8,
246 | lineHorizontalAlignment: .trailing
247 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
249 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:248:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
246 | lineHorizontalAlignment: .trailing
247 | ) {
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
249 | }
250 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:248:9: error: 'ForEach' is only available in macOS 10.15 or newer
246 | lineHorizontalAlignment: .trailing
247 | ) {
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
249 | }
250 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:248:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
246 | lineHorizontalAlignment: .trailing
247 | ) {
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
249 | }
250 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:248:78: error: 'orange' is only available in macOS 10.15 or newer
246 | lineHorizontalAlignment: .trailing
247 | ) {
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
249 | }
250 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:247:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
245 | verticalSpacing: 8,
246 | lineHorizontalAlignment: .trailing
247 | ) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
248 | ForEach(_previewTags, id: \.self) { WrapLayoutPreviewTag($0, color: .orange) }
249 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:251:6: error: 'padding' is only available in macOS 10.15 or newer
249 | }
250 | }
251 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
252 | }
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:256:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
254 |
255 | @available(iOS 17.0, *)
256 | #Preview("vertical: center") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
257 | ScrollView {
258 | WrapLayoutPreviewContainer(title: "vertical: center (mixed heights)") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:257:3: error: 'ScrollView' is only available in macOS 10.15 or newer
255 | @available(iOS 17.0, *)
256 | #Preview("vertical: center") {
257 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
258 | WrapLayoutPreviewContainer(title: "vertical: center (mixed heights)") {
259 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:257:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
255 | @available(iOS 17.0, *)
256 | #Preview("vertical: center") {
257 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
258 | WrapLayoutPreviewContainer(title: "vertical: center (mixed heights)") {
259 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: error: 'callAsFunction' is only available in macOS 13.0 or newer
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:264:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
262 | lineVerticalAlignment: .center
263 | ) {
264 | Text("Short").font(.caption)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:264:9: error: 'Text' is only available in macOS 10.15 or newer
262 | lineVerticalAlignment: .center
263 | ) {
264 | Text("Short").font(.caption)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:264:23: error: 'font' is only available in macOS 10.15 or newer
262 | lineVerticalAlignment: .center
263 | ) {
264 | Text("Short").font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:264:29: error: 'caption' is only available in macOS 10.15 or newer
262 | lineVerticalAlignment: .center
263 | ) {
264 | Text("Short").font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:265:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
263 | ) {
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:265:9: error: 'Text' is only available in macOS 10.15 or newer
263 | ) {
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:265:24: error: 'font' is only available in macOS 10.15 or newer
263 | ) {
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:265:30: error: 'body' is only available in macOS 10.15 or newer
263 | ) {
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
| |- error: 'body' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:266:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:266:9: error: 'Text' is only available in macOS 10.15 or newer
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:266:22: error: 'font' is only available in macOS 10.15 or newer
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:266:28: error: 'largeTitle' is only available in macOS 10.15 or newer
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
| |- error: 'largeTitle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:267:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:267:9: error: 'Text' is only available in macOS 10.15 or newer
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:267:21: error: 'font' is only available in macOS 10.15 or newer
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:267:27: error: 'title3' is only available in macOS 11.0 or newer
265 | Text("Medium").font(.body)
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:268:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
269 | Text("Big").font(.title)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:268:9: error: 'Text' is only available in macOS 10.15 or newer
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
269 | Text("Big").font(.title)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:268:20: error: 'font' is only available in macOS 10.15 or newer
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
269 | Text("Big").font(.title)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:268:26: error: 'caption2' is only available in macOS 11.0 or newer
266 | Text("Tall").font(.largeTitle)
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
| |- error: 'caption2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
269 | Text("Big").font(.title)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:269:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
270 | }
271 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:269:9: error: 'Text' is only available in macOS 10.15 or newer
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
270 | }
271 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:269:21: error: 'font' is only available in macOS 10.15 or newer
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
270 | }
271 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:269:27: error: 'title' is only available in macOS 10.15 or newer
267 | Text("Mid").font(.title3)
268 | Text("xs").font(.caption2)
269 | Text("Big").font(.title)
| |- error: 'title' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
270 | }
271 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:263:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
261 | verticalSpacing: 8,
262 | lineVerticalAlignment: .center
263 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
264 | Text("Short").font(.caption)
265 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:272:6: error: 'padding' is only available in macOS 10.15 or newer
270 | }
271 | }
272 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:277:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
275 |
276 | @available(iOS 17.0, *)
277 | #Preview("vertical: bottom") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
278 | ScrollView {
279 | WrapLayoutPreviewContainer(title: "vertical: bottom (mixed heights)") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:278:3: error: 'ScrollView' is only available in macOS 10.15 or newer
276 | @available(iOS 17.0, *)
277 | #Preview("vertical: bottom") {
278 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
279 | WrapLayoutPreviewContainer(title: "vertical: bottom (mixed heights)") {
280 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:278:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
276 | @available(iOS 17.0, *)
277 | #Preview("vertical: bottom") {
278 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
279 | WrapLayoutPreviewContainer(title: "vertical: bottom (mixed heights)") {
280 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: error: 'callAsFunction' is only available in macOS 13.0 or newer
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:285:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
283 | lineVerticalAlignment: .bottom
284 | ) {
285 | Text("Short").font(.caption)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:285:9: error: 'Text' is only available in macOS 10.15 or newer
283 | lineVerticalAlignment: .bottom
284 | ) {
285 | Text("Short").font(.caption)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:285:23: error: 'font' is only available in macOS 10.15 or newer
283 | lineVerticalAlignment: .bottom
284 | ) {
285 | Text("Short").font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:285:29: error: 'caption' is only available in macOS 10.15 or newer
283 | lineVerticalAlignment: .bottom
284 | ) {
285 | Text("Short").font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:286:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
284 | ) {
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:286:9: error: 'Text' is only available in macOS 10.15 or newer
284 | ) {
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:286:24: error: 'font' is only available in macOS 10.15 or newer
284 | ) {
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:286:30: error: 'body' is only available in macOS 10.15 or newer
284 | ) {
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
| |- error: 'body' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:287:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:287:9: error: 'Text' is only available in macOS 10.15 or newer
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:287:22: error: 'font' is only available in macOS 10.15 or newer
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:287:28: error: 'largeTitle' is only available in macOS 10.15 or newer
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
| |- error: 'largeTitle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:288:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:288:9: error: 'Text' is only available in macOS 10.15 or newer
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:288:21: error: 'font' is only available in macOS 10.15 or newer
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:288:27: error: 'title3' is only available in macOS 11.0 or newer
286 | Text("Medium").font(.body)
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:289:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
290 | Text("Big").font(.title)
291 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:289:9: error: 'Text' is only available in macOS 10.15 or newer
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
290 | Text("Big").font(.title)
291 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:289:20: error: 'font' is only available in macOS 10.15 or newer
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
290 | Text("Big").font(.title)
291 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:289:26: error: 'caption2' is only available in macOS 11.0 or newer
287 | Text("Tall").font(.largeTitle)
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
| |- error: 'caption2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
290 | Text("Big").font(.title)
291 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:290:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
291 | }
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:290:9: error: 'Text' is only available in macOS 10.15 or newer
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
291 | }
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:290:21: error: 'font' is only available in macOS 10.15 or newer
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
291 | }
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:290:27: error: 'title' is only available in macOS 10.15 or newer
288 | Text("Mid").font(.title3)
289 | Text("xs").font(.caption2)
290 | Text("Big").font(.title)
| |- error: 'title' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
291 | }
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:284:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
282 | verticalSpacing: 8,
283 | lineVerticalAlignment: .bottom
284 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
285 | Text("Short").font(.caption)
286 | Text("Medium").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:293:6: error: 'padding' is only available in macOS 10.15 or newer
291 | }
292 | }
293 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
294 | }
295 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:298:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
296 |
297 | @available(iOS 17.0, *)
298 | #Preview("combined alignments") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
299 | ScrollView {
300 | VStack(alignment: .leading, spacing: 24) {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:299:3: error: 'ScrollView' is only available in macOS 10.15 or newer
297 | @available(iOS 17.0, *)
298 | #Preview("combined alignments") {
299 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
300 | VStack(alignment: .leading, spacing: 24) {
301 | WrapLayoutPreviewContainer(title: "center + vertical center") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:299:3: error: 'init(_:content:)' is only available in macOS 10.15 or newer
297 | @available(iOS 17.0, *)
298 | #Preview("combined alignments") {
299 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
300 | VStack(alignment: .leading, spacing: 24) {
301 | WrapLayoutPreviewContainer(title: "center + vertical center") {
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:300:5: error: 'VStack' is only available in macOS 10.15 or newer
298 | #Preview("combined alignments") {
299 | ScrollView {
300 | VStack(alignment: .leading, spacing: 24) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
301 | WrapLayoutPreviewContainer(title: "center + vertical center") {
302 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:300:24: error: 'leading' is only available in macOS 10.15 or newer
298 | #Preview("combined alignments") {
299 | ScrollView {
300 | VStack(alignment: .leading, spacing: 24) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
301 | WrapLayoutPreviewContainer(title: "center + vertical center") {
302 | WrapLayout(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: error: 'callAsFunction' is only available in macOS 13.0 or newer
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:308:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
306 | lineVerticalAlignment: .center
307 | ) {
308 | Text("A").font(.caption)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:308:11: error: 'Text' is only available in macOS 10.15 or newer
306 | lineVerticalAlignment: .center
307 | ) {
308 | Text("A").font(.caption)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:308:21: error: 'font' is only available in macOS 10.15 or newer
306 | lineVerticalAlignment: .center
307 | ) {
308 | Text("A").font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:308:27: error: 'caption' is only available in macOS 10.15 or newer
306 | lineVerticalAlignment: .center
307 | ) {
308 | Text("A").font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:309:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
307 | ) {
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:309:11: error: 'Text' is only available in macOS 10.15 or newer
307 | ) {
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:309:22: error: 'font' is only available in macOS 10.15 or newer
307 | ) {
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:309:28: error: 'body' is only available in macOS 10.15 or newer
307 | ) {
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
| |- error: 'body' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:310:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:310:11: error: 'Text' is only available in macOS 10.15 or newer
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:310:23: error: 'font' is only available in macOS 10.15 or newer
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:310:29: error: 'largeTitle' is only available in macOS 10.15 or newer
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
| |- error: 'largeTitle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:311:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
312 | Text("E").font(.caption2)
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:311:11: error: 'Text' is only available in macOS 10.15 or newer
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
312 | Text("E").font(.caption2)
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:311:22: error: 'font' is only available in macOS 10.15 or newer
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
312 | Text("E").font(.caption2)
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:311:28: error: 'title3' is only available in macOS 11.0 or newer
309 | Text("Bb").font(.body)
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
312 | Text("E").font(.caption2)
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:312:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
313 | }
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:312:11: error: 'Text' is only available in macOS 10.15 or newer
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
313 | }
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:312:21: error: 'font' is only available in macOS 10.15 or newer
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
313 | }
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:312:27: error: 'caption2' is only available in macOS 11.0 or newer
310 | Text("CcC").font(.largeTitle)
311 | Text("Dd").font(.title3)
312 | Text("E").font(.caption2)
| |- error: 'caption2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
313 | }
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:307:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
305 | lineHorizontalAlignment: .center,
306 | lineVerticalAlignment: .center
307 | ) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
308 | Text("A").font(.caption)
309 | Text("Bb").font(.body)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:322:11: error: 'callAsFunction' is only available in macOS 13.0 or newer
320 | lineHorizontalAlignment: .trailing,
321 | lineVerticalAlignment: .bottom
322 | ) {
| |- error: 'callAsFunction' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
323 | ForEach(_previewTags.prefix(6), id: \.self) {
324 | WrapLayoutPreviewTag($0, color: .green)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:323:11: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
321 | lineVerticalAlignment: .bottom
322 | ) {
323 | ForEach(_previewTags.prefix(6), id: \.self) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
324 | WrapLayoutPreviewTag($0, color: .green)
325 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:323:11: error: 'ForEach' is only available in macOS 10.15 or newer
321 | lineVerticalAlignment: .bottom
322 | ) {
323 | ForEach(_previewTags.prefix(6), id: \.self) {
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
324 | WrapLayoutPreviewTag($0, color: .green)
325 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:323:11: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
321 | lineVerticalAlignment: .bottom
322 | ) {
323 | ForEach(_previewTags.prefix(6), id: \.self) {
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
324 | WrapLayoutPreviewTag($0, color: .green)
325 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:324:46: error: 'green' is only available in macOS 10.15 or newer
322 | ) {
323 | ForEach(_previewTags.prefix(6), id: \.self) {
324 | WrapLayoutPreviewTag($0, color: .green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
325 | }
326 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:322:11: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
320 | lineHorizontalAlignment: .trailing,
321 | lineVerticalAlignment: .bottom
322 | ) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
323 | ForEach(_previewTags.prefix(6), id: \.self) {
324 | WrapLayoutPreviewTag($0, color: .green)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:329:6: error: 'padding' is only available in macOS 10.15 or newer
327 | }
328 | }
329 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
330 | }
331 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:177:5: error: 'Text' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | .padding(.horizontal, 8)
179 | .padding(.vertical, 4)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:178:8: error: 'padding' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
179 | .padding(.vertical, 4)
180 | .background(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:179:8: error: 'padding' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
179 | .padding(.vertical, 4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | .background(
181 | RoundedRectangle(cornerRadius: 8, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:180:8: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
179 | .padding(.vertical, 4)
180 | .background(
| |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
181 | RoundedRectangle(cornerRadius: 8, style: .continuous)
182 | .fill(color.opacity(0.2))
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:181:9: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
179 | .padding(.vertical, 4)
180 | .background(
181 | RoundedRectangle(cornerRadius: 8, style: .continuous)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | .fill(color.opacity(0.2))
183 | )
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:182:12: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
:
180 | .background(
181 | RoundedRectangle(cornerRadius: 8, style: .continuous)
182 | .fill(color.opacity(0.2))
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
183 | )
184 | .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:182:23: error: 'opacity' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
:
180 | .background(
181 | RoundedRectangle(cornerRadius: 8, style: .continuous)
182 | .fill(color.opacity(0.2))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
183 | )
184 | .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:184:8: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
:
182 | .fill(color.opacity(0.2))
183 | )
184 | .overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
185 | RoundedRectangle(cornerRadius: 8, style: .continuous)
186 | .stroke(color, lineWidth: 1)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:185:9: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
:
183 | )
184 | .overlay(
185 | RoundedRectangle(cornerRadius: 8, style: .continuous)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
186 | .stroke(color, lineWidth: 1)
187 | )
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:186:12: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
165 | #if DEBUG
166 |
167 | private struct WrapLayoutPreviewTag: View {
| `- note: add '@available' attribute to enclosing struct
168 | let text: String
169 | let color: Color
:
174 | }
175 |
176 | var body: some View {
| `- note: add '@available' attribute to enclosing property
177 | Text(text)
178 | .padding(.horizontal, 8)
:
184 | .overlay(
185 | RoundedRectangle(cornerRadius: 8, style: .continuous)
186 | .stroke(color, lineWidth: 1)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
187 | )
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:196:5: error: 'VStack' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | Text(title)
198 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:196:24: error: 'leading' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | Text(title)
198 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:197:7: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
198 | .font(.caption)
199 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:197:7: error: 'Text' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
198 | .font(.caption)
199 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:198:10: error: 'font' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
198 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
199 | .foregroundStyle(.secondary)
200 | content()
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:198:16: error: 'caption' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
198 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
199 | .foregroundStyle(.secondary)
200 | content()
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:199:10: error: 'foregroundStyle' is only available in macOS 14.0 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
198 | .font(.caption)
199 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
200 | content()
201 | .background(Color.gray.opacity(0.15))
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:199:27: error: 'secondary' is only available in macOS 12.0 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
198 | .font(.caption)
199 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
200 | content()
201 | .background(Color.gray.opacity(0.15))
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:201:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
:
199 | .foregroundStyle(.secondary)
200 | content()
201 | .background(Color.gray.opacity(0.15))
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:201:21: error: 'Color' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
:
199 | .foregroundStyle(.secondary)
200 | content()
201 | .background(Color.gray.opacity(0.15))
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:201:27: error: 'gray' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
:
199 | .foregroundStyle(.secondary)
200 | content()
201 | .background(Color.gray.opacity(0.15))
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:201:32: error: 'opacity' is only available in macOS 10.15 or newer
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
197 | Text(title)
:
199 | .foregroundStyle(.secondary)
200 | content()
201 | .background(Color.gray.opacity(0.15))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:196:45: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
189 | }
190 |
191 | private struct WrapLayoutPreviewContainer<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
192 | let title: String
193 | @ViewBuilder let content: () -> Content
194 |
195 | var body: some View {
| `- note: add '@available' attribute to enclosing property
196 | VStack(alignment: .leading, spacing: 4) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
197 | Text(title)
198 | .font(.caption)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16173] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (6.60s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (7.18s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/5609] Fetching swift-custom-dump
[5610/81352] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.07s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (4.07s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.6.1 (4.64s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5880] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.41s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (2.15s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.10.1 (0.55s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.10.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.6.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
BUILD FAILURE 6.2 macosSpm