Build Information
Failed to build LeapChucker, reference main (918244), with Swift 6.2 for macOS (SPM) on 11 Aug 2025 19:00:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
296 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:294:35: error: 'secondary' is only available in macOS 10.15 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
292 | Text(label)
293 | .font(.caption)
294 | .foregroundColor(.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
295 | .textCase(.uppercase)
296 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:295:18: error: 'textCase' is only available in macOS 11.0 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
292 | Text(label)
293 | .font(.caption)
294 | .foregroundColor(.secondary)
295 | .textCase(.uppercase)
| |- error: 'textCase' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
296 |
297 | Text(value)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:297:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
292 | Text(label)
:
295 | .textCase(.uppercase)
296 |
297 | Text(value)
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
298 | .font(.body)
299 | .foregroundColor(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:297:13: error: 'Text' is only available in macOS 10.15 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
292 | Text(label)
:
295 | .textCase(.uppercase)
296 |
297 | Text(value)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
298 | .font(.body)
299 | .foregroundColor(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:298:18: error: 'font' is only available in macOS 10.15 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
292 | Text(label)
:
296 |
297 | Text(value)
298 | .font(.body)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
299 | .foregroundColor(.primary)
300 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:298:24: error: 'body' is only available in macOS 10.15 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
292 | Text(label)
:
296 |
297 | Text(value)
298 | .font(.body)
| |- error: 'body' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
299 | .foregroundColor(.primary)
300 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:299:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
292 | Text(label)
:
297 | Text(value)
298 | .font(.body)
299 | .foregroundColor(.primary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
300 | }
301 | .padding(.bottom, 4)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:299:35: error: 'primary' is only available in macOS 10.15 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
292 | Text(label)
:
297 | Text(value)
298 | .font(.body)
299 | .foregroundColor(.primary)
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
300 | }
301 | .padding(.bottom, 4)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:291:49: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
292 | Text(label)
293 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:301:10: error: 'padding' is only available in macOS 10.15 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
292 | Text(label)
:
299 | .foregroundColor(.primary)
300 | }
301 | .padding(.bottom, 4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
302 | }
303 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:315:35: error: cannot find 'UIColor' in scope
313 | .frame(maxWidth: .infinity, alignment: .leading)
314 | .padding(12)
315 | .background(Color(UIColor.systemGray6))
| `- error: cannot find 'UIColor' in scope
316 | .clipShape(RoundedRectangle(cornerRadius: 8))
317 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Compiling LeapChucker NetworkLogRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:57:35: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:68:30: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
66 | }
67 |
68 | private var methodColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
69 | switch request.method.uppercased() {
70 | case "GET": return .blue
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:80:39: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:107:30: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
105 | }
106 |
107 | private var statusColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
108 | if request.error != nil {
109 | return .red
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:145:31: error: 'View' is only available in macOS 10.15 or newer
142 | // MARK: - Preview
143 | #if DEBUG
144 | struct NetworkLogRow_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
145 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
146 | Group {
147 | // Success request
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:16:9: error: 'HStack' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | // Method badge
18 | methodBadge
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:21:13: error: 'VStack' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
19 |
20 | // Request details
21 | VStack(alignment: .leading, spacing: 4) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | // URL
23 | Text(request.shortURL)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:21:32: error: 'leading' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
19 |
20 | // Request details
21 | VStack(alignment: .leading, spacing: 4) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | // URL
23 | Text(request.shortURL)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:23:17: error: 'Text' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
21 | VStack(alignment: .leading, spacing: 4) {
22 | // URL
23 | Text(request.shortURL)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | .font(.body)
25 | .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:24:22: error: 'font' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
22 | // URL
23 | Text(request.shortURL)
24 | .font(.body)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .fontWeight(.medium)
26 | .lineLimit(1)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:24:28: error: 'body' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
22 | // URL
23 | Text(request.shortURL)
24 | .font(.body)
| |- error: 'body' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .fontWeight(.medium)
26 | .lineLimit(1)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:25:22: error: 'fontWeight' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
23 | Text(request.shortURL)
24 | .font(.body)
25 | .fontWeight(.medium)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .lineLimit(1)
27 | .foregroundColor(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:26:22: error: 'lineLimit' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
24 | .font(.body)
25 | .fontWeight(.medium)
26 | .lineLimit(1)
| |- error: 'lineLimit' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundColor(.primary)
28 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:27:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
25 | .fontWeight(.medium)
26 | .lineLimit(1)
27 | .foregroundColor(.primary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 |
29 | // Status and timing info
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:27:39: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
25 | .fontWeight(.medium)
26 | .lineLimit(1)
27 | .foregroundColor(.primary)
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 |
29 | // Status and timing info
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:30:17: error: 'HStack' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
28 |
29 | // Status and timing info
30 | HStack(spacing: 8) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | statusIndicator
32 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:33:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
31 | statusIndicator
32 |
33 | Text(formatTimestamp(request.timestamp))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .font(.caption)
35 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:33:21: error: 'Text' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
31 | statusIndicator
32 |
33 | Text(formatTimestamp(request.timestamp))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .font(.caption)
35 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:34:26: error: 'font' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
32 |
33 | Text(formatTimestamp(request.timestamp))
34 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | .foregroundColor(.secondary)
36 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:34:32: error: 'caption' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
32 |
33 | Text(formatTimestamp(request.timestamp))
34 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | .foregroundColor(.secondary)
36 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:35:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
33 | Text(formatTimestamp(request.timestamp))
34 | .font(.caption)
35 | .foregroundColor(.secondary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 |
37 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:35:43: error: 'secondary' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
33 | Text(formatTimestamp(request.timestamp))
34 | .font(.caption)
35 | .foregroundColor(.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 |
37 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:37:21: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
35 | .foregroundColor(.secondary)
36 |
37 | Spacer()
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 |
39 | if let duration = request.duration {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:37:21: error: 'Spacer' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
35 | .foregroundColor(.secondary)
36 |
37 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 |
39 | if let duration = request.duration {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:40:25: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
38 |
39 | if let duration = request.duration {
40 | Text(request.formattedDuration)
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .font(.caption)
42 | .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:40:25: error: 'Text' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
38 |
39 | if let duration = request.duration {
40 | Text(request.formattedDuration)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .font(.caption)
42 | .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:41:30: error: 'font' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
39 | if let duration = request.duration {
40 | Text(request.formattedDuration)
41 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .fontWeight(.medium)
43 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:41:36: error: 'caption' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
39 | if let duration = request.duration {
40 | Text(request.formattedDuration)
41 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .fontWeight(.medium)
43 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:42:30: error: 'fontWeight' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
40 | Text(request.formattedDuration)
41 | .font(.caption)
42 | .fontWeight(.medium)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | .foregroundColor(.secondary)
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:43:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
41 | .font(.caption)
42 | .fontWeight(.medium)
43 | .foregroundColor(.secondary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:43:47: error: 'secondary' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
41 | .font(.caption)
42 | .fontWeight(.medium)
43 | .foregroundColor(.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:39:56: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
37 | Spacer()
38 |
39 | if let duration = request.duration {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | Text(request.formattedDuration)
41 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:39:56: error: 'buildIf' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
37 | Spacer()
38 |
39 | if let duration = request.duration {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | Text(request.formattedDuration)
41 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:44:21: error: 'buildIf' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
42 | .fontWeight(.medium)
43 | .foregroundColor(.secondary)
44 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:30:36: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
28 |
29 | // Status and timing info
30 | HStack(spacing: 8) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | statusIndicator
32 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:30:36: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
28 |
29 | // Status and timing info
30 | HStack(spacing: 8) {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | statusIndicator
32 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:30:36: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
28 |
29 | // Status and timing info
30 | HStack(spacing: 8) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | statusIndicator
32 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:49:13: error: 'Image' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
47 |
48 | // Chevron
49 | Image(systemName: "chevron.right")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | .font(.caption)
51 | .foregroundColor(.white)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:49:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
47 |
48 | // Chevron
49 | Image(systemName: "chevron.right")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
50 | .font(.caption)
51 | .foregroundColor(.white)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:50:18: error: 'font' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
48 | // Chevron
49 | Image(systemName: "chevron.right")
50 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | .foregroundColor(.white)
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:50:24: error: 'caption' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
48 | // Chevron
49 | Image(systemName: "chevron.right")
50 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | .foregroundColor(.white)
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:51:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
49 | Image(systemName: "chevron.right")
50 | .font(.caption)
51 | .foregroundColor(.white)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | }
53 | .padding(.vertical, 8)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:51:35: error: 'white' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
49 | Image(systemName: "chevron.right")
50 | .font(.caption)
51 | .foregroundColor(.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | }
53 | .padding(.vertical, 8)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:53:10: error: 'padding' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
:
51 | .foregroundColor(.white)
52 | }
53 | .padding(.vertical, 8)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:39:28: warning: value 'duration' was defined but never used; consider replacing with boolean test [#no-usage]
37 | Spacer()
38 |
39 | if let duration = request.duration {
| `- warning: value 'duration' was defined but never used; consider replacing with boolean test [#no-usage]
40 | Text(request.formattedDuration)
41 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:58:9: error: 'Text' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .font(.caption)
60 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:59:14: error: 'font' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | .fontWeight(.semibold)
61 | .padding(.horizontal, 6)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:59:20: error: 'caption' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | .fontWeight(.semibold)
61 | .padding(.horizontal, 6)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:60:14: error: 'fontWeight' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
60 | .fontWeight(.semibold)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | .padding(.horizontal, 6)
62 | .padding(.vertical, 2)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:61:14: error: 'padding' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
60 | .fontWeight(.semibold)
61 | .padding(.horizontal, 6)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | .padding(.vertical, 2)
63 | .background(methodColor.opacity(0.2))
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:62:14: error: 'padding' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
60 | .fontWeight(.semibold)
61 | .padding(.horizontal, 6)
62 | .padding(.vertical, 2)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | .background(methodColor.opacity(0.2))
64 | .foregroundColor(methodColor)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:63:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
:
61 | .padding(.horizontal, 6)
62 | .padding(.vertical, 2)
63 | .background(methodColor.opacity(0.2))
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
64 | .foregroundColor(methodColor)
65 | .clipShape(RoundedRectangle(cornerRadius: 4))
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:63:37: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
:
61 | .padding(.horizontal, 6)
62 | .padding(.vertical, 2)
63 | .background(methodColor.opacity(0.2))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | .foregroundColor(methodColor)
65 | .clipShape(RoundedRectangle(cornerRadius: 4))
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:64:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
:
62 | .padding(.vertical, 2)
63 | .background(methodColor.opacity(0.2))
64 | .foregroundColor(methodColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .clipShape(RoundedRectangle(cornerRadius: 4))
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:65:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
:
63 | .background(methodColor.opacity(0.2))
64 | .foregroundColor(methodColor)
65 | .clipShape(RoundedRectangle(cornerRadius: 4))
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:65:24: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
:
63 | .background(methodColor.opacity(0.2))
64 | .foregroundColor(methodColor)
65 | .clipShape(RoundedRectangle(cornerRadius: 4))
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:70:29: error: 'blue' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
66 | }
67 |
68 | private var methodColor: Color {
| `- note: add @available attribute to enclosing property
69 | switch request.method.uppercased() {
70 | case "GET": return .blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | case "POST": return .green
72 | case "PUT": return .orange
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:71:30: error: 'green' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
66 | }
67 |
68 | private var methodColor: Color {
| `- note: add @available attribute to enclosing property
69 | switch request.method.uppercased() {
70 | case "GET": return .blue
71 | case "POST": return .green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | case "PUT": return .orange
73 | case "DELETE": return .red
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:72:29: error: 'orange' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
66 | }
67 |
68 | private var methodColor: Color {
| `- note: add @available attribute to enclosing property
69 | switch request.method.uppercased() {
70 | case "GET": return .blue
71 | case "POST": return .green
72 | case "PUT": return .orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | case "DELETE": return .red
74 | case "PATCH": return .purple
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:73:32: error: 'red' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
66 | }
67 |
68 | private var methodColor: Color {
| `- note: add @available attribute to enclosing property
69 | switch request.method.uppercased() {
70 | case "GET": return .blue
71 | case "POST": return .green
72 | case "PUT": return .orange
73 | case "DELETE": return .red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | case "PATCH": return .purple
75 | default: return .gray
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:74:31: error: 'purple' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
66 | }
67 |
68 | private var methodColor: Color {
| `- note: add @available attribute to enclosing property
69 | switch request.method.uppercased() {
70 | case "GET": return .blue
:
72 | case "PUT": return .orange
73 | case "DELETE": return .red
74 | case "PATCH": return .purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | default: return .gray
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:75:26: error: 'gray' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
66 | }
67 |
68 | private var methodColor: Color {
| `- note: add @available attribute to enclosing property
69 | switch request.method.uppercased() {
70 | case "GET": return .blue
:
73 | case "DELETE": return .red
74 | case "PATCH": return .purple
75 | default: return .gray
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:81:9: error: 'HStack' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | // Status dot
83 | Circle()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:81:28: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | // Status dot
83 | Circle()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:83:13: error: 'Circle' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
83 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | .fill(statusColor)
85 | .frame(width: 8, height: 8)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:84:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
83 | Circle()
84 | .fill(statusColor)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
85 | .frame(width: 8, height: 8)
86 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:85:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
83 | Circle()
84 | .fill(statusColor)
85 | .frame(width: 8, height: 8)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 |
87 | // Status code
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:89:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
87 | // Status code
88 | if let code = request.responseCode {
89 | Text("\(code)")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | .font(.caption)
91 | .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:89:17: error: 'Text' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
87 | // Status code
88 | if let code = request.responseCode {
89 | Text("\(code)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | .font(.caption)
91 | .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:90:22: error: 'font' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
88 | if let code = request.responseCode {
89 | Text("\(code)")
90 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | .fontWeight(.medium)
92 | .foregroundColor(statusColor)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:90:28: error: 'caption' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
88 | if let code = request.responseCode {
89 | Text("\(code)")
90 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | .fontWeight(.medium)
92 | .foregroundColor(statusColor)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:91:22: error: 'fontWeight' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
89 | Text("\(code)")
90 | .font(.caption)
91 | .fontWeight(.medium)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .foregroundColor(statusColor)
93 | } else if request.error != nil {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:92:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
90 | .font(.caption)
91 | .fontWeight(.medium)
92 | .foregroundColor(statusColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | } else if request.error != nil {
94 | Text("ERROR")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:88:48: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
86 |
87 | // Status code
88 | if let code = request.responseCode {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | Text("\(code)")
90 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:88:48: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
86 |
87 | // Status code
88 | if let code = request.responseCode {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | Text("\(code)")
90 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:88:48: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
86 |
87 | // Status code
88 | if let code = request.responseCode {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | Text("\(code)")
90 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:94:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
92 | .foregroundColor(statusColor)
93 | } else if request.error != nil {
94 | Text("ERROR")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | .font(.caption)
96 | .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:94:17: error: 'Text' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
92 | .foregroundColor(statusColor)
93 | } else if request.error != nil {
94 | Text("ERROR")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | .font(.caption)
96 | .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:95:22: error: 'font' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
93 | } else if request.error != nil {
94 | Text("ERROR")
95 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | .fontWeight(.medium)
97 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:95:28: error: 'caption' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
93 | } else if request.error != nil {
94 | Text("ERROR")
95 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | .fontWeight(.medium)
97 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:96:22: error: 'fontWeight' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
94 | Text("ERROR")
95 | .font(.caption)
96 | .fontWeight(.medium)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | .foregroundColor(.red)
98 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:97:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
95 | .font(.caption)
96 | .fontWeight(.medium)
97 | .foregroundColor(.red)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | } else {
99 | Text("PENDING")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:97:39: error: 'red' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
95 | .font(.caption)
96 | .fontWeight(.medium)
97 | .foregroundColor(.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | } else {
99 | Text("PENDING")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:93:44: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
91 | .fontWeight(.medium)
92 | .foregroundColor(statusColor)
93 | } else if request.error != nil {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | Text("ERROR")
95 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:93:44: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
91 | .fontWeight(.medium)
92 | .foregroundColor(statusColor)
93 | } else if request.error != nil {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | Text("ERROR")
95 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:93:44: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
91 | .fontWeight(.medium)
92 | .foregroundColor(statusColor)
93 | } else if request.error != nil {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | Text("ERROR")
95 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:99:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
97 | .foregroundColor(.red)
98 | } else {
99 | Text("PENDING")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 | .font(.caption)
101 | .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:99:17: error: 'Text' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
97 | .foregroundColor(.red)
98 | } else {
99 | Text("PENDING")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 | .font(.caption)
101 | .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:100:22: error: 'font' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
98 | } else {
99 | Text("PENDING")
100 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | .fontWeight(.medium)
102 | .foregroundColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:100:28: error: 'caption' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
98 | } else {
99 | Text("PENDING")
100 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | .fontWeight(.medium)
102 | .foregroundColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:101:22: error: 'fontWeight' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
99 | Text("PENDING")
100 | .font(.caption)
101 | .fontWeight(.medium)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | .foregroundColor(.gray)
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:102:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
100 | .font(.caption)
101 | .fontWeight(.medium)
102 | .foregroundColor(.gray)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | }
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:102:39: error: 'gray' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
100 | .font(.caption)
101 | .fontWeight(.medium)
102 | .foregroundColor(.gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | }
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:98:20: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
96 | .fontWeight(.medium)
97 | .foregroundColor(.red)
98 | } else {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | Text("PENDING")
100 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:98:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
:
96 | .fontWeight(.medium)
97 | .foregroundColor(.red)
98 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | Text("PENDING")
100 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:81:28: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | // Status dot
83 | Circle()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:109:21: error: 'red' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
105 | }
106 |
107 | private var statusColor: Color {
| `- note: add @available attribute to enclosing property
108 | if request.error != nil {
109 | return .red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:113:21: error: 'gray' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
105 | }
106 |
107 | private var statusColor: Color {
| `- note: add @available attribute to enclosing property
108 | if request.error != nil {
109 | return .red
:
111 |
112 | guard let code = request.responseCode else {
113 | return .gray
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | }
115 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:117:33: error: 'green' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
105 | }
106 |
107 | private var statusColor: Color {
| `- note: add @available attribute to enclosing property
108 | if request.error != nil {
109 | return .red
:
115 |
116 | switch code {
117 | case 200..<300: return .green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | case 300..<400: return .yellow
119 | case 400..<500: return .orange
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:118:33: error: 'yellow' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
105 | }
106 |
107 | private var statusColor: Color {
| `- note: add @available attribute to enclosing property
108 | if request.error != nil {
109 | return .red
:
116 | switch code {
117 | case 200..<300: return .green
118 | case 300..<400: return .yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | case 400..<500: return .orange
120 | case 500..<600: return .red
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:119:33: error: 'orange' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
105 | }
106 |
107 | private var statusColor: Color {
| `- note: add @available attribute to enclosing property
108 | if request.error != nil {
109 | return .red
:
117 | case 200..<300: return .green
118 | case 300..<400: return .yellow
119 | case 400..<500: return .orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | case 500..<600: return .red
121 | default: return .gray
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:120:33: error: 'red' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
105 | }
106 |
107 | private var statusColor: Color {
| `- note: add @available attribute to enclosing property
108 | if request.error != nil {
109 | return .red
:
118 | case 300..<400: return .yellow
119 | case 400..<500: return .orange
120 | case 500..<600: return .red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | default: return .gray
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:121:26: error: 'gray' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
105 | }
106 |
107 | private var statusColor: Color {
| `- note: add @available attribute to enclosing property
108 | if request.error != nil {
109 | return .red
:
119 | case 400..<500: return .orange
120 | case 500..<600: return .red
121 | default: return .gray
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | }
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:146:9: error: 'Group' is only available in macOS 10.15 or newer
142 | // MARK: - Preview
143 | #if DEBUG
144 | struct NetworkLogRow_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
145 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
146 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | // Success request
148 | NetworkLogRow(request: NetworkRequest(
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:146:9: error: 'init(content:)' is only available in macOS 10.15 or newer
142 | // MARK: - Preview
143 | #if DEBUG
144 | struct NetworkLogRow_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
145 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
146 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | // Success request
148 | NetworkLogRow(request: NetworkRequest(
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:174:10: error: 'previewLayout' is only available in macOS 10.15 or newer
142 | // MARK: - Preview
143 | #if DEBUG
144 | struct NetworkLogRow_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
145 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
146 | Group {
147 | // Success request
:
172 | ))
173 | }
174 | .previewLayout(.sizeThatFits)
| |- error: 'previewLayout' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | .padding()
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:175:10: error: 'padding' is only available in macOS 10.15 or newer
142 | // MARK: - Preview
143 | #if DEBUG
144 | struct NetworkLogRow_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
145 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
146 | Group {
147 | // Success request
:
173 | }
174 | .previewLayout(.sizeThatFits)
175 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
176 | }
177 | }
[9/13] Compiling LeapChucker NetworkLoggerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:12:6: error: 'StateObject' is only available in macOS 11.0 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
| `- error: 'StateObject' is only available in macOS 11.0 or newer
13 | @State private var searchText = ""
14 | @State private var selectedRequest: NetworkRequest?
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
| `- error: 'State' is only available in macOS 10.15 or newer
14 | @State private var selectedRequest: NetworkRequest?
15 | @State private var showingClearAlert = false
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
14 | @State private var selectedRequest: NetworkRequest?
| `- error: 'State' is only available in macOS 10.15 or newer
15 | @State private var showingClearAlert = false
16 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
14 | @State private var selectedRequest: NetworkRequest?
15 | @State private var showingClearAlert = false
| `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 | private var filteredRequests: [NetworkRequest] {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:23:27: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:46:33: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:59:35: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
60 | Group {
61 | if filteredRequests.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:80:34: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
78 |
79 | // MARK: - Empty State
80 | private var emptyState: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
81 | VStack(spacing: 20) {
82 | Image(systemName: "network")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:24:9: error: 'NavigationView' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
| |- error: 'NavigationView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | VStack(spacing: 0) {
26 | // Search bar
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:24:24: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | VStack(spacing: 0) {
26 | // Search bar
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:25:13: error: 'VStack' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | // Search bar
27 | searchBar
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:32:14: error: 'navigationTitle' is only available in macOS 11.0 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
30 | requestList
31 | }
32 | .navigationTitle("Network Logger")
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | .navigationBarTitleDisplayMode(.large)
34 | .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:32:30: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
30 | requestList
31 | }
32 | .navigationTitle("Network Logger")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .navigationBarTitleDisplayMode(.large)
34 | .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:33:14: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
31 | }
32 | .navigationTitle("Network Logger")
33 | .navigationBarTitleDisplayMode(.large)
| `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
34 | .toolbar {
35 | ToolbarItem(placement: .navigationBarTrailing) {
SwiftUI.View.navigationBarTitleDisplayMode:2:25: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
| `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:34:14: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
32 | .navigationTitle("Network Logger")
33 | .navigationBarTitleDisplayMode(.large)
34 | .toolbar {
| |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
35 | ToolbarItem(placement: .navigationBarTrailing) {
36 | Button("Clear All Logs") {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:34:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
32 | .navigationTitle("Network Logger")
33 | .navigationBarTitleDisplayMode(.large)
34 | .toolbar {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | ToolbarItem(placement: .navigationBarTrailing) {
36 | Button("Clear All Logs") {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:35:17: error: 'ToolbarItem' is only available in macOS 11.0 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
33 | .navigationBarTitleDisplayMode(.large)
34 | .toolbar {
35 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
36 | Button("Clear All Logs") {
37 | store.clearAllRequests()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:35:17: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
33 | .navigationBarTitleDisplayMode(.large)
34 | .toolbar {
35 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
36 | Button("Clear All Logs") {
37 | store.clearAllRequests()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:35:41: error: 'navigationBarTrailing' is unavailable in macOS
33 | .navigationBarTitleDisplayMode(.large)
34 | .toolbar {
35 | ToolbarItem(placement: .navigationBarTrailing) {
| `- error: 'navigationBarTrailing' is unavailable in macOS
36 | Button("Clear All Logs") {
37 | store.clearAllRequests()
SwiftUI.ToolbarItemPlacement.navigationBarTrailing:7:21: note: 'navigationBarTrailing' has been explicitly marked unavailable here
5 | @available(watchOS, unavailable)
6 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarTrailing instead")
7 | public static let navigationBarTrailing: ToolbarItemPlacement}
| `- note: 'navigationBarTrailing' has been explicitly marked unavailable here
8 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:35:64: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
33 | .navigationBarTitleDisplayMode(.large)
34 | .toolbar {
35 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | Button("Clear All Logs") {
37 | store.clearAllRequests()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:36:21: error: 'Button' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
34 | .toolbar {
35 | ToolbarItem(placement: .navigationBarTrailing) {
36 | Button("Clear All Logs") {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | store.clearAllRequests()
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:36:21: error: 'init(_:action:)' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
34 | .toolbar {
35 | ToolbarItem(placement: .navigationBarTrailing) {
36 | Button("Clear All Logs") {
| |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | store.clearAllRequests()
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:36:28: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
34 | .toolbar {
35 | ToolbarItem(placement: .navigationBarTrailing) {
36 | Button("Clear All Logs") {
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | store.clearAllRequests()
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:39:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
37 | store.clearAllRequests()
38 | }
39 | .foregroundColor(.red)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:39:39: error: 'red' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
:
37 | store.clearAllRequests()
38 | }
39 | .foregroundColor(.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:47:9: error: 'HStack' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | Image(systemName: "magnifyingglass")
49 | .foregroundColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:47:16: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | Image(systemName: "magnifyingglass")
49 | .foregroundColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:48:13: error: 'Image' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | .foregroundColor(.gray)
50 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:48:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
49 | .foregroundColor(.gray)
50 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:49:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
49 | .foregroundColor(.gray)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 |
51 | TextField("Search requests...", text: $searchText)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:49:35: error: 'gray' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
49 | .foregroundColor(.gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 |
51 | TextField("Search requests...", text: $searchText)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:51:13: error: 'TextField' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
49 | .foregroundColor(.gray)
50 |
51 | TextField("Search requests...", text: $searchText)
| |- error: 'TextField' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | .textFieldStyle(RoundedBorderTextFieldStyle())
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:51:13: error: 'init(_:text:)' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
49 | .foregroundColor(.gray)
50 |
51 | TextField("Search requests...", text: $searchText)
| |- error: 'init(_:text:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | .textFieldStyle(RoundedBorderTextFieldStyle())
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:51:23: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
49 | .foregroundColor(.gray)
50 |
51 | TextField("Search requests...", text: $searchText)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | .textFieldStyle(RoundedBorderTextFieldStyle())
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:52:18: error: 'textFieldStyle' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
:
50 |
51 | TextField("Search requests...", text: $searchText)
52 | .textFieldStyle(RoundedBorderTextFieldStyle())
| |- error: 'textFieldStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | }
54 | .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:52:33: error: 'RoundedBorderTextFieldStyle' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
:
50 |
51 | TextField("Search requests...", text: $searchText)
52 | .textFieldStyle(RoundedBorderTextFieldStyle())
| |- error: 'RoundedBorderTextFieldStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | }
54 | .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:54:10: error: 'padding' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
:
52 | .textFieldStyle(RoundedBorderTextFieldStyle())
53 | }
54 | .padding(.horizontal)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | .padding(.top, 8)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:55:10: error: 'padding' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
:
53 | }
54 | .padding(.horizontal)
55 | .padding(.top, 8)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:60:9: error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
| |- error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | if filteredRequests.isEmpty {
62 | emptyState
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:60:9: error: 'Group' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | if filteredRequests.isEmpty {
62 | emptyState
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:60:9: error: 'init(content:)' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | if filteredRequests.isEmpty {
62 | emptyState
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:60:15: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | if filteredRequests.isEmpty {
62 | emptyState
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:61:41: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
61 | if filteredRequests.isEmpty {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | emptyState
63 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:64:17: error: 'List' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
61 | if filteredRequests.isEmpty {
62 | emptyState
63 | } else {
64 | List(filteredRequests) { request in
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | NavigationLink(
66 | destination: RequestDetailView(request: request),
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:64:17: error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
61 | if filteredRequests.isEmpty {
62 | emptyState
63 | } else {
64 | List(filteredRequests) { request in
| |- error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | NavigationLink(
66 | destination: RequestDetailView(request: request),
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:65:21: error: 'NavigationLink' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
61 | if filteredRequests.isEmpty {
:
63 | } else {
64 | List(filteredRequests) { request in
65 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | destination: RequestDetailView(request: request),
67 | tag: request,
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:65:21: error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
61 | if filteredRequests.isEmpty {
:
63 | } else {
64 | List(filteredRequests) { request in
65 | NavigationLink(
| |- error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | destination: RequestDetailView(request: request),
67 | tag: request,
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:73:18: error: 'listStyle' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
61 | if filteredRequests.isEmpty {
:
71 | }
72 | }
73 | .listStyle(PlainListStyle())
| |- error: 'listStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 |
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:73:28: error: 'PlainListStyle' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
61 | if filteredRequests.isEmpty {
:
71 | }
72 | }
73 | .listStyle(PlainListStyle())
| |- error: 'PlainListStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 |
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:63:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
61 | if filteredRequests.isEmpty {
62 | emptyState
63 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | List(filteredRequests) { request in
65 | NavigationLink(
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:60:15: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| `- note: add @available attribute to enclosing property
60 | Group {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | if filteredRequests.isEmpty {
62 | emptyState
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:111:27: error: cannot find 'UIColor' in scope
109 | }
110 | .frame(maxWidth: .infinity, maxHeight: .infinity)
111 | .background(Color(UIColor.systemGroupedBackground))
| `- error: cannot find 'UIColor' in scope
112 | }
113 | }
[10/13] Compiling LeapChucker LeapChucker.swift
[11/13] Compiling LeapChucker LeapChuckerInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/LeapChuckerInterceptor.swift:59:30: warning: capture of 'self' with non-sendable type 'LeapChuckerInterceptor?' in a '@Sendable' closure [#SendableClosureCaptures]
57 | let session = URLSession(configuration: .default)
58 | let task = session.dataTask(with: mutableRequest as URLRequest) { [weak self] data, response, error in
59 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'LeapChuckerInterceptor?' in a '@Sendable' closure [#SendableClosureCaptures]
60 |
61 | // Log the response
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/LeapChuckerInterceptor.swift:102:9: error: 'Task' is only available in macOS 10.15 or newer
10 |
11 | /// URLProtocol subclass that intercepts all URLSession requests
12 | internal class LeapChuckerInterceptor: URLProtocol {
| `- note: add @available attribute to enclosing class
13 | private var startTime: Date?
14 | private var requestID: UUID?
:
83 | }
84 |
85 | private func logRequest(_ request: URLRequest) {
| `- note: add @available attribute to enclosing instance method
86 | guard let requestID = requestID,
87 | let url = request.url?.absoluteString else { return }
:
100 |
101 | // Use Task to call main actor method asynchronously
102 | Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | LeapChuckerLogger.shared.logRequest(networkRequest)
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/LeapChuckerInterceptor.swift:102:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
10 |
11 | /// URLProtocol subclass that intercepts all URLSession requests
12 | internal class LeapChuckerInterceptor: URLProtocol {
| `- note: add @available attribute to enclosing class
13 | private var startTime: Date?
14 | private var requestID: UUID?
:
83 | }
84 |
85 | private func logRequest(_ request: URLRequest) {
| `- note: add @available attribute to enclosing instance method
86 | guard let requestID = requestID,
87 | let url = request.url?.absoluteString else { return }
:
100 |
101 | // Use Task to call main actor method asynchronously
102 | Task { @MainActor in
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | LeapChuckerLogger.shared.logRequest(networkRequest)
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/LeapChuckerInterceptor.swift:168:9: error: 'Task' is only available in macOS 10.15 or newer
10 |
11 | /// URLProtocol subclass that intercepts all URLSession requests
12 | internal class LeapChuckerInterceptor: URLProtocol {
| `- note: add @available attribute to enclosing class
13 | private var startTime: Date?
14 | private var requestID: UUID?
:
157 | }
158 |
159 | private func logResponse(data: Data?, response: URLResponse?, error: Error?) {
| `- note: add @available attribute to enclosing instance method
160 | guard let requestID = requestID else { return }
161 |
:
166 |
167 | // Use Task to call main actor method asynchronously
168 | Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 | LeapChuckerLogger.shared.updateRequestWithResponse(
170 | id: requestID,
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/LeapChuckerInterceptor.swift:168:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
10 |
11 | /// URLProtocol subclass that intercepts all URLSession requests
12 | internal class LeapChuckerInterceptor: URLProtocol {
| `- note: add @available attribute to enclosing class
13 | private var startTime: Date?
14 | private var requestID: UUID?
:
157 | }
158 |
159 | private func logResponse(data: Data?, response: URLResponse?, error: Error?) {
| `- note: add @available attribute to enclosing instance method
160 | guard let requestID = requestID else { return }
161 |
:
166 |
167 | // Use Task to call main actor method asynchronously
168 | Task { @MainActor in
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 | LeapChuckerLogger.shared.updateRequestWithResponse(
170 | id: requestID,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[12/13] Compiling LeapChucker LeapChuckerExports.swift
[13/13] Emitting module LeapChucker
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/LeapChuckerLogger.swift:5:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
3 | /// Main logger class that coordinates network interception and storage
4 | @MainActor
5 | public class LeapChuckerLogger: ObservableObject, Sendable {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
6 | public static let shared = LeapChuckerLogger()
7 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
16 | HStack(spacing: 12) {
17 | // Method badge
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:57:35: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Method Badge
57 | private var methodBadge: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
58 | Text(request.method)
59 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:68:30: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
66 | }
67 |
68 | private var methodColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
69 | switch request.method.uppercased() {
70 | case "GET": return .blue
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:80:39: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
78 |
79 | // MARK: - Status Indicator
80 | private var statusIndicator: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
81 | HStack(spacing: 4) {
82 | // Status dot
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:107:30: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | /// Individual row component for displaying network request summary
12 | internal struct NetworkLogRow: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
105 | }
106 |
107 | private var statusColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
108 | if request.error != nil {
109 | return .red
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLogRow.swift:145:31: error: 'View' is only available in macOS 10.15 or newer
142 | // MARK: - Preview
143 | #if DEBUG
144 | struct NetworkLogRow_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
145 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
146 | Group {
147 | // Success request
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:12:6: error: 'StateObject' is only available in macOS 11.0 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
| `- error: 'StateObject' is only available in macOS 11.0 or newer
13 | @State private var searchText = ""
14 | @State private var selectedRequest: NetworkRequest?
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
| `- error: 'State' is only available in macOS 10.15 or newer
14 | @State private var selectedRequest: NetworkRequest?
15 | @State private var showingClearAlert = false
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
14 | @State private var selectedRequest: NetworkRequest?
| `- error: 'State' is only available in macOS 10.15 or newer
15 | @State private var showingClearAlert = false
16 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
14 | @State private var selectedRequest: NetworkRequest?
15 | @State private var showingClearAlert = false
| `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 | private var filteredRequests: [NetworkRequest] {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:23:27: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
21 | public init() {}
22 |
23 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
24 | NavigationView {
25 | VStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:46:33: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
44 |
45 | // MARK: - Search Bar
46 | private var searchBar: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
47 | HStack {
48 | Image(systemName: "magnifyingglass")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:59:35: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
57 |
58 | // MARK: - Request List
59 | private var requestList: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
60 | Group {
61 | if filteredRequests.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/NetworkLoggerView.swift:80:34: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | /// Main SwiftUI view displaying all captured network requests
11 | public struct NetworkLoggerView: View {
| `- note: add @available attribute to enclosing struct
12 | @StateObject private var store = SimpleNetworkStore.shared
13 | @State private var searchText = ""
:
78 |
79 | // MARK: - Empty State
80 | private var emptyState: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
81 | VStack(spacing: 20) {
82 | Image(systemName: "network")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
10 |
11 | /// Detailed view showing complete request and response information
12 | public struct RequestDetailView: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | @State private var selectedSection: DetailSection = .overview
| `- error: 'State' is only available in macOS 10.15 or newer
16 | @State private var showingShareSheet = false
17 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
10 |
11 | /// Detailed view showing complete request and response information
12 | public struct RequestDetailView: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
15 | @State private var selectedSection: DetailSection = .overview
16 | @State private var showingShareSheet = false
| `- error: 'State' is only available in macOS 10.15 or newer
17 |
18 | public init(request: NetworkRequest) {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:22:27: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Detailed view showing complete request and response information
12 | public struct RequestDetailView: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
20 | }
21 |
22 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
23 | VStack(spacing: 0) {
24 | // Section picker
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:57:37: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Detailed view showing complete request and response information
12 | public struct RequestDetailView: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
55 |
56 | // MARK: - Section Picker
57 | private var sectionPicker: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
59 | ForEach(DetailSection.allCases, id: \.self) { section in
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:68:39: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Detailed view showing complete request and response information
12 | public struct RequestDetailView: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
66 |
67 | // MARK: - Overview Section
68 | private var overviewSection: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:99:38: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Detailed view showing complete request and response information
12 | public struct RequestDetailView: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
97 |
98 | // MARK: - Request Section
99 | private var requestSection: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:126:39: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Detailed view showing complete request and response information
12 | public struct RequestDetailView: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
124 |
125 | // MARK: - Response Section
126 | private var responseSection: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:153:34: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | /// Detailed view showing complete request and response information
12 | public struct RequestDetailView: View {
| `- note: add @available attribute to enclosing struct
13 | let request: NetworkRequest
14 |
:
151 |
152 | // MARK: - Status Card
153 | private var statusCard: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
154 | HStack(spacing: 12) {
155 | Circle()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:267:26: error: 'ViewBuilder' is only available in macOS 10.15 or newer
261 |
262 | // MARK: - Supporting Views
263 | private struct InfoCard<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
264 | let title: String
265 | let content: Content
266 |
267 | init(title: String, @ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
268 | self.title = title
269 | self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:272:20: error: 'View' is only available in macOS 10.15 or newer
261 |
262 | // MARK: - Supporting Views
263 | private struct InfoCard<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
264 | let title: String
265 | let content: Content
:
270 | }
271 |
272 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
273 | VStack(alignment: .leading, spacing: 12) {
274 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:263:34: error: 'View' is only available in macOS 10.15 or newer
261 |
262 | // MARK: - Supporting Views
263 | private struct InfoCard<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
264 | let title: String
265 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:290:20: error: 'View' is only available in macOS 10.15 or newer
284 | }
285 |
286 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
287 | let label: String
288 | let value: String
289 |
290 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
291 | VStack(alignment: .leading, spacing: 4) {
292 | Text(label)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:308:20: error: 'View' is only available in macOS 10.15 or newer
303 | }
304 |
305 | private struct CodeBlock: View {
| `- note: add @available attribute to enclosing struct
306 | let content: String
307 |
308 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
309 | ScrollView {
310 | Text(content)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:326:52: error: cannot find type 'UIActivityViewController' in scope
324 | let activityItems: [Any]
325 |
326 | func makeUIViewController(context: Context) -> UIActivityViewController {
| `- error: cannot find type 'UIActivityViewController' in scope
327 | UIActivityViewController(activityItems: activityItems, applicationActivities: nil)
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:326:40: error: cannot find type 'Context' in scope
324 | let activityItems: [Any]
325 |
326 | func makeUIViewController(context: Context) -> UIActivityViewController {
| `- error: cannot find type 'Context' in scope
327 | UIActivityViewController(activityItems: activityItems, applicationActivities: nil)
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:330:53: error: cannot find type 'UIActivityViewController' in scope
328 | }
329 |
330 | func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) {}
| `- error: cannot find type 'UIActivityViewController' in scope
331 | }
332 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:330:88: error: cannot find type 'Context' in scope
328 | }
329 |
330 | func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) {}
| `- error: cannot find type 'Context' in scope
331 | }
332 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:323:28: error: cannot find type 'UIViewControllerRepresentable' in scope
321 |
322 | // MARK: - Share Sheet
323 | private struct ShareSheet: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
324 | let activityItems: [Any]
325 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/Storage/SimpleNetworkStore.swift:17:6: error: 'Published' is only available in macOS 10.15 or newer
12 | /// Simple file-based storage for network requests - no Core Data needed!
13 | @MainActor
14 | internal class SimpleNetworkStore: ObservableObject, Sendable {
| `- note: add @available attribute to enclosing class
15 | static let shared = SimpleNetworkStore()
16 |
17 | @Published private(set) var requests: [NetworkRequest] = []
| `- error: 'Published' is only available in macOS 10.15 or newer
18 | private let maxRequestCount = 100
19 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/Storage/SimpleNetworkStore.swift:14:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
12 | /// Simple file-based storage for network requests - no Core Data needed!
13 | @MainActor
14 | internal class SimpleNetworkStore: ObservableObject, Sendable {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
15 | static let shared = SimpleNetworkStore()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:15:48: error: 'Binding' is only available in macOS 10.15 or newer
9 |
10 | // MARK: - SwiftUI View Extension
11 | extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Adds LeapChucker network logger to any SwiftUI view
13 | /// - Parameter isPresented: Binding to control when the logger is shown
14 | /// - Returns: View with attached network logger sheet
15 | public func leapChuckerLogger(isPresented: Binding<Bool>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | self.sheet(isPresented: isPresented) {
17 | NetworkLoggerView()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:15:71: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | // MARK: - SwiftUI View Extension
11 | extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Adds LeapChucker network logger to any SwiftUI view
13 | /// - Parameter isPresented: Binding to control when the logger is shown
14 | /// - Returns: View with attached network logger sheet
15 | public func leapChuckerLogger(isPresented: Binding<Bool>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | self.sheet(isPresented: isPresented) {
17 | NetworkLoggerView()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:23:50: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | // MARK: - SwiftUI View Extension
11 | extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Adds LeapChucker network logger to any SwiftUI view
13 | /// - Parameter isPresented: Binding to control when the logger is shown
:
21 | /// Adds LeapChucker with shake-to-show functionality
22 | /// - Returns: View that shows network logger when device is shaken
23 | public func leapChuckerShakeToShow() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
24 | self.modifier(ShakeToShowLeapChucker())
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:27:51: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | // MARK: - SwiftUI View Extension
11 | extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Adds LeapChucker network logger to any SwiftUI view
13 | /// - Parameter isPresented: Binding to control when the logger is shown
:
25 | }
26 |
27 | public func leapChuckerProgrammatic() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.modifier(ProgrammaticLeapChucker())
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | // MARK: - SwiftUI View Extension
11 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | /// Adds LeapChucker network logger to any SwiftUI view
13 | /// - Parameter isPresented: Binding to control when the logger is shown
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:38:6: error: 'Published' is only available in macOS 10.15 or newer
34 |
35 | @MainActor
36 | public class LeapChuckerPresenter: ObservableObject, Sendable {
| `- note: add @available attribute to enclosing class
37 | public static let shared = LeapChuckerPresenter()
38 | @Published public var isPresented = false
| `- error: 'Published' is only available in macOS 10.15 or newer
39 |
40 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:36:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
34 |
35 | @MainActor
36 | public class LeapChuckerPresenter: ObservableObject, Sendable {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
37 | public static let shared = LeapChuckerPresenter()
38 | @Published public var isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:61:6: error: 'StateObject' is only available in macOS 11.0 or newer
58 |
59 | // MARK: - Programmatic Modifier
60 | private struct ProgrammaticLeapChucker: ViewModifier {
| `- note: add @available attribute to enclosing struct
61 | @StateObject private var presenter = LeapChuckerPresenter.shared
| `- error: 'StateObject' is only available in macOS 11.0 or newer
62 |
63 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:63:41: error: 'View' is only available in macOS 10.15 or newer
58 |
59 | // MARK: - Programmatic Modifier
60 | private struct ProgrammaticLeapChucker: ViewModifier {
| `- note: add @available attribute to enclosing struct
61 | @StateObject private var presenter = LeapChuckerPresenter.shared
62 |
63 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
64 | content
65 | .sheet(isPresented: $presenter.isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
70 |
71 | // MARK: - Shake Detection Modifier
72 | private struct ShakeToShowLeapChucker: ViewModifier {
| `- note: add @available attribute to enclosing struct
73 | @State private var showingLogger = false
| `- error: 'State' is only available in macOS 10.15 or newer
74 |
75 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:75:41: error: 'View' is only available in macOS 10.15 or newer
70 |
71 | // MARK: - Shake Detection Modifier
72 | private struct ShakeToShowLeapChucker: ViewModifier {
| `- note: add @available attribute to enclosing struct
73 | @State private var showingLogger = false
74 |
75 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
76 | content
77 | .onReceive(NotificationCenter.default.publisher(for: UIDevice.deviceDidShakeNotification)) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:87:11: error: cannot find type 'UIDevice' in scope
85 |
86 | // MARK: - UIDevice Shake Extension
87 | extension UIDevice {
| `- error: cannot find type 'UIDevice' in scope
88 | static let deviceDidShakeNotification = Notification.Name(rawValue: "deviceDidShakeNotification")
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:92:11: error: cannot find type 'UIWindow' in scope
90 |
91 | // MARK: - UIWindow Shake Detection
92 | extension UIWindow {
| `- error: cannot find type 'UIWindow' in scope
93 | open override func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) {
94 | if motion == .motionShake {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:103:6: error: 'State' is only available in macOS 10.15 or newer
100 | // MARK: - Debug Menu View
101 | /// A floating debug button that can be added to any view for easy access
102 | public struct LeapChuckerDebugButton: View {
| `- note: add @available attribute to enclosing struct
103 | @State private var showingLogger = false
| `- error: 'State' is only available in macOS 10.15 or newer
104 | @State private var position = CGPoint(x: 50, y: 100)
105 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:104:6: error: 'State' is only available in macOS 10.15 or newer
100 | // MARK: - Debug Menu View
101 | /// A floating debug button that can be added to any view for easy access
102 | public struct LeapChuckerDebugButton: View {
| `- note: add @available attribute to enclosing struct
103 | @State private var showingLogger = false
104 | @State private var position = CGPoint(x: 50, y: 100)
| `- error: 'State' is only available in macOS 10.15 or newer
105 |
106 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:108:27: error: 'View' is only available in macOS 10.15 or newer
100 | // MARK: - Debug Menu View
101 | /// A floating debug button that can be added to any view for easy access
102 | public struct LeapChuckerDebugButton: View {
| `- note: add @available attribute to enclosing struct
103 | @State private var showingLogger = false
104 | @State private var position = CGPoint(x: 50, y: 100)
:
106 | public init() {}
107 |
108 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
BUILD FAILURE 6.2 macosSpm