Build Information
Failed to build Recap, reference 2.0.0 (f5998e), with Swift 6.1 for macOS (SPM) on 10 Mar 2026 23:24:18 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
| `- note: add 'if #available' version check
168 | Spacer(minLength: 0.0)
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:168:5: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
168 | Spacer(minLength: 0.0)
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 |
170 | Text(self.dismissButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:168:5: error: 'Spacer' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
168 | Spacer(minLength: 0.0)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 |
170 | Text(self.dismissButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:170:5: error: 'Text' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
168 | Spacer(minLength: 0.0)
169 |
170 | Text(self.dismissButtonTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:170:5: error: 'init(_:)' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
168 | Spacer(minLength: 0.0)
169 |
170 | Text(self.dismissButtonTitle)
| |- error: 'init(_:)' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:171:7: error: 'font' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
169 |
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:171:13: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
169 |
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:171:21: error: 'title3' is only available in macOS 11.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
169 |
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:172:7: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
173 | .padding(.vertical, 4.0)
174 | .padding(.horizontal, 16.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:173:7: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | .padding(.horizontal, 16.0)
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:7: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
174 | .padding(.horizontal, 16.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
176 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:175:7: error: 'foregroundStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
173 | .padding(.vertical, 4.0)
174 | .padding(.horizontal, 16.0)
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
176 |
177 | Spacer(minLength: 0.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:177:5: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
176 |
177 | Spacer(minLength: 0.0)
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:177:5: error: 'Spacer' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
176 |
177 | Spacer(minLength: 0.0)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:167:11: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | Spacer(minLength: 0.0)
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:167:11: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | Spacer(minLength: 0.0)
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:179:5: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
177 | Spacer(minLength: 0.0)
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
| |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | })
181 | .buttonStyle(.borderless)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:179:19: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
177 | Spacer(minLength: 0.0)
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
| |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | })
181 | .buttonStyle(.borderless)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:181:4: error: 'buttonStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
179 | .contentShape(.rect(cornerRadius: 16.0))
180 | })
181 | .buttonStyle(.borderless)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | .frame(maxWidth: .infinity)
183 | .background(self.dismissButtonStyle.backgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:181:17: error: 'borderless' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
179 | .contentShape(.rect(cornerRadius: 16.0))
180 | })
181 | .buttonStyle(.borderless)
| |- error: 'borderless' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | .frame(maxWidth: .infinity)
183 | .background(self.dismissButtonStyle.backgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:182:4: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
180 | })
181 | .buttonStyle(.borderless)
182 | .frame(maxWidth: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
183 | .background(self.dismissButtonStyle.backgroundStyle)
184 | .versionSpecificClipShape()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:183:4: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
181 | .buttonStyle(.borderless)
182 | .frame(maxWidth: .infinity)
183 | .background(self.dismissButtonStyle.backgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
184 | .versionSpecificClipShape()
185 | .padding(.horizontal, 40.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:185:4: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
183 | .background(self.dismissButtonStyle.backgroundStyle)
184 | .versionSpecificClipShape()
185 | .padding(.horizontal, 40.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
187 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:186:4: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
184 | .versionSpecificClipShape()
185 | .padding(.horizontal, 40.0)
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
187 | .foregroundStyle(.primary)
188 | .withBottomPaddingIfNoSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:187:4: error: 'foregroundStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
185 | .padding(.horizontal, 40.0)
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
187 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
188 | .withBottomPaddingIfNoSafeArea()
189 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:187:21: error: 'primary' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
185 | .padding(.horizontal, 40.0)
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
187 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
188 | .withBottomPaddingIfNoSafeArea()
189 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:29: error: 'EmptyView' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
193 | }
194 |
195 | var hasLeadingPage: Bool {
| `- note: add @available attribute to enclosing property
196 | LeadingView.self != EmptyView.self
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:200:30: error: 'EmptyView' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
197 | }
198 |
199 | var hasTrailingPage: Bool {
| `- note: add @available attribute to enclosing property
200 | TrailingView.self != EmptyView.self
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
201 | }
202 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:55: error: 'Color' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:61: error: 'black' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:69: error: 'Color' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:75: error: 'white' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:322:3: error: 'HStack' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
323 | self.paginationButton(
324 | title: LocalizedStringResource(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:324:12: error: 'LocalizedStringResource' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
324 | title: LocalizedStringResource(
| |- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
325 | "RECAP.SCREEN.PAGINATION.BUTTON.PREVIOUS",
326 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:325:6: error: 'LocalizationValue' is only available in macOS 12 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
324 | title: LocalizedStringResource(
325 | "RECAP.SCREEN.PAGINATION.BUTTON.PREVIOUS",
| |- error: 'LocalizationValue' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
326 | bundle: .atURL(Bundle.module.bundleURL)
327 | ),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:332:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
330 | showsTitle: displaysButtonTitles
331 | )
332 | .frame(maxWidth: .infinity, alignment: .leading)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
333 |
334 | self.pageIndicators
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:332:44: error: 'leading' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
330 | showsTitle: displaysButtonTitles
331 | )
332 | .frame(maxWidth: .infinity, alignment: .leading)
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
333 |
334 | self.pageIndicators
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:337:12: error: 'LocalizedStringResource' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
335 |
336 | self.paginationButton(
337 | title: LocalizedStringResource(
| |- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
338 | "RECAP.SCREEN.PAGINATION.BUTTON.NEXT",
339 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:338:6: error: 'LocalizationValue' is only available in macOS 12 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
336 | self.paginationButton(
337 | title: LocalizedStringResource(
338 | "RECAP.SCREEN.PAGINATION.BUTTON.NEXT",
| |- error: 'LocalizationValue' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
339 | bundle: .atURL(Bundle.module.bundleURL)
340 | ),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:345:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
343 | showsTitle: displaysButtonTitles
344 | )
345 | .frame(maxWidth: .infinity, alignment: .trailing)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:345:44: error: 'trailing' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
343 | showsTitle: displaysButtonTitles
344 | )
345 | .frame(maxWidth: .infinity, alignment: .trailing)
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:377:10: error: instance method 'accessibilityLabel' requires that 'LocalizedStringResource' conform to 'StringProtocol'
375 | .buttonStyle(.plain)
376 | .disabled(!isEnabled)
377 | .accessibilityLabel(title)
| `- error: instance method 'accessibilityLabel' requires that 'LocalizedStringResource' conform to 'StringProtocol'
378 | }
379 |
SwiftUI.View.accessibilityLabel:2:25: note: where 'S' = 'LocalizedStringResource'
1 | protocol View {
2 | nonisolated public func accessibilityLabel<S>(_ label: S) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol}
| `- note: where 'S' = 'LocalizedStringResource'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:383:9: error: 'withAnimation' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add @available attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
383 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:385:29: error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add @available attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
383 | withAnimation {
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
| |- error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
386 | case .next: self.selectedIndex += 1
387 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:386:25: error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add @available attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
:
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
386 | case .next: self.selectedIndex += 1
| |- error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
387 | }
388 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:6: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
404 | if #available(iOS 26.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:405:9: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
406 | } else {
407 | self.clipShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:405:20: error: 'capsule' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
406 | } else {
407 | self.clipShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:30: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:406:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
406 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
407 | self.clipShape(.rect(cornerRadius: 16.0))
408 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:403:47: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:429:56: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
430 | self
431 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:432:18: error: 'padding' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
431 | } else {
432 | self.padding(.bottom, 24.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
433 | }
434 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:431:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
431 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
432 | self.padding(.bottom, 24.0)
433 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:428:84: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
[22/22] Compiling Recap RecapScreenDismissButtonVisibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:23:20: error: 'dismiss' is only available in macOS 12.0 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
| `- error: 'dismiss' is only available in macOS 12.0 or newer
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:24:20: error: 'backgroundStyle' is only available in macOS 13.0 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
| `- error: 'backgroundStyle' is only available in macOS 13.0 or newer
25 | @Environment(\.colorScheme) private var colorScheme
26 | @Environment(\.recapScreenStartIndex) private var startIndex
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:25:20: error: 'colorScheme' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
| `- error: 'colorScheme' is only available in macOS 10.15 or newer
26 | @Environment(\.recapScreenStartIndex) private var startIndex
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:35:60: error: cannot find type 'UIColor' in scope
33 | @Environment(\.recapScreenPaginationStyle) private var paginationStyle
34 |
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
36 | @State private var originalDeselectedPageIndicatorColor: UIColor?
37 | @State private var selectedIndex = 0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:36:62: error: cannot find type 'UIColor' in scope
34 |
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
36 | @State private var originalDeselectedPageIndicatorColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
37 | @State private var selectedIndex = 0
38 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:23:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
| `- error: 'Environment' is only available in macOS 10.15 or newer
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:24:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
25 | @Environment(\.colorScheme) private var colorScheme
26 | @Environment(\.recapScreenStartIndex) private var startIndex
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:25:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
26 | @Environment(\.recapScreenStartIndex) private var startIndex
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:26:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
26 | @Environment(\.recapScreenStartIndex) private var startIndex
| `- error: 'Environment' is only available in macOS 10.15 or newer
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:27:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
26 | @Environment(\.recapScreenStartIndex) private var startIndex
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
| `- error: 'Environment' is only available in macOS 10.15 or newer
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:28:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
26 | @Environment(\.recapScreenStartIndex) private var startIndex
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
| `- error: 'Environment' is only available in macOS 10.15 or newer
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
30 | @Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:29:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
30 | @Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
31 | @Environment(\.recapScreenDismissButtonVisibility) private var dismissButtonVisibility
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:30:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
30 | @Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
| `- error: 'Environment' is only available in macOS 10.15 or newer
31 | @Environment(\.recapScreenDismissButtonVisibility) private var dismissButtonVisibility
32 | @Environment(\.recapScreenDismissAction) private var dismissAction
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:31:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
30 | @Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
31 | @Environment(\.recapScreenDismissButtonVisibility) private var dismissButtonVisibility
| `- error: 'Environment' is only available in macOS 10.15 or newer
32 | @Environment(\.recapScreenDismissAction) private var dismissAction
33 | @Environment(\.recapScreenPaginationStyle) private var paginationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:32:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
30 | @Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
31 | @Environment(\.recapScreenDismissButtonVisibility) private var dismissButtonVisibility
32 | @Environment(\.recapScreenDismissAction) private var dismissAction
| `- error: 'Environment' is only available in macOS 10.15 or newer
33 | @Environment(\.recapScreenPaginationStyle) private var paginationStyle
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:33:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
31 | @Environment(\.recapScreenDismissButtonVisibility) private var dismissButtonVisibility
32 | @Environment(\.recapScreenDismissAction) private var dismissAction
33 | @Environment(\.recapScreenPaginationStyle) private var paginationStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
34 |
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
33 | @Environment(\.recapScreenPaginationStyle) private var paginationStyle
34 |
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
| `- error: 'State' is only available in macOS 10.15 or newer
36 | @State private var originalDeselectedPageIndicatorColor: UIColor?
37 | @State private var selectedIndex = 0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
34 |
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
36 | @State private var originalDeselectedPageIndicatorColor: UIColor?
| `- error: 'State' is only available in macOS 10.15 or newer
37 | @State private var selectedIndex = 0
38 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:37:6: error: 'State' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
36 | @State private var originalDeselectedPageIndicatorColor: UIColor?
37 | @State private var selectedIndex = 0
| `- error: 'State' is only available in macOS 10.15 or newer
38 |
39 | private let releases: [Release]
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:43:39: error: 'ViewBuilder' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
41 | private let trailingView: TrailingView
42 |
43 | public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
44 | self.releases = releases
45 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:43:84: error: 'ViewBuilder' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
41 | private let trailingView: TrailingView
42 |
43 | public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
44 | self.releases = releases
45 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49:27: error: 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:40: error: 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:60: error: 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:98:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
95 | // MARK: Convenience Initializers
96 |
97 | public extension RecapScreen where LeadingView == EmptyView {
| `- note: add @available attribute to enclosing extension
98 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
99 | self.releases = releases
100 | self.leadingView = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:97:51: error: 'EmptyView' is only available in macOS 10.15 or newer
95 | // MARK: Convenience Initializers
96 |
97 | public extension RecapScreen where LeadingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
98 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
99 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
103 | }
104 |
105 | public extension RecapScreen where TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
106 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
107 | self.releases = releases
108 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:105:52: error: 'EmptyView' is only available in macOS 10.15 or newer
103 | }
104 |
105 | public extension RecapScreen where TrailingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
106 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
107 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:113:51: error: 'EmptyView' is only available in macOS 10.15 or newer
111 | }
112 |
113 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
114 | init(releases: [Release]) {
115 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:113:78: error: 'EmptyView' is only available in macOS 10.15 or newer
111 | }
112 |
113 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
114 | init(releases: [Release]) {
115 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:124:31: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:146:27: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:163:26: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:262:33: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:321:62: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:350:34: error: 'LocalizedStringResource' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add @available attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:350:138: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:349:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
347 | }
348 |
349 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:403:42: error: 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:402:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:428:79: error: 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:427:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
425 | }
426 |
427 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:401:19: error: 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:50:9: error: 'VStack' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | TabView(selection: $selectedIndex) {
52 | if self.hasLeadingPage {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:13: error: 'TabView' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
| |- error: 'TabView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | if self.hasLeadingPage {
53 | self.leadingView
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:54:26: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
52 | if self.hasLeadingPage {
53 | self.leadingView
54 | .tag(self.leadingPageIndex)
| |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:52:40: error: 'buildIf' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
52 | if self.hasLeadingPage {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | self.leadingView
54 | .tag(self.leadingPageIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:55:17: error: 'buildIf' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
53 | self.leadingView
54 | .tag(self.leadingPageIndex)
55 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 |
57 | ForEach(Array(self.displayedReleases.enumerated()), id: \.element.id) { index, release in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:57:17: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
55 | }
56 |
57 | ForEach(Array(self.displayedReleases.enumerated()), id: \.element.id) { index, release 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
58 | ReleaseView(release: release)
59 | .padding(.bottom, 32.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:57:17: error: 'ForEach' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
55 | }
56 |
57 | ForEach(Array(self.displayedReleases.enumerated()), id: \.element.id) { index, release in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | ReleaseView(release: release)
59 | .padding(.bottom, 32.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:57:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
55 | }
56 |
57 | ForEach(Array(self.displayedReleases.enumerated()), id: \.element.id) { index, release in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | ReleaseView(release: release)
59 | .padding(.bottom, 32.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:59:26: error: 'padding' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
57 | ForEach(Array(self.displayedReleases.enumerated()), id: \.element.id) { index, release in
58 | ReleaseView(release: release)
59 | .padding(.bottom, 32.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | .tag(self.releasePageIndex(for: index))
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:60:26: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
58 | ReleaseView(release: release)
59 | .padding(.bottom, 32.0)
60 | .tag(self.releasePageIndex(for: index))
| |- 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/Recap/Public/RecapScreen.swift:65:26: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
63 | if self.hasTrailingPage {
64 | self.trailingView
65 | .tag(self.trailingPageIndex)
| |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:63:41: error: 'buildIf' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
61 | }
62 |
63 | if self.hasTrailingPage {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | self.trailingView
65 | .tag(self.trailingPageIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:66:17: error: 'buildIf' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
64 | self.trailingView
65 | .tag(self.trailingPageIndex)
66 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | .tabViewStyle(.page(indexDisplayMode: self.usesSystemPaginationControls ? .always : .never))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:48: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | if self.hasLeadingPage {
53 | self.leadingView
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:48: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | if self.hasLeadingPage {
53 | self.leadingView
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:48: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | if self.hasLeadingPage {
53 | self.leadingView
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:68:14: error: 'tabViewStyle' is only available in macOS 11.0 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
66 | }
67 | }
68 | .tabViewStyle(.page(indexDisplayMode: self.usesSystemPaginationControls ? .always : .never))
| |- error: 'tabViewStyle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
69 | .background(self.derivedBackgroundStyle)
70 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:68:28: error: 'page(indexDisplayMode:)' is unavailable in macOS
66 | }
67 | }
68 | .tabViewStyle(.page(indexDisplayMode: self.usesSystemPaginationControls ? .always : .never))
| `- error: 'page(indexDisplayMode:)' is unavailable in macOS
69 | .background(self.derivedBackgroundStyle)
70 |
SwiftUI.TabViewStyle.page:2:47: note: 'page(indexDisplayMode:)' has been explicitly marked unavailable here
1 | protocol TabViewStyle {
2 | @MainActor @preconcurrency public static func page(indexDisplayMode: PageTabViewStyle.IndexDisplayMode) -> PageTabViewStyle}
| `- note: 'page(indexDisplayMode:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:69:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
67 | }
68 | .tabViewStyle(.page(indexDisplayMode: self.usesSystemPaginationControls ? .always : .never))
69 | .background(self.derivedBackgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
70 |
71 | if self.showsFooter {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:72:17: error: 'VStack' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
70 |
71 | if self.showsFooter {
72 | VStack(spacing: 0.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | if self.usesButtonPaginationControls {
74 | self.paginationControls
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:58: error: 'buildIf' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
71 | if self.showsFooter {
72 | VStack(spacing: 0.0) {
73 | if self.usesButtonPaginationControls {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | self.paginationControls
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:75:21: error: 'buildIf' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
73 | if self.usesButtonPaginationControls {
74 | self.paginationControls
75 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 |
77 | if self.showsDismissButton {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:77:48: error: 'buildIf' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
75 | }
76 |
77 | if self.showsDismissButton {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | self.dismissButton
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:79:21: error: 'buildIf' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
77 | if self.showsDismissButton {
78 | self.dismissButton
79 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 | .background(self.derivedBackgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:72:38: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
70 |
71 | if self.showsFooter {
72 | VStack(spacing: 0.0) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | if self.usesButtonPaginationControls {
74 | self.paginationControls
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:72:38: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
70 |
71 | if self.showsFooter {
72 | VStack(spacing: 0.0) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | if self.usesButtonPaginationControls {
74 | self.paginationControls
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:81:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
79 | }
80 | }
81 | .background(self.derivedBackgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:33: error: 'buildIf' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
69 | .background(self.derivedBackgroundStyle)
70 |
71 | if self.showsFooter {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | VStack(spacing: 0.0) {
73 | if self.usesButtonPaginationControls {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:13: error: 'buildIf' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
80 | }
81 | .background(self.derivedBackgroundStyle)
82 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 | .onAppear(perform: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:50:30: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | TabView(selection: $selectedIndex) {
52 | if self.hasLeadingPage {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:84:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
82 | }
83 | }
84 | .onAppear(perform: {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | self.selectedIndex = self.tabIndex(from: self.startIndex)
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:85:4: error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
83 | }
84 | .onAppear(perform: {
85 | self.selectedIndex = self.tabIndex(from: self.startIndex)
| |- error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 |
87 | self.setupAppearanceChanges()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:89:10: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
87 | self.setupAppearanceChanges()
88 | })
89 | .onDisappear(perform: {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | self.teardownAppearanceChanges()
91 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:100:28: error: 'EmptyView' is only available in macOS 10.15 or newer
95 | // MARK: Convenience Initializers
96 |
97 | public extension RecapScreen where LeadingView == EmptyView {
| `- note: add @available attribute to enclosing extension
98 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
| `- note: add @available attribute to enclosing initializer
99 | self.releases = releases
100 | self.leadingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | self.trailingView = trailingView()
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:109:29: error: 'EmptyView' is only available in macOS 10.15 or newer
103 | }
104 |
105 | public extension RecapScreen where TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
106 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
| `- note: add @available attribute to enclosing initializer
107 | self.releases = releases
108 | self.leadingView = leadingView()
109 | self.trailingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:116:28: error: 'EmptyView' is only available in macOS 10.15 or newer
111 | }
112 |
113 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
114 | init(releases: [Release]) {
| `- note: add @available attribute to enclosing initializer
115 | self.releases = releases
116 | self.leadingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | self.trailingView = EmptyView()
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:117:29: error: 'EmptyView' is only available in macOS 10.15 or newer
111 | }
112 |
113 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
114 | init(releases: [Release]) {
| `- note: add @available attribute to enclosing initializer
115 | self.releases = releases
116 | self.leadingView = EmptyView()
117 | self.trailingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:3: error: 'Group' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | switch self.paginationStyle {
127 | case .automatic:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:3: error: 'init(content:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | switch self.paginationStyle {
127 | case .automatic:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:128:5: error: 'ViewThatFits' is only available in macOS 13.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
127 | case .automatic:
128 | ViewThatFits(in: .horizontal) {
| |- error: 'ViewThatFits' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
129 | self.paginationControls(displaysButtonTitles: true)
130 | self.paginationControls(displaysButtonTitles: false)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:128:5: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
127 | case .automatic:
128 | ViewThatFits(in: .horizontal) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | self.paginationControls(displaysButtonTitles: true)
130 | self.paginationControls(displaysButtonTitles: false)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:128:5: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
127 | case .automatic:
128 | ViewThatFits(in: .horizontal) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | self.paginationControls(displaysButtonTitles: true)
130 | self.paginationControls(displaysButtonTitles: false)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:134:5: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
132 |
133 | case .labeled:
134 | self.paginationControls(displaysButtonTitles: true)
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 |
136 | case .compact:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:134:5: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
132 |
133 | case .labeled:
134 | self.paginationControls(displaysButtonTitles: true)
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 |
136 | case .compact:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:5: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
135 |
136 | case .compact:
137 | self.paginationControls(displaysButtonTitles: false)
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:9: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | switch self.paginationStyle {
127 | case .automatic:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:140:4: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
138 | }
139 | }
140 | .padding(.top, 24.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | .padding(.horizontal, 32.0)
142 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:4: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
139 | }
140 | .padding(.top, 24.0)
141 | .padding(.horizontal, 32.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .foregroundStyle(.primary)
143 | .withBottomPaddingIfNoSafeArea(when: !self.showsDismissButton)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:142:4: error: 'foregroundStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
140 | .padding(.top, 24.0)
141 | .padding(.horizontal, 32.0)
142 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
143 | .withBottomPaddingIfNoSafeArea(when: !self.showsDismissButton)
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:142:21: error: 'primary' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
140 | .padding(.top, 24.0)
141 | .padding(.horizontal, 32.0)
142 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
143 | .withBottomPaddingIfNoSafeArea(when: !self.showsDismissButton)
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:147:3: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:147:3: error: 'HStack' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:147:3: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:147:25: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:148:4: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index 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
149 | Button(action: {
150 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:148:4: error: 'ForEach' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | Button(action: {
150 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:148:4: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | Button(action: {
150 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:148:56: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | Button(action: {
150 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:149:5: error: 'Button' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
150 | withAnimation {
151 | self.selectedIndex = index
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:150:6: error: 'withAnimation' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
150 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
151 | self.selectedIndex = index
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:151:7: error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
150 | withAnimation {
151 | self.selectedIndex = index
| |- error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | }
153 | }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:153:15: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
151 | self.selectedIndex = index
152 | }
153 | }, label: {
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
154 | Circle()
155 | .fill(index == self.selectedIndex ? self.selectedPageIndicatorColor : self.deselectedPageIndicatorColor)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:154:6: error: 'Circle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
152 | }
153 | }, label: {
154 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | .fill(index == self.selectedIndex ? self.selectedPageIndicatorColor : self.deselectedPageIndicatorColor)
156 | .frame(width: 8.0, height: 8.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:155:8: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
153 | }, label: {
154 | Circle()
155 | .fill(index == self.selectedIndex ? self.selectedPageIndicatorColor : self.deselectedPageIndicatorColor)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
156 | .frame(width: 8.0, height: 8.0)
157 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:156:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
154 | Circle()
155 | .fill(index == self.selectedIndex ? self.selectedPageIndicatorColor : self.deselectedPageIndicatorColor)
156 | .frame(width: 8.0, height: 8.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
157 | })
158 | .buttonStyle(.plain)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:158:6: error: 'buttonStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
156 | .frame(width: 8.0, height: 8.0)
157 | })
158 | .buttonStyle(.plain)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | }
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:158:19: error: 'plain' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
156 | .frame(width: 8.0, height: 8.0)
157 | })
158 | .buttonStyle(.plain)
| |- error: 'plain' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | }
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:147:25: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:164:3: error: 'Button' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
165 | dismissAction?() ?? dismiss()
166 | }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:167:4: error: 'HStack' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | Spacer(minLength: 0.0)
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:168:5: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
168 | Spacer(minLength: 0.0)
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 |
170 | Text(self.dismissButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:168:5: error: 'Spacer' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
168 | Spacer(minLength: 0.0)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 |
170 | Text(self.dismissButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:170:5: error: 'Text' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
168 | Spacer(minLength: 0.0)
169 |
170 | Text(self.dismissButtonTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:170:5: error: 'init(_:)' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
168 | Spacer(minLength: 0.0)
169 |
170 | Text(self.dismissButtonTitle)
| |- error: 'init(_:)' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:171:7: error: 'font' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
169 |
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:171:13: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
169 |
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:171:21: error: 'title3' is only available in macOS 11.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
169 |
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:172:7: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
173 | .padding(.vertical, 4.0)
174 | .padding(.horizontal, 16.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:173:7: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | .padding(.horizontal, 16.0)
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:7: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
174 | .padding(.horizontal, 16.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
176 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:175:7: error: 'foregroundStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
173 | .padding(.vertical, 4.0)
174 | .padding(.horizontal, 16.0)
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
176 |
177 | Spacer(minLength: 0.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:177:5: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
176 |
177 | Spacer(minLength: 0.0)
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:177:5: error: 'Spacer' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
176 |
177 | Spacer(minLength: 0.0)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:167:11: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | Spacer(minLength: 0.0)
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:167:11: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | Spacer(minLength: 0.0)
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:179:5: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
177 | Spacer(minLength: 0.0)
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
| |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | })
181 | .buttonStyle(.borderless)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:179:19: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
177 | Spacer(minLength: 0.0)
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
| |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | })
181 | .buttonStyle(.borderless)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:181:4: error: 'buttonStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
179 | .contentShape(.rect(cornerRadius: 16.0))
180 | })
181 | .buttonStyle(.borderless)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | .frame(maxWidth: .infinity)
183 | .background(self.dismissButtonStyle.backgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:181:17: error: 'borderless' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
179 | .contentShape(.rect(cornerRadius: 16.0))
180 | })
181 | .buttonStyle(.borderless)
| |- error: 'borderless' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | .frame(maxWidth: .infinity)
183 | .background(self.dismissButtonStyle.backgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:182:4: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
180 | })
181 | .buttonStyle(.borderless)
182 | .frame(maxWidth: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
183 | .background(self.dismissButtonStyle.backgroundStyle)
184 | .versionSpecificClipShape()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:183:4: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
181 | .buttonStyle(.borderless)
182 | .frame(maxWidth: .infinity)
183 | .background(self.dismissButtonStyle.backgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
184 | .versionSpecificClipShape()
185 | .padding(.horizontal, 40.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:185:4: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
183 | .background(self.dismissButtonStyle.backgroundStyle)
184 | .versionSpecificClipShape()
185 | .padding(.horizontal, 40.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
187 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:186:4: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
184 | .versionSpecificClipShape()
185 | .padding(.horizontal, 40.0)
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
187 | .foregroundStyle(.primary)
188 | .withBottomPaddingIfNoSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:187:4: error: 'foregroundStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
185 | .padding(.horizontal, 40.0)
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
187 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
188 | .withBottomPaddingIfNoSafeArea()
189 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:187:21: error: 'primary' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
185 | .padding(.horizontal, 40.0)
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
187 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
188 | .withBottomPaddingIfNoSafeArea()
189 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:29: error: 'EmptyView' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
193 | }
194 |
195 | var hasLeadingPage: Bool {
| `- note: add @available attribute to enclosing property
196 | LeadingView.self != EmptyView.self
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:200:30: error: 'EmptyView' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
197 | }
198 |
199 | var hasTrailingPage: Bool {
| `- note: add @available attribute to enclosing property
200 | TrailingView.self != EmptyView.self
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
201 | }
202 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:55: error: 'Color' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:61: error: 'black' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:69: error: 'Color' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:75: error: 'white' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:322:3: error: 'HStack' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
323 | self.paginationButton(
324 | title: LocalizedStringResource(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:324:12: error: 'LocalizedStringResource' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
324 | title: LocalizedStringResource(
| |- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
325 | "RECAP.SCREEN.PAGINATION.BUTTON.PREVIOUS",
326 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:325:6: error: 'LocalizationValue' is only available in macOS 12 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
324 | title: LocalizedStringResource(
325 | "RECAP.SCREEN.PAGINATION.BUTTON.PREVIOUS",
| |- error: 'LocalizationValue' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
326 | bundle: .atURL(Bundle.module.bundleURL)
327 | ),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:332:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
330 | showsTitle: displaysButtonTitles
331 | )
332 | .frame(maxWidth: .infinity, alignment: .leading)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
333 |
334 | self.pageIndicators
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:332:44: error: 'leading' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
330 | showsTitle: displaysButtonTitles
331 | )
332 | .frame(maxWidth: .infinity, alignment: .leading)
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
333 |
334 | self.pageIndicators
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:337:12: error: 'LocalizedStringResource' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
335 |
336 | self.paginationButton(
337 | title: LocalizedStringResource(
| |- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
338 | "RECAP.SCREEN.PAGINATION.BUTTON.NEXT",
339 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:338:6: error: 'LocalizationValue' is only available in macOS 12 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
336 | self.paginationButton(
337 | title: LocalizedStringResource(
338 | "RECAP.SCREEN.PAGINATION.BUTTON.NEXT",
| |- error: 'LocalizationValue' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
339 | bundle: .atURL(Bundle.module.bundleURL)
340 | ),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:345:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
343 | showsTitle: displaysButtonTitles
344 | )
345 | .frame(maxWidth: .infinity, alignment: .trailing)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:345:44: error: 'trailing' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
343 | showsTitle: displaysButtonTitles
344 | )
345 | .frame(maxWidth: .infinity, alignment: .trailing)
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:377:10: error: instance method 'accessibilityLabel' requires that 'LocalizedStringResource' conform to 'StringProtocol'
375 | .buttonStyle(.plain)
376 | .disabled(!isEnabled)
377 | .accessibilityLabel(title)
| `- error: instance method 'accessibilityLabel' requires that 'LocalizedStringResource' conform to 'StringProtocol'
378 | }
379 |
SwiftUI.View.accessibilityLabel:2:25: note: where 'S' = 'LocalizedStringResource'
1 | protocol View {
2 | nonisolated public func accessibilityLabel<S>(_ label: S) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol}
| `- note: where 'S' = 'LocalizedStringResource'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:383:9: error: 'withAnimation' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add @available attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
383 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:385:29: error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add @available attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
383 | withAnimation {
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
| |- error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
386 | case .next: self.selectedIndex += 1
387 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:386:25: error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add @available attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
:
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
386 | case .next: self.selectedIndex += 1
| |- error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
387 | }
388 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:6: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
404 | if #available(iOS 26.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:405:9: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
406 | } else {
407 | self.clipShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:405:20: error: 'capsule' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
406 | } else {
407 | self.clipShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:30: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:406:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
406 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
407 | self.clipShape(.rect(cornerRadius: 16.0))
408 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:403:47: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:429:56: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
430 | self
431 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:432:18: error: 'padding' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
431 | } else {
432 | self.padding(.bottom, 24.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
433 | }
434 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:431:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
431 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
432 | self.padding(.bottom, 24.0)
433 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:428:84: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
BUILD FAILURE 6.1 macosSpm