Build Information
Failed to build LeapChucker, reference main (918244), with Swift 6.1 for macOS (SPM) on 11 Aug 2025 18:59:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
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: '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: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: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: '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: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: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 | }
[10/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 |
[11/12] Compiling LeapChucker RequestDetailView.swift
/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/RequestDetailView.swift:44:10: error: ambiguous use of 'toolbar(content:)'
42 | .navigationTitle("Request Details")
43 | .navigationBarTitleDisplayMode(.inline)
44 | .toolbar {
| `- error: ambiguous use of 'toolbar(content:)'
45 | ToolbarItem(placement: .navigationBarTrailing) {
46 | Button(action: { showingShareSheet = true }) {
SwiftUI.View.toolbar:2:25: note: found this candidate in module 'SwiftUI'
1 | protocol View {
2 | nonisolated public func toolbar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View
| `- note: found this candidate in module 'SwiftUI'
3 | }
4 |
SwiftUI.View.toolbar:2:25: note: found this candidate in module 'SwiftUI'
1 | protocol View {
2 | nonisolated public func toolbar<Content>(@ToolbarContentBuilder content: () -> Content) -> some View where Content : ToolbarContent
| `- note: found this candidate in module 'SwiftUI'
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:58:9: error: 'Picker' 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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
| |- error: 'Picker' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | ForEach(DetailSection.allCases, id: \.self) { section in
60 | Text(section.title).tag(section)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:58:9: error: 'init(_:selection:content:)' 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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
| |- error: 'init(_:selection:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | ForEach(DetailSection.allCases, id: \.self) { section in
60 | Text(section.title).tag(section)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:58:16: error: 'LocalizedStringKey' 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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | ForEach(DetailSection.allCases, id: \.self) { section in
60 | Text(section.title).tag(section)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:59:13: error: conformance of 'ForEach<Data, ID, Content>' to '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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
59 | ForEach(DetailSection.allCases, id: \.self) { section in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | Text(section.title).tag(section)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:59:13: error: 'ForEach' 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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
59 | ForEach(DetailSection.allCases, id: \.self) { section in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | Text(section.title).tag(section)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:59:13: error: 'init(_:id:content:)' 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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
59 | ForEach(DetailSection.allCases, id: \.self) { section in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | Text(section.title).tag(section)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:60:17: error: 'Text' 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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
59 | ForEach(DetailSection.allCases, id: \.self) { section in
60 | Text(section.title).tag(section)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:60:37: error: 'tag(_:includeOptional:)' 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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
59 | ForEach(DetailSection.allCases, id: \.self) { section in
60 | Text(section.title).tag(section)
| |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:58:56: error: conformance of 'ForEach<Data, ID, Content>' to '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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | ForEach(DetailSection.allCases, id: \.self) { section in
60 | Text(section.title).tag(section)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:63:10: error: 'pickerStyle' 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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
59 | ForEach(DetailSection.allCases, id: \.self) { section in
:
61 | }
62 | }
63 | .pickerStyle(SegmentedPickerStyle())
| |- error: 'pickerStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | .padding()
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:63:22: error: 'SegmentedPickerStyle' 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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
59 | ForEach(DetailSection.allCases, id: \.self) { section in
:
61 | }
62 | }
63 | .pickerStyle(SegmentedPickerStyle())
| |- error: 'SegmentedPickerStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | .padding()
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:64:10: error: 'padding' 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 {
| `- note: add @available attribute to enclosing property
58 | Picker("Section", selection: $selectedSection) {
59 | ForEach(DetailSection.allCases, id: \.self) { section in
:
62 | }
63 | .pickerStyle(SegmentedPickerStyle())
64 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:69:9: error: 'VStack' 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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | // Status card
71 | statusCard
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:69:28: error: 'leading' 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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | // Status card
71 | statusCard
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:78:52: error: 'buildIf' 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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
76 | InfoRow(label: "Method", value: request.method)
77 | InfoRow(label: "Timestamp", value: formatFullTimestamp(request.timestamp))
78 | if let duration = request.duration {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | InfoRow(label: "Duration", value: request.formattedDuration)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:80:17: error: 'buildIf' 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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
78 | if let duration = request.duration {
79 | InfoRow(label: "Duration", value: request.formattedDuration)
80 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:74:45: error: conformance of 'Optional<Wrapped>' to '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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
72 |
73 | // Basic info
74 | InfoCard(title: "Request Info") {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | InfoRow(label: "URL", value: request.url)
76 | InfoRow(label: "Method", value: request.method)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:86:56: error: 'buildIf' 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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
84 | if request.responseCode != nil || request.error != nil {
85 | InfoCard(title: "Response Info") {
86 | if let code = request.responseCode {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | InfoRow(label: "Status Code", value: "\(code)")
88 | InfoRow(label: "Status", value: httpStatusText(code))
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:89:21: error: 'buildIf' 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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
87 | InfoRow(label: "Status Code", value: "\(code)")
88 | InfoRow(label: "Status", value: httpStatusText(code))
89 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | if let error = request.error {
91 | InfoRow(label: "Error", value: error)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:90:50: error: 'buildIf' 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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
88 | InfoRow(label: "Status", value: httpStatusText(code))
89 | }
90 | if let error = request.error {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | InfoRow(label: "Error", value: error)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:92:21: error: 'buildIf' 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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
90 | if let error = request.error {
91 | InfoRow(label: "Error", value: error)
92 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | }
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:85:50: error: conformance of 'Optional<Wrapped>' to '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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
83 | // Response info (if available)
84 | if request.responseCode != nil || request.error != nil {
85 | InfoCard(title: "Response Info") {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | if let code = request.responseCode {
87 | InfoRow(label: "Status Code", value: "\(code)")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:85:50: error: conformance of 'Optional<Wrapped>' to '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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
83 | // Response info (if available)
84 | if request.responseCode != nil || request.error != nil {
85 | InfoCard(title: "Response Info") {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | if let code = request.responseCode {
87 | InfoRow(label: "Status Code", value: "\(code)")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:84:68: error: 'buildIf' 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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
82 |
83 | // Response info (if available)
84 | if request.responseCode != nil || request.error != nil {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | InfoCard(title: "Response Info") {
86 | if let code = request.responseCode {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:94:13: error: 'buildIf' 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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
70 | // Status card
:
92 | }
93 | }
94 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:69:50: error: conformance of 'Optional<Wrapped>' to '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 {
| `- note: add @available attribute to enclosing property
69 | VStack(alignment: .leading, spacing: 16) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | // Status card
71 | statusCard
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:78:24: warning: value 'duration' was defined but never used; consider replacing with boolean test
76 | InfoRow(label: "Method", value: request.method)
77 | InfoRow(label: "Timestamp", value: formatFullTimestamp(request.timestamp))
78 | if let duration = request.duration {
| `- warning: value 'duration' was defined but never used; consider replacing with boolean test
79 | InfoRow(label: "Duration", value: request.formattedDuration)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:100:9: error: 'VStack' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:100:28: error: 'leading' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:100:50: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:100:50: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:101:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | if request.requestHeaders.isEmpty {
103 | Text("No headers")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:101:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | if request.requestHeaders.isEmpty {
103 | Text("No headers")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:101:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | if request.requestHeaders.isEmpty {
103 | Text("No headers")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:103:21: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
103 | Text("No headers")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | .foregroundColor(.secondary)
105 | .italic()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:103:21: error: 'Text' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
103 | Text("No headers")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | .foregroundColor(.secondary)
105 | .italic()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:104:26: error: 'foregroundColor' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
103 | Text("No headers")
104 | .foregroundColor(.secondary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | .italic()
106 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:104:43: error: 'secondary' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
103 | Text("No headers")
104 | .foregroundColor(.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | .italic()
106 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:105:26: error: 'italic()' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
103 | Text("No headers")
104 | .foregroundColor(.secondary)
105 | .italic()
| |- error: 'italic()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | } else {
107 | ForEach(Array(request.requestHeaders.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:102:51: error: 'buildEither(first:)' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | Text("No headers")
104 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:102:51: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | Text("No headers")
104 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:107:21: error: conformance of 'ForEach<Data, ID, Content>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
105 | .italic()
106 | } else {
107 | ForEach(Array(request.requestHeaders.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | InfoRow(label: key, value: value)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:107:21: error: 'ForEach' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
105 | .italic()
106 | } else {
107 | ForEach(Array(request.requestHeaders.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | InfoRow(label: key, value: value)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:107:21: error: 'init(_:id:content:)' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
105 | .italic()
106 | } else {
107 | ForEach(Array(request.requestHeaders.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | InfoRow(label: key, value: value)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:106:24: error: 'buildEither(second:)' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
104 | .foregroundColor(.secondary)
105 | .italic()
106 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | ForEach(Array(request.requestHeaders.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
108 | InfoRow(label: key, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:106:24: error: conformance of 'ForEach<Data, ID, Content>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
104 | .foregroundColor(.secondary)
105 | .italic()
106 | } else {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | ForEach(Array(request.requestHeaders.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
108 | InfoRow(label: key, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:101:48: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | if request.requestHeaders.isEmpty {
103 | Text("No headers")
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:113:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
111 | }
112 |
113 | InfoCard(title: "Request Body") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | if let bodyString = request.requestBodyString {
115 | CodeBlock(content: bodyString)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:113:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
111 | }
112 |
113 | InfoCard(title: "Request Body") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | if let bodyString = request.requestBodyString {
115 | CodeBlock(content: bodyString)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:113:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
111 | }
112 |
113 | InfoCard(title: "Request Body") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | if let bodyString = request.requestBodyString {
115 | CodeBlock(content: bodyString)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:114:63: error: 'buildEither(first:)' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
112 |
113 | InfoCard(title: "Request Body") {
114 | if let bodyString = request.requestBodyString {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
115 | CodeBlock(content: bodyString)
116 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:117:21: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
115 | CodeBlock(content: bodyString)
116 | } else {
117 | Text("No body")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | .foregroundColor(.secondary)
119 | .italic()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:117:21: error: 'Text' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
115 | CodeBlock(content: bodyString)
116 | } else {
117 | Text("No body")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | .foregroundColor(.secondary)
119 | .italic()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:118:26: error: 'foregroundColor' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
116 | } else {
117 | Text("No body")
118 | .foregroundColor(.secondary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | .italic()
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:118:43: error: 'secondary' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
116 | } else {
117 | Text("No body")
118 | .foregroundColor(.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | .italic()
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:119:26: error: 'italic()' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
117 | Text("No body")
118 | .foregroundColor(.secondary)
119 | .italic()
| |- error: 'italic()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:116:24: error: 'buildEither(second:)' 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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
114 | if let bodyString = request.requestBodyString {
115 | CodeBlock(content: bodyString)
116 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | Text("No body")
118 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:116:24: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
114 | if let bodyString = request.requestBodyString {
115 | CodeBlock(content: bodyString)
116 | } else {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | Text("No body")
118 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:113:45: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
101 | InfoCard(title: "Request Headers") {
:
111 | }
112 |
113 | InfoCard(title: "Request Body") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | if let bodyString = request.requestBodyString {
115 | CodeBlock(content: bodyString)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:100:50: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:100:50: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
100 | VStack(alignment: .leading, spacing: 16) {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | InfoCard(title: "Request Headers") {
102 | if request.requestHeaders.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:127:9: error: 'VStack' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:127:28: error: 'leading' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:127:50: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:127:50: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:128:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | if let headers = request.responseHeaders, !headers.isEmpty {
130 | ForEach(Array(headers.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:128:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | if let headers = request.responseHeaders, !headers.isEmpty {
130 | ForEach(Array(headers.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:128:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | if let headers = request.responseHeaders, !headers.isEmpty {
130 | ForEach(Array(headers.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:130:21: error: conformance of 'ForEach<Data, ID, Content>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
130 | ForEach(Array(headers.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
131 | InfoRow(label: key, value: value)
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:130:21: error: 'ForEach' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
130 | ForEach(Array(headers.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
131 | InfoRow(label: key, value: value)
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:130:21: error: 'init(_:id:content:)' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
130 | ForEach(Array(headers.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
131 | InfoRow(label: key, value: value)
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:129:76: error: 'buildEither(first:)' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | ForEach(Array(headers.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
131 | InfoRow(label: key, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:129:76: error: conformance of 'ForEach<Data, ID, Content>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | ForEach(Array(headers.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
131 | InfoRow(label: key, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:134:21: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
132 | }
133 | } else {
134 | Text("No headers")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 | .foregroundColor(.secondary)
136 | .italic()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:134:21: error: 'Text' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
132 | }
133 | } else {
134 | Text("No headers")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 | .foregroundColor(.secondary)
136 | .italic()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:135:26: error: 'foregroundColor' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
133 | } else {
134 | Text("No headers")
135 | .foregroundColor(.secondary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | .italic()
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:135:43: error: 'secondary' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
133 | } else {
134 | Text("No headers")
135 | .foregroundColor(.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | .italic()
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:136:26: error: 'italic()' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
134 | Text("No headers")
135 | .foregroundColor(.secondary)
136 | .italic()
| |- error: 'italic()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | }
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:133:24: error: 'buildEither(second:)' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
131 | InfoRow(label: key, value: value)
132 | }
133 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
134 | Text("No headers")
135 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:133:24: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
131 | InfoRow(label: key, value: value)
132 | }
133 | } else {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
134 | Text("No headers")
135 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:128:49: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | if let headers = request.responseHeaders, !headers.isEmpty {
130 | ForEach(Array(headers.sorted(by: { $0.key < $1.key })), id: \.key) { key, value in
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:140:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
138 | }
139 |
140 | InfoCard(title: "Response Body") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | if let bodyString = request.responseBodyString {
142 | CodeBlock(content: bodyString)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:140:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
138 | }
139 |
140 | InfoCard(title: "Response Body") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | if let bodyString = request.responseBodyString {
142 | CodeBlock(content: bodyString)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:140:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
138 | }
139 |
140 | InfoCard(title: "Response Body") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | if let bodyString = request.responseBodyString {
142 | CodeBlock(content: bodyString)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:141:64: error: 'buildEither(first:)' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
139 |
140 | InfoCard(title: "Response Body") {
141 | if let bodyString = request.responseBodyString {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | CodeBlock(content: bodyString)
143 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:144:21: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
142 | CodeBlock(content: bodyString)
143 | } else {
144 | Text("No body")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
145 | .foregroundColor(.secondary)
146 | .italic()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:144:21: error: 'Text' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
142 | CodeBlock(content: bodyString)
143 | } else {
144 | Text("No body")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
145 | .foregroundColor(.secondary)
146 | .italic()
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:145:26: error: 'foregroundColor' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
143 | } else {
144 | Text("No body")
145 | .foregroundColor(.secondary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | .italic()
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:145:43: error: 'secondary' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
143 | } else {
144 | Text("No body")
145 | .foregroundColor(.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | .italic()
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:146:26: error: 'italic()' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
144 | Text("No body")
145 | .foregroundColor(.secondary)
146 | .italic()
| |- error: 'italic()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | }
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:143:24: error: 'buildEither(second:)' 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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
141 | if let bodyString = request.responseBodyString {
142 | CodeBlock(content: bodyString)
143 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | Text("No body")
145 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:143:24: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
141 | if let bodyString = request.responseBodyString {
142 | CodeBlock(content: bodyString)
143 | } else {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | Text("No body")
145 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:140:46: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
128 | InfoCard(title: "Response Headers") {
:
138 | }
139 |
140 | InfoCard(title: "Response Body") {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | if let bodyString = request.responseBodyString {
142 | CodeBlock(content: bodyString)
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:127:50: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:127:50: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to '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 {
| `- note: add @available attribute to enclosing property
127 | VStack(alignment: .leading, spacing: 16) {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | InfoCard(title: "Response Headers") {
129 | if let headers = request.responseHeaders, !headers.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:174:27: error: cannot find 'UIColor' in scope
172 | }
173 | .padding()
174 | .background(Color(UIColor.secondarySystemGroupedBackground))
| `- error: cannot find 'UIColor' in scope
175 | .clipShape(RoundedRectangle(cornerRadius: 12))
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:179:16: warning: value 'error' was defined but never used; consider replacing with boolean test
177 |
178 | private var statusTitle: String {
179 | if let error = request.error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test
180 | return "Request Failed"
181 | } else if let code = request.responseCode {
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:235:16: warning: value 'duration' was defined but never used; consider replacing with boolean test
233 | }
234 |
235 | if let duration = request.duration {
| `- warning: value 'duration' was defined but never used; consider replacing with boolean test
236 | text += "\nDuration: \(request.formattedDuration)"
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:281:27: error: cannot find 'UIColor' in scope
279 | }
280 | .padding()
281 | .background(Color(UIColor.secondarySystemGroupedBackground))
| `- error: cannot find 'UIColor' in scope
282 | .clipShape(RoundedRectangle(cornerRadius: 12))
283 | }
/Users/admin/builder/spi-builder-workspace/Sources/LeapChucker/RequestDetailView.swift:291:9: error: 'VStack' 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: '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 | }
[12/12] 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 |
<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: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 |
/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.1 macosSpm