Build Information
Failed to build Recap, reference main (38b486
), with Swift 5.10 for macOS (SPM) on 6 Nov 2024 01:06:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: note: add 'if #available' version check
VStack(alignment: .leading, spacing: 4.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:3:8: note: add @available attribute to enclosing struct
struct FeatureRow: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(alignment: .leading, spacing: 4.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: note: add 'if #available' version check
VStack(alignment: .leading, spacing: 4.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:3:8: note: add @available attribute to enclosing struct
struct FeatureRow: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
AnyShapeStyle(self.feature.color.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:13: note: add 'if #available' version check
AnyShapeStyle(self.feature.color.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:9: note: add @available attribute to enclosing property
var iconForegroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:33:9: note: add @available attribute to enclosing extension
private extension FeatureRow {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:46: error: 'gradient' is only available in macOS 13.0 or newer
AnyShapeStyle(self.feature.color.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:46: note: add 'if #available' version check
AnyShapeStyle(self.feature.color.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:9: note: add @available attribute to enclosing property
var iconForegroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:33:9: note: add @available attribute to enclosing extension
private extension FeatureRow {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
AnyShapeStyle(self.feature.color)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: note: add 'if #available' version check
AnyShapeStyle(self.feature.color)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:9: note: add @available attribute to enclosing property
var iconForegroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:33:9: note: add @available attribute to enclosing extension
private extension FeatureRow {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
AnyShapeStyle(self.feature.color)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: note: add 'if #available' version check
AnyShapeStyle(self.feature.color)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:9: note: add @available attribute to enclosing property
var iconForegroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:33:9: note: add @available attribute to enclosing extension
private extension FeatureRow {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:4:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
let backgroundStyle: AnyShapeStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:3:8: note: add @available attribute to enclosing struct
struct RecapScreenDismissButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:5:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
let foregroundStyle: AnyShapeStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:3:8: note: add @available attribute to enclosing struct
struct RecapScreenDismissButtonStyle {
^
[19/21] Compiling Recap RecapScreen.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:140:53: error: attribute can only be applied to declarations, not types
private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:23:20: error: 'dismiss' is only available in macOS 12.0 or newer
@Environment(\.dismiss) private var dismiss
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:24:20: error: 'backgroundStyle' is only available in macOS 13.0 or newer
@Environment(\.backgroundStyle) private var backgroundStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:25:20: error: 'colorScheme' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) private var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:97:16: error: extensions must not contain stored properties
@Entry var recapScreenStartIndex = RecapScreenStartIndex.leadingView
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:33:60: error: cannot find type 'UIColor' in scope
@State private var originalSelectedPageIndicatorColor: UIColor?
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:34:62: error: cannot find type 'UIColor' in scope
@State private var originalDeselectedPageIndicatorColor: UIColor?
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:23:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.dismiss) private var dismiss
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:24:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.backgroundStyle) private var backgroundStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:25:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) private var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:26:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenStartIndex) private var startIndex
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:27:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:28:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:29:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:30:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:31:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenDismissAction) private var dismissAction
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
@State private var originalSelectedPageIndicatorColor: UIColor?
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
@State private var originalDeselectedPageIndicatorColor: UIColor?
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var selectedIndex = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:41:39: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:41:12: note: add @available attribute to enclosing initializer
public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:41:84: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:41:12: note: add @available attribute to enclosing initializer
public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:40: error: 'View' is only available in macOS 10.15 or newer
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:60: error: 'View' is only available in macOS 10.15 or newer
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:107:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:107:5: note: add @available attribute to enclosing initializer
init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:51: error: 'EmptyView' is only available in macOS 10.15 or newer
public extension RecapScreen where LeadingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:115:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:115:5: note: add @available attribute to enclosing initializer
init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:114:8: note: add @available attribute to enclosing extension
public extension RecapScreen where TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:114:52: error: 'EmptyView' is only available in macOS 10.15 or newer
public extension RecapScreen where TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:114:8: note: add @available attribute to enclosing extension
public extension RecapScreen where TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:51: error: 'EmptyView' is only available in macOS 10.15 or newer
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:78: error: 'EmptyView' is only available in macOS 10.15 or newer
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:33: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:50: error: 'View' is only available in macOS 10.15 or newer
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:191:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:19: error: 'View' is only available in macOS 10.15 or newer
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:48:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 0.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:48:9: note: add 'if #available' version check
VStack(spacing: 0.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49:13: error: 'TabView' is only available in macOS 10.15 or newer
TabView(selection: $selectedIndex) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49:13: note: add 'if #available' version check
TabView(selection: $selectedIndex) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:22: error: 'tag' is only available in macOS 10.15 or newer
.tag(self.tabIndex(from: .leadingView))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:22: note: add 'if #available' version check
.tag(self.tabIndex(from: .leadingView))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: note: add 'if #available' version check
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: note: add 'if #available' version check
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: error: 'init(_:content:)' is only available in macOS 10.15 or newer
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: note: add 'if #available' version check
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:55:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(.bottom, 32.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:55:26: note: add 'if #available' version check
.padding(.bottom, 32.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:56:26: error: 'tag' is only available in macOS 10.15 or newer
.tag((self.tabIndex(from: .release(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:56:26: note: add 'if #available' version check
.tag((self.tabIndex(from: .release(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:62:22: error: 'tag' is only available in macOS 10.15 or newer
.tag(self.tabIndex(from: .trailingView))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:62:22: note: add 'if #available' version check
.tag(self.tabIndex(from: .trailingView))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49:48: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
TabView(selection: $selectedIndex) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49:48: note: add 'if #available' version check
TabView(selection: $selectedIndex) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:64:14: error: 'tabViewStyle' is only available in macOS 11.0 or newer
.tabViewStyle(.page(indexDisplayMode: self.releases.count > 1 ? .always : .never))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:64:14: note: add 'if #available' version check
.tabViewStyle(.page(indexDisplayMode: self.releases.count > 1 ? .always : .never))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:64:28: error: 'page(indexDisplayMode:)' is unavailable in macOS
.tabViewStyle(.page(indexDisplayMode: self.releases.count > 1 ? .always : .never))
^~~~
SwiftUI.TabViewStyle:5:24: note: 'page(indexDisplayMode:)' has been explicitly marked unavailable here
public static func page(indexDisplayMode: PageTabViewStyle.IndexDisplayMode) -> PageTabViewStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:65:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
.background(self.derivedBackgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:65:14: note: add 'if #available' version check
.background(self.derivedBackgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:67:13: error: 'Button' is only available in macOS 10.15 or newer
Button(action: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:67:13: note: add 'if #available' version check
Button(action: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:17: error: 'HStack' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:17: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:21: note: add 'if #available' version check
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:21: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:21: note: add 'if #available' version check
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:21: error: 'Text' is only available in macOS 10.15 or newer
Text(self.dismissButtonTitle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:21: note: add 'if #available' version check
Text(self.dismissButtonTitle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:21: error: 'init(_:)' is only available in macOS 13 or newer
Text(self.dismissButtonTitle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:21: note: add 'if #available' version check
Text(self.dismissButtonTitle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:26: error: 'font' is only available in macOS 10.15 or newer
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:26: note: add 'if #available' version check
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:32: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:32: note: add 'if #available' version check
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:40: error: 'title3' is only available in macOS 11.0 or newer
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:40: note: add 'if #available' version check
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:75:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(8.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:75:26: note: add 'if #available' version check
.padding(8.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:76:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(.vertical, 4.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:76:26: note: add 'if #available' version check
.padding(.vertical, 4.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:77:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(.horizontal, 16.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:77:26: note: add 'if #available' version check
.padding(.horizontal, 16.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:78:26: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(dismissButtonStyle.foregroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:78:26: note: add 'if #available' version check
.foregroundStyle(dismissButtonStyle.foregroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:80:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:80:21: note: add 'if #available' version check
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:80:21: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:80:21: note: add 'if #available' version check
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:18: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
.contentShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:18: note: add 'if #available' version check
.contentShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:32: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
.contentShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:32: note: add 'if #available' version check
.contentShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:84:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:84:14: note: add 'if #available' version check
.frame(maxWidth: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:85:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
.background(self.dismissButtonStyle.backgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:85:14: note: add 'if #available' version check
.background(self.dismissButtonStyle.backgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:14: note: add 'if #available' version check
.clipShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:25: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
.clipShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:25: note: add 'if #available' version check
.clipShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:87:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.horizontal, 40.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:87:14: note: add 'if #available' version check
.padding(.horizontal, 40.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:14: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(.primary)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:14: note: add 'if #available' version check
.foregroundStyle(.primary)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:31: error: 'primary' is only available in macOS 12.0 or newer
.foregroundStyle(.primary)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:31: note: add 'if #available' version check
.foregroundStyle(.primary)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:90:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
.background(self.derivedBackgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:90:14: note: add 'if #available' version check
.background(self.derivedBackgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:91:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:91:14: note: add 'if #available' version check
.onAppear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:92:17: error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
self.selectedIndex = self.tabIndex(from: self.startIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:92:17: note: add 'if #available' version check
self.selectedIndex = self.tabIndex(from: self.startIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:94:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:94:14: note: add 'if #available' version check
.onAppear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:97:14: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
.onDisappear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:97:14: note: add 'if #available' version check
.onDisappear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:109:28: error: 'EmptyView' is only available in macOS 10.15 or newer
self.leadingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:109:28: note: add 'if #available' version check
self.leadingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:107:5: note: add @available attribute to enclosing initializer
init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:118:29: error: 'EmptyView' is only available in macOS 10.15 or newer
self.trailingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:118:29: note: add 'if #available' version check
self.trailingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:115:5: note: add @available attribute to enclosing initializer
init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:114:8: note: add @available attribute to enclosing extension
public extension RecapScreen where TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:28: error: 'EmptyView' is only available in macOS 10.15 or newer
self.leadingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:28: note: add 'if #available' version check
self.leadingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:123:5: note: add @available attribute to enclosing initializer
init(releases: [Release]) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:126:29: error: 'EmptyView' is only available in macOS 10.15 or newer
self.trailingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:126:29: note: add 'if #available' version check
self.trailingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:123:5: note: add @available attribute to enclosing initializer
init(releases: [Release]) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:55: error: 'Color' is only available in macOS 10.15 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:55: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:61: error: 'black' is only available in macOS 10.15 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:61: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:69: error: 'Color' is only available in macOS 10.15 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:69: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:75: error: 'white' is only available in macOS 10.15 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:75: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:193:40: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if hasSafeAreaForBottomPadding {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:193:40: note: add 'if #available' version check
if hasSafeAreaForBottomPadding {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:18: error: 'padding' is only available in macOS 10.15 or newer
self.padding(.bottom, 24.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:18: note: add 'if #available' version check
self.padding(.bottom, 24.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:195:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:195:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:55: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:55: note: add 'if #available' version check
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
[20/21] Compiling Recap RecapScreenStartIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:140:53: error: attribute can only be applied to declarations, not types
private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:23:20: error: 'dismiss' is only available in macOS 12.0 or newer
@Environment(\.dismiss) private var dismiss
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:24:20: error: 'backgroundStyle' is only available in macOS 13.0 or newer
@Environment(\.backgroundStyle) private var backgroundStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:25:20: error: 'colorScheme' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) private var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:97:16: error: extensions must not contain stored properties
@Entry var recapScreenStartIndex = RecapScreenStartIndex.leadingView
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:33:60: error: cannot find type 'UIColor' in scope
@State private var originalSelectedPageIndicatorColor: UIColor?
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:34:62: error: cannot find type 'UIColor' in scope
@State private var originalDeselectedPageIndicatorColor: UIColor?
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:23:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.dismiss) private var dismiss
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:24:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.backgroundStyle) private var backgroundStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:25:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.colorScheme) private var colorScheme
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:26:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenStartIndex) private var startIndex
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:27:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:28:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:29:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:30:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:31:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.recapScreenDismissAction) private var dismissAction
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
@State private var originalSelectedPageIndicatorColor: UIColor?
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
@State private var originalDeselectedPageIndicatorColor: UIColor?
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var selectedIndex = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:41:39: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:41:12: note: add @available attribute to enclosing initializer
public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:41:84: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:41:12: note: add @available attribute to enclosing initializer
public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:40: error: 'View' is only available in macOS 10.15 or newer
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:60: error: 'View' is only available in macOS 10.15 or newer
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:107:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:107:5: note: add @available attribute to enclosing initializer
init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:51: error: 'EmptyView' is only available in macOS 10.15 or newer
public extension RecapScreen where LeadingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:115:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:115:5: note: add @available attribute to enclosing initializer
init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:114:8: note: add @available attribute to enclosing extension
public extension RecapScreen where TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:114:52: error: 'EmptyView' is only available in macOS 10.15 or newer
public extension RecapScreen where TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:114:8: note: add @available attribute to enclosing extension
public extension RecapScreen where TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:51: error: 'EmptyView' is only available in macOS 10.15 or newer
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:78: error: 'EmptyView' is only available in macOS 10.15 or newer
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:33: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:50: error: 'View' is only available in macOS 10.15 or newer
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:191:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:19: error: 'View' is only available in macOS 10.15 or newer
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:48:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 0.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:48:9: note: add 'if #available' version check
VStack(spacing: 0.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49:13: error: 'TabView' is only available in macOS 10.15 or newer
TabView(selection: $selectedIndex) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49:13: note: add 'if #available' version check
TabView(selection: $selectedIndex) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:22: error: 'tag' is only available in macOS 10.15 or newer
.tag(self.tabIndex(from: .leadingView))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:22: note: add 'if #available' version check
.tag(self.tabIndex(from: .leadingView))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: note: add 'if #available' version check
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: note: add 'if #available' version check
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: error: 'init(_:content:)' is only available in macOS 10.15 or newer
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: note: add 'if #available' version check
ForEach(self.displayedReleases) { release in
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:55:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(.bottom, 32.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:55:26: note: add 'if #available' version check
.padding(.bottom, 32.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:56:26: error: 'tag' is only available in macOS 10.15 or newer
.tag((self.tabIndex(from: .release(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:56:26: note: add 'if #available' version check
.tag((self.tabIndex(from: .release(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:62:22: error: 'tag' is only available in macOS 10.15 or newer
.tag(self.tabIndex(from: .trailingView))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:62:22: note: add 'if #available' version check
.tag(self.tabIndex(from: .trailingView))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49:48: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
TabView(selection: $selectedIndex) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49:48: note: add 'if #available' version check
TabView(selection: $selectedIndex) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:64:14: error: 'tabViewStyle' is only available in macOS 11.0 or newer
.tabViewStyle(.page(indexDisplayMode: self.releases.count > 1 ? .always : .never))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:64:14: note: add 'if #available' version check
.tabViewStyle(.page(indexDisplayMode: self.releases.count > 1 ? .always : .never))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:64:28: error: 'page(indexDisplayMode:)' is unavailable in macOS
.tabViewStyle(.page(indexDisplayMode: self.releases.count > 1 ? .always : .never))
^~~~
SwiftUI.TabViewStyle:5:24: note: 'page(indexDisplayMode:)' has been explicitly marked unavailable here
public static func page(indexDisplayMode: PageTabViewStyle.IndexDisplayMode) -> PageTabViewStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:65:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
.background(self.derivedBackgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:65:14: note: add 'if #available' version check
.background(self.derivedBackgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:67:13: error: 'Button' is only available in macOS 10.15 or newer
Button(action: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:67:13: note: add 'if #available' version check
Button(action: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:17: error: 'HStack' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:17: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:21: note: add 'if #available' version check
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:21: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:21: note: add 'if #available' version check
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:21: error: 'Text' is only available in macOS 10.15 or newer
Text(self.dismissButtonTitle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:21: note: add 'if #available' version check
Text(self.dismissButtonTitle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:21: error: 'init(_:)' is only available in macOS 13 or newer
Text(self.dismissButtonTitle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:21: note: add 'if #available' version check
Text(self.dismissButtonTitle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:26: error: 'font' is only available in macOS 10.15 or newer
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:26: note: add 'if #available' version check
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:32: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:32: note: add 'if #available' version check
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:40: error: 'title3' is only available in macOS 11.0 or newer
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:40: note: add 'if #available' version check
.font(.system(.title3, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:75:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(8.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:75:26: note: add 'if #available' version check
.padding(8.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:76:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(.vertical, 4.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:76:26: note: add 'if #available' version check
.padding(.vertical, 4.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:77:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(.horizontal, 16.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:77:26: note: add 'if #available' version check
.padding(.horizontal, 16.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:78:26: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(dismissButtonStyle.foregroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:78:26: note: add 'if #available' version check
.foregroundStyle(dismissButtonStyle.foregroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:80:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:80:21: note: add 'if #available' version check
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:80:21: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:80:21: note: add 'if #available' version check
Spacer(minLength: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:18: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
.contentShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:18: note: add 'if #available' version check
.contentShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:32: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
.contentShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:32: note: add 'if #available' version check
.contentShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:84:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:84:14: note: add 'if #available' version check
.frame(maxWidth: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:85:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
.background(self.dismissButtonStyle.backgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:85:14: note: add 'if #available' version check
.background(self.dismissButtonStyle.backgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:14: note: add 'if #available' version check
.clipShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:25: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
.clipShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:25: note: add 'if #available' version check
.clipShape(.rect(cornerRadius: 16.0))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:87:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.horizontal, 40.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:87:14: note: add 'if #available' version check
.padding(.horizontal, 40.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:14: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(.primary)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:14: note: add 'if #available' version check
.foregroundStyle(.primary)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:31: error: 'primary' is only available in macOS 12.0 or newer
.foregroundStyle(.primary)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:31: note: add 'if #available' version check
.foregroundStyle(.primary)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:90:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
.background(self.derivedBackgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:90:14: note: add 'if #available' version check
.background(self.derivedBackgroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:91:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:91:14: note: add 'if #available' version check
.onAppear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:92:17: error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
self.selectedIndex = self.tabIndex(from: self.startIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:92:17: note: add 'if #available' version check
self.selectedIndex = self.tabIndex(from: self.startIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:94:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:94:14: note: add 'if #available' version check
.onAppear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:97:14: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
.onDisappear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:97:14: note: add 'if #available' version check
.onDisappear(perform: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:15: note: add @available attribute to enclosing generic struct
public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:109:28: error: 'EmptyView' is only available in macOS 10.15 or newer
self.leadingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:109:28: note: add 'if #available' version check
self.leadingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:107:5: note: add @available attribute to enclosing initializer
init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:118:29: error: 'EmptyView' is only available in macOS 10.15 or newer
self.trailingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:118:29: note: add 'if #available' version check
self.trailingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:115:5: note: add @available attribute to enclosing initializer
init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:114:8: note: add @available attribute to enclosing extension
public extension RecapScreen where TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:28: error: 'EmptyView' is only available in macOS 10.15 or newer
self.leadingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:28: note: add 'if #available' version check
self.leadingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:123:5: note: add @available attribute to enclosing initializer
init(releases: [Release]) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:126:29: error: 'EmptyView' is only available in macOS 10.15 or newer
self.trailingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:126:29: note: add 'if #available' version check
self.trailingView = EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:123:5: note: add @available attribute to enclosing initializer
init(releases: [Release]) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:8: note: add @available attribute to enclosing extension
public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:55: error: 'Color' is only available in macOS 10.15 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:55: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:61: error: 'black' is only available in macOS 10.15 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:61: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:69: error: 'Color' is only available in macOS 10.15 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:69: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:75: error: 'white' is only available in macOS 10.15 or newer
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:75: note: add 'if #available' version check
AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:9: note: add @available attribute to enclosing property
var derivedBackgroundStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:132:9: note: add @available attribute to enclosing extension
private extension RecapScreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:193:40: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if hasSafeAreaForBottomPadding {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:193:40: note: add 'if #available' version check
if hasSafeAreaForBottomPadding {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:18: error: 'padding' is only available in macOS 10.15 or newer
self.padding(.bottom, 24.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:18: note: add 'if #available' version check
self.padding(.bottom, 24.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:195:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:195:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:55: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:55: note: add 'if #available' version check
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:10: note: add @available attribute to enclosing instance method
func withBottomPaddingIfNoSafeArea() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:9: note: add @available attribute to enclosing extension
private extension View {
^
[21/21] Compiling Recap View+Recap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:140:53: error: attribute can only be applied to declarations, not types
private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
~^~~~~~~~~~~~~~~
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:7:77: error: 'View' is only available in macOS 10.15 or newer
func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:7:10: note: add @available attribute to enclosing instance method
func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:46: error: 'ShapeStyle' is only available in macOS 10.15 or newer
func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:10: note: add @available attribute to enclosing instance method
func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:46: error: 'ShapeStyle' is only available in macOS 10.15 or newer
func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:10: note: add @available attribute to enclosing instance method
func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:66: error: 'View' is only available in macOS 10.15 or newer
func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:10: note: add @available attribute to enclosing instance method
func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:54: error: 'ShapeStyle' is only available in macOS 10.15 or newer
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:54: error: 'ShapeStyle' is only available in macOS 10.15 or newer
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:64: error: 'ShapeStyle' is only available in macOS 10.15 or newer
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:100: error: 'ShapeStyle' is only available in macOS 10.15 or newer
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:64: error: 'ShapeStyle' is only available in macOS 10.15 or newer
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:100: error: 'ShapeStyle' is only available in macOS 10.15 or newer
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:120: error: 'View' is only available in macOS 10.15 or newer
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:49: error: 'LocalizedStringResource' is only available in macOS 13 or newer
func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:82: error: 'View' is only available in macOS 10.15 or newer
func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:42:65: error: 'View' is only available in macOS 10.15 or newer
func recapScreenIconFillMode(_ style: IconFillMode) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:42:10: note: add @available attribute to enclosing instance method
func recapScreenIconFillMode(_ style: IconFillMode) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:47:48: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:47:10: note: add @available attribute to enclosing instance method
func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:47:75: error: 'View' is only available in macOS 10.15 or newer
func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:47:10: note: add @available attribute to enclosing instance method
func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:51: error: 'Color' is only available in macOS 10.15 or newer
func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:10: note: add @available attribute to enclosing instance method
func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:70: error: 'Color' is only available in macOS 10.15 or newer
func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:10: note: add @available attribute to enclosing instance method
func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:85: error: 'View' is only available in macOS 10.15 or newer
func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:10: note: add @available attribute to enclosing instance method
func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:41: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:10: note: add @available attribute to enclosing instance method
func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:65: error: 'View' is only available in macOS 10.15 or newer
func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:10: note: add @available attribute to enclosing instance method
func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:63:41: error: 'Color' is only available in macOS 10.15 or newer
func recapScreenBackground(_ color: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:63:10: note: add @available attribute to enclosing instance method
func recapScreenBackground(_ color: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:63:56: error: 'View' is only available in macOS 10.15 or newer
func recapScreenBackground(_ color: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:63:10: note: add @available attribute to enclosing instance method
func recapScreenBackground(_ color: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:39: error: 'EdgeInsets' is only available in macOS 10.15 or newer
func recapScreenPadding(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:10: note: add @available attribute to enclosing instance method
func recapScreenPadding(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:59: error: 'View' is only available in macOS 10.15 or newer
func recapScreenPadding(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:10: note: add @available attribute to enclosing instance method
func recapScreenPadding(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73:63: error: 'View' is only available in macOS 10.15 or newer
func recapScreenHeaderSpacing(_ spacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73:10: note: add @available attribute to enclosing instance method
func recapScreenHeaderSpacing(_ spacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:78:61: error: 'View' is only available in macOS 10.15 or newer
func recapScreenItemSpacing(_ spacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:78:10: note: add @available attribute to enclosing instance method
func recapScreenItemSpacing(_ spacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:83:85: error: 'View' is only available in macOS 10.15 or newer
func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:83:10: note: add @available attribute to enclosing instance method
func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:97:16: error: extensions must not contain stored properties
@Entry var recapScreenStartIndex = RecapScreenStartIndex.leadingView
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:97:6: error: unknown attribute 'Entry'
@Entry var recapScreenStartIndex = RecapScreenStartIndex.leadingView
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:110:32: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
var recapScreenTitleStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:110:9: note: add @available attribute to enclosing property
var recapScreenTitleStyle: AnyShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:94:10: note: add @available attribute to enclosing extension
internal extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:116:35: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:116:20: note: add @available attribute to enclosing static property
static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:115:20: note: add @available attribute to enclosing struct
private struct TitleStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:116:49: error: 'ForegroundStyle' is only available in macOS 10.15 or newer
static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:116:20: note: add @available attribute to enclosing static property
static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:115:20: note: add @available attribute to enclosing struct
private struct TitleStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:116:65: error: 'foreground' is only available in macOS 10.15 or newer
static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:116:20: note: add @available attribute to enclosing static property
static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:115:20: note: add @available attribute to enclosing struct
private struct TitleStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:128:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
backgroundStyle: AnyShapeStyle(Color.blue),
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:127:20: note: add @available attribute to enclosing static property
static let defaultValue = RecapScreenDismissButtonStyle(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:20: note: add @available attribute to enclosing struct
private struct DismissButtonStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:128:30: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
backgroundStyle: AnyShapeStyle(Color.blue),
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:127:20: note: add @available attribute to enclosing static property
static let defaultValue = RecapScreenDismissButtonStyle(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:20: note: add @available attribute to enclosing struct
private struct DismissButtonStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:128:44: error: 'Color' is only available in macOS 10.15 or newer
backgroundStyle: AnyShapeStyle(Color.blue),
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:127:20: note: add @available attribute to enclosing static property
static let defaultValue = RecapScreenDismissButtonStyle(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:20: note: add @available attribute to enclosing struct
private struct DismissButtonStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:128:50: error: 'blue' is only available in macOS 10.15 or newer
backgroundStyle: AnyShapeStyle(Color.blue),
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:127:20: note: add @available attribute to enclosing static property
static let defaultValue = RecapScreenDismissButtonStyle(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:20: note: add @available attribute to enclosing struct
private struct DismissButtonStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:127:20: note: add @available attribute to enclosing static property
static let defaultValue = RecapScreenDismissButtonStyle(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:20: note: add @available attribute to enclosing struct
private struct DismissButtonStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:30: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:127:20: note: add @available attribute to enclosing static property
static let defaultValue = RecapScreenDismissButtonStyle(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:20: note: add @available attribute to enclosing struct
private struct DismissButtonStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:44: error: 'Color' is only available in macOS 10.15 or newer
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:127:20: note: add @available attribute to enclosing static property
static let defaultValue = RecapScreenDismissButtonStyle(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:20: note: add @available attribute to enclosing struct
private struct DismissButtonStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:50: error: 'white' is only available in macOS 10.15 or newer
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:127:20: note: add @available attribute to enclosing static property
static let defaultValue = RecapScreenDismissButtonStyle(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:20: note: add @available attribute to enclosing struct
private struct DismissButtonStyleKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:135:40: error: 'LocalizedStringResource' is only available in macOS 13 or newer
var recapScreenDismissButtonTitle: LocalizedStringResource {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:135:9: note: add @available attribute to enclosing property
var recapScreenDismissButtonTitle: LocalizedStringResource {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:94:10: note: add @available attribute to enclosing extension
internal extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:141:46: error: 'LocalizedStringResource' is only available in macOS 13 or newer
@MainActor static let defaultValue = LocalizedStringResource(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:141:31: note: add @available attribute to enclosing static property
@MainActor static let defaultValue = LocalizedStringResource(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:140:20: note: add @available attribute to enclosing struct
private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:142:13: error: 'LocalizationValue' is only available in macOS 12 or newer
"RECAP.SCREEN.DISMISS.BUTTON.TITLE",
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:141:31: note: add @available attribute to enclosing static property
@MainActor static let defaultValue = LocalizedStringResource(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:140:20: note: add @available attribute to enclosing struct
private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:160:48: error: 'Color' is only available in macOS 10.15 or newer
var recapScreenSelectedPageIndicatorColor: Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:160:9: note: add @available attribute to enclosing property
var recapScreenSelectedPageIndicatorColor: Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:94:10: note: add @available attribute to enclosing extension
internal extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:166:35: error: 'Color' is only available in macOS 10.15 or newer
static let defaultValue = Color.primary
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:166:20: note: add @available attribute to enclosing static property
static let defaultValue = Color.primary
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:165:20: note: add @available attribute to enclosing struct
private struct SelectedPageIndicatorColorKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:166:41: error: 'primary' is only available in macOS 10.15 or newer
static let defaultValue = Color.primary
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:166:20: note: add @available attribute to enclosing static property
static let defaultValue = Color.primary
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:165:20: note: add @available attribute to enclosing struct
private struct SelectedPageIndicatorColorKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:171:50: error: 'Color' is only available in macOS 10.15 or newer
var recapScreenDeselectedPageIndicatorColor: Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:171:9: note: add @available attribute to enclosing property
var recapScreenDeselectedPageIndicatorColor: Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:94:10: note: add @available attribute to enclosing extension
internal extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:177:35: error: 'Color' is only available in macOS 10.15 or newer
static let defaultValue = Color.gray
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:177:20: note: add @available attribute to enclosing static property
static let defaultValue = Color.gray
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:176:20: note: add @available attribute to enclosing struct
private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:177:41: error: 'gray' is only available in macOS 10.15 or newer
static let defaultValue = Color.gray
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:177:20: note: add @available attribute to enclosing static property
static let defaultValue = Color.gray
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:176:20: note: add @available attribute to enclosing struct
private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:193:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
var recapScreenIconAlignment: VerticalAlignment {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:193:9: note: add @available attribute to enclosing property
var recapScreenIconAlignment: VerticalAlignment {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:94:10: note: add @available attribute to enclosing extension
internal extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:199:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
static let defaultValue = VerticalAlignment.center
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:199:20: note: add @available attribute to enclosing static property
static let defaultValue = VerticalAlignment.center
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:198:20: note: add @available attribute to enclosing struct
private struct IconAlignmentKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:199:53: error: 'center' is only available in macOS 10.15 or newer
static let defaultValue = VerticalAlignment.center
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:199:20: note: add @available attribute to enclosing static property
static let defaultValue = VerticalAlignment.center
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:198:20: note: add @available attribute to enclosing struct
private struct IconAlignmentKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:204:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
var recapScreenPadding: EdgeInsets {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:204:9: note: add @available attribute to enclosing property
var recapScreenPadding: EdgeInsets {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:94:10: note: add @available attribute to enclosing extension
internal extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:210:35: error: 'EdgeInsets' is only available in macOS 10.15 or newer
static let defaultValue = EdgeInsets(top: 48.0, leading: 32.0, bottom: 24.0, trailing: 32.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:210:20: note: add @available attribute to enclosing static property
static let defaultValue = EdgeInsets(top: 48.0, leading: 32.0, bottom: 24.0, trailing: 32.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:209:20: note: add @available attribute to enclosing struct
private struct PaddingKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:94:20: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
internal extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:94:10: note: add @available attribute to enclosing extension
internal extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:8:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenStartIndex, startIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:8:14: note: add 'if #available' version check
self.environment(\.recapScreenStartIndex, startIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:7:10: note: add @available attribute to enclosing instance method
func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:14: note: add 'if #available' version check
self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:10: note: add @available attribute to enclosing instance method
func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:51: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:51: note: add 'if #available' version check
self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:10: note: add @available attribute to enclosing instance method
func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:18:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:18:14: note: add 'if #available' version check
self.environment(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:20:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
backgroundStyle: AnyShapeStyle(style),
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:20:34: note: add 'if #available' version check
backgroundStyle: AnyShapeStyle(style),
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: note: add 'if #available' version check
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: note: add 'if #available' version check
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:48: error: 'Color' is only available in macOS 10.15 or newer
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:48: note: add 'if #available' version check
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:54: error: 'white' is only available in macOS 10.15 or newer
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:54: note: add 'if #available' version check
foregroundStyle: AnyShapeStyle(Color.white)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:28:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:28:14: note: add 'if #available' version check
self.environment(
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:30:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
backgroundStyle: AnyShapeStyle(backgroundStyle),
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:30:34: note: add 'if #available' version check
backgroundStyle: AnyShapeStyle(backgroundStyle),
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:31:34: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
foregroundStyle: AnyShapeStyle(foregroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:31:34: note: add 'if #available' version check
foregroundStyle: AnyShapeStyle(foregroundStyle)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:38:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenDismissButtonTitle, title)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:38:14: note: add 'if #available' version check
self.environment(\.recapScreenDismissButtonTitle, title)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:10: note: add @available attribute to enclosing instance method
func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:43:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenIconFillMode, style)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:43:14: note: add 'if #available' version check
self.environment(\.recapScreenIconFillMode, style)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:42:10: note: add @available attribute to enclosing instance method
func recapScreenIconFillMode(_ style: IconFillMode) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:48:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenIconAlignment, alignment)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:48:14: note: add 'if #available' version check
self.environment(\.recapScreenIconAlignment, alignment)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:47:10: note: add @available attribute to enclosing instance method
func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:53:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:53:14: note: add 'if #available' version check
self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:10: note: add @available attribute to enclosing instance method
func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:54:14: error: 'environment' is only available in macOS 10.15 or newer
.environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:54:14: note: add 'if #available' version check
.environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:10: note: add @available attribute to enclosing instance method
func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:59:26: error: key path value type 'KeyPath<EnvironmentValues, AnyShapeStyle?>' cannot be converted to contextual type 'WritableKeyPath<EnvironmentValues, AnyShapeStyle?>'
self.environment(\.backgroundStyle, style)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:64:26: error: key path value type 'KeyPath<EnvironmentValues, AnyShapeStyle?>' cannot be converted to contextual type 'WritableKeyPath<EnvironmentValues, AnyShapeStyle?>'
self.environment(\.backgroundStyle, AnyShapeStyle(color))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:69:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenPadding, insets)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:69:14: note: add 'if #available' version check
self.environment(\.recapScreenPadding, insets)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:10: note: add @available attribute to enclosing instance method
func recapScreenPadding(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenHeaderSpacing, spacing)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:14: note: add 'if #available' version check
self.environment(\.recapScreenHeaderSpacing, spacing)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73:10: note: add @available attribute to enclosing instance method
func recapScreenHeaderSpacing(_ spacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:79:14: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenItemSpacing, spacing)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:79:14: note: add 'if #available' version check
self.environment(\.recapScreenItemSpacing, spacing)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:78:10: note: add @available attribute to enclosing instance method
func recapScreenItemSpacing(_ spacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:85:18: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:85:18: note: add 'if #available' version check
self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:83:10: note: add @available attribute to enclosing instance method
func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:87:18: error: 'environment' is only available in macOS 10.15 or newer
self.environment(\.recapScreenDismissAction, nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:87:18: note: add 'if #available' version check
self.environment(\.recapScreenDismissAction, nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:83:10: note: add @available attribute to enclosing instance method
func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:8: note: add @available attribute to enclosing extension
public extension View {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm