Build Information
Failed to build LeapChucker, reference main (918244), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 17:49:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
291 | VStack(alignment: .leading, spacing: 4) {
| |- error: 'VStack' 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:291:28: error: 'leading' 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: 'leading' 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:292: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)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
293 | .font(.caption)
294 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:293: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)
293 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
294 | .foregroundColor(.secondary)
295 | .textCase(.uppercase)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:293:24: error: 'caption' 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)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
294 | .foregroundColor(.secondary)
295 | .textCase(.uppercase)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:294: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)
293 | .font(.caption)
294 | .foregroundColor(.secondary)
| |- error: 'foregroundColor' 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: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 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:327:9: error: cannot find 'UIActivityViewController' in scope
325 |
326 | func makeUIViewController(context: Context) -> UIActivityViewController {
327 | UIActivityViewController(activityItems: activityItems, applicationActivities: nil)
| `- error: cannot find 'UIActivityViewController' in scope
328 | }
329 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:327:87: error: 'nil' requires a contextual type
325 |
326 | func makeUIViewController(context: Context) -> UIActivityViewController {
327 | UIActivityViewController(activityItems: activityItems, applicationActivities: nil)
| `- error: 'nil' requires a contextual type
328 | }
329 |
[7/12] 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(name: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(name: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(name: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(name: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>
[8/12] 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/12] Compiling LeapChucker LeapChuckerExports.swift
[10/12] Compiling LeapChucker LeapChucker.swift
[11/12] Compiling LeapChucker LeapChuckerLogger.swift
/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 |
[12/12] 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
[13/13] Compiling LeapChucker View+LeapChucker.swift
/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
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:16:14: error: 'sheet(isPresented:onDismiss:content:)' 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 {
| `- note: add '@available' attribute to enclosing instance method
16 | self.sheet(isPresented: isPresented) {
| |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | NetworkLoggerView()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:24:14: error: conformance of 'ModifiedContent<Content, Modifier>' to '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 {
| `- note: add '@available' attribute to enclosing instance method
24 | self.modifier(ShakeToShowLeapChucker())
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:24:14: error: 'modifier' 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 {
| `- note: add '@available' attribute to enclosing instance method
24 | self.modifier(ShakeToShowLeapChucker())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:28:18: error: conformance of 'ModifiedContent<Content, Modifier>' to '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 {
| `- note: add '@available' attribute to enclosing instance method
28 | self.modifier(ProgrammaticLeapChucker())
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:28:18: error: 'modifier' 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 {
| `- note: add '@available' attribute to enclosing instance method
28 | self.modifier(ProgrammaticLeapChucker())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 |
<unknown>:0: error: cannot convert value of type 'KeyPath<LeapChuckerPresenter, Bool>' to expected argument type 'ReferenceWritableKeyPath<LeapChuckerPresenter, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:44:9: error: setter for 'isPresented' 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
:
41 |
42 | /// Show the LeapChucker network logger
43 | public func show() {
| `- note: add '@available' attribute to enclosing instance method
44 | isPresented = true
| |- error: setter for 'isPresented' 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/View+LeapChucker.swift:49:9: error: setter for 'isPresented' 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
:
46 |
47 | /// Hide the LeapChucker network logger
48 | public func hide() {
| `- note: add '@available' attribute to enclosing instance method
49 | isPresented = false
| |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:54:9: error: cannot pass as inout because setter for 'isPresented' 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
:
51 |
52 | /// Toggle the LeapChucker network logger visibility
53 | public func toggle() {
| `- note: add '@available' attribute to enclosing instance method
54 | isPresented.toggle()
| |- error: cannot pass as inout because setter for 'isPresented' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:65:44: error: cannot assign to property: '$presenter' is immutable
63 | func body(content: Content) -> some View {
64 | content
65 | .sheet(isPresented: $presenter.isPresented) {
| `- error: cannot assign to property: '$presenter' is immutable
66 | NetworkLoggerView()
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:77:66: error: cannot find 'UIDevice' in scope
75 | func body(content: Content) -> some View {
76 | content
77 | .onReceive(NotificationCenter.default.publisher(for: UIDevice.deviceDidShakeNotification)) { _ in
| `- error: cannot find 'UIDevice' in scope
78 | showingLogger = true
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:109:9: error: 'Button' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | showingLogger = true
111 | }) {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:110:13: error: setter for 'showingLogger' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
| |- error: setter for 'showingLogger' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
111 | }) {
112 | Image(systemName: "network")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:112:13: error: 'Image' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
111 | }) {
112 | Image(systemName: "network")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | .font(.title2)
114 | .foregroundColor(.white)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:112:13: error: 'init(systemName:)' is only available in macOS 11.0 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
111 | }) {
112 | Image(systemName: "network")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
113 | .font(.title2)
114 | .foregroundColor(.white)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:113:18: error: 'font' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
111 | }) {
112 | Image(systemName: "network")
113 | .font(.title2)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | .foregroundColor(.white)
115 | .frame(width: 44, height: 44)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:113:24: error: 'title2' is only available in macOS 11.0 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
111 | }) {
112 | Image(systemName: "network")
113 | .font(.title2)
| |- error: 'title2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
114 | .foregroundColor(.white)
115 | .frame(width: 44, height: 44)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:114:18: error: 'foregroundColor' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
112 | Image(systemName: "network")
113 | .font(.title2)
114 | .foregroundColor(.white)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
115 | .frame(width: 44, height: 44)
116 | .background(Color.blue)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:114:35: error: 'white' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
112 | Image(systemName: "network")
113 | .font(.title2)
114 | .foregroundColor(.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
115 | .frame(width: 44, height: 44)
116 | .background(Color.blue)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:115:18: error: 'frame(width:height:alignment:)' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
113 | .font(.title2)
114 | .foregroundColor(.white)
115 | .frame(width: 44, height: 44)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
116 | .background(Color.blue)
117 | .clipShape(Circle())
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:116:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
114 | .foregroundColor(.white)
115 | .frame(width: 44, height: 44)
116 | .background(Color.blue)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
117 | .clipShape(Circle())
118 | .shadow(radius: 4)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:116:29: error: 'Color' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
114 | .foregroundColor(.white)
115 | .frame(width: 44, height: 44)
116 | .background(Color.blue)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | .clipShape(Circle())
118 | .shadow(radius: 4)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:116:35: error: 'blue' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
114 | .foregroundColor(.white)
115 | .frame(width: 44, height: 44)
116 | .background(Color.blue)
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | .clipShape(Circle())
118 | .shadow(radius: 4)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:117:18: error: 'clipShape(_:style:)' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
115 | .frame(width: 44, height: 44)
116 | .background(Color.blue)
117 | .clipShape(Circle())
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | .shadow(radius: 4)
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:117:28: error: 'Circle' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
115 | .frame(width: 44, height: 44)
116 | .background(Color.blue)
117 | .clipShape(Circle())
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | .shadow(radius: 4)
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:118:18: error: 'shadow(color:radius:x:y:)' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
116 | .background(Color.blue)
117 | .clipShape(Circle())
118 | .shadow(radius: 4)
| |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | }
120 | .position(position)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:120:10: error: 'position' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
118 | .shadow(radius: 4)
119 | }
120 | .position(position)
| |- error: 'position' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | .gesture(
122 | DragGesture()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:121:10: error: 'gesture(_:including:)' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
119 | }
120 | .position(position)
121 | .gesture(
| |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | DragGesture()
123 | .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:122:13: error: 'DragGesture' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
120 | .position(position)
121 | .gesture(
122 | DragGesture()
| |- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | .onChanged { value in
124 | position = value.location
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:122:13: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
120 | .position(position)
121 | .gesture(
122 | DragGesture()
| |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
123 | .onChanged { value in
124 | position = value.location
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:123:18: error: 'onChanged' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
121 | .gesture(
122 | DragGesture()
123 | .onChanged { value in
| |- error: 'onChanged' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | position = value.location
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:124:21: error: setter for 'position' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
122 | DragGesture()
123 | .onChanged { value in
124 | position = value.location
| |- error: setter for 'position' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | }
126 | )
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:127:10: error: 'sheet(isPresented:onDismiss:content:)' 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 {
| `- note: add '@available' attribute to enclosing property
109 | Button(action: {
110 | showingLogger = true
:
125 | }
126 | )
127 | .sheet(isPresented: $showingLogger) {
| |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | NetworkLoggerView()
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:93:46: error: cannot find type 'UIEvent' in scope
91 | // MARK: - UIWindow Shake Detection
92 | extension UIWindow {
93 | open override func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) {
| `- error: cannot find type 'UIEvent' in scope
94 | if motion == .motionShake {
95 | NotificationCenter.default.post(name: UIDevice.deviceDidShakeNotification, object: nil)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/View+LeapChucker.swift:93:80: error: cannot find type 'UIEvent' in scope
91 | // MARK: - UIWindow Shake Detection
92 | extension UIWindow {
93 | open override func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) {
| `- error: cannot find type 'UIEvent' in scope
94 | if motion == .motionShake {
95 | NotificationCenter.default.post(name: UIDevice.deviceDidShakeNotification, object: nil)
BUILD FAILURE 6.3 macosSpm