Build Information
Failed to build CustomizableSegmentedControl, reference 1.2.1 (b3ee37
), with Swift 5.9 for macOS (SPM) on 21 Apr 2025 12:45:30 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Inxel/CustomizableSegmentedControl.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Inxel/CustomizableSegmentedControl
* tag 1.2.1 -> FETCH_HEAD
HEAD is now at b3ee377 Remove ds store
Cloned https://github.com/Inxel/CustomizableSegmentedControl.git
Revision (git rev-parse @):
b3ee377a0a2026c562159f09f7416d7abd449366
SUCCESS checkout https://github.com/Inxel/CustomizableSegmentedControl.git at 1.2.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/Inxel/CustomizableSegmentedControl.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/4] Compiling CustomizableSegmentedControl CustomizableSegmentedControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:9:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.segmentedControlInsets) var segmentedControlInsets
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:10:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.segmentedControlInterSegmentSpacing) var interSegmentSpacing
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.segmentedControlSlidingAnimation) var slidingAnimation
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.segmentedControlContentStyle) var contentStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var selection: Option
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var optionIsPressed: [Option.ID: Bool] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:25:6: error: 'Namespace' is only available in macOS 11.0 or newer
@Namespace private var namespaceID
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:41:20: error: 'Binding' is only available in macOS 10.15 or newer
selection: Binding<Option>,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:40:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:44:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder segmentContent: @escaping (_ option: Option, _ isSelected: Bool, _ isPressed: Bool) -> SegmentContent
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:40:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:63: error: 'Identifiable' is only available in macOS 10.15 or newer
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:92: error: 'View' is only available in macOS 10.15 or newer
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:114: error: 'View' is only available in macOS 10.15 or newer
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:90:24: error: 'Animation' is only available in macOS 10.15 or newer
let animation: Animation
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:91:31: error: 'BlendMode' is only available in macOS 10.15 or newer
let contentBlendMode: BlendMode?
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:92:41: error: 'BlendMode' is only available in macOS 10.15 or newer
let firstLevelOverlayBlendMode: BlendMode?
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:93:43: error: 'BlendMode' is only available in macOS 10.15 or newer
let highestLevelOverlayBlendMode: BlendMode?
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:94:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isPressed: Bool?
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:96:26: error: 'Namespace' is only available in macOS 11.0 or newer
let namespaceID: Namespace.ID
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:54: error: 'View' is only available in macOS 10.15 or newer
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:69: error: 'View' is only available in macOS 10.15 or newer
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:155:20: error: 'Binding' is only available in macOS 10.15 or newer
selection: Binding<Option>,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:154:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:142:1: note: add @available attribute to enclosing extension
extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:158:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder segmentContent: @escaping (_ option: Option, _ isSelected: Bool, _ isPressed: Bool) -> SegmentContent
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:154:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:142:1: note: add @available attribute to enclosing extension
extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:176:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isPressed: Bool?
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:174:20: note: add @available attribute to enclosing struct
private struct SegmentButtonStyle: ButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:174:20: note: add @available attribute to enclosing struct
private struct SegmentButtonStyle: ButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:178:61: error: 'View' is only available in macOS 10.15 or newer
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:178:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:174:20: note: add @available attribute to enclosing struct
private struct SegmentButtonStyle: ButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:194:27: error: 'BlendMode' is only available in macOS 10.15 or newer
var contentBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:194:9: note: add @available attribute to enclosing property
var contentBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:192:9: note: add @available attribute to enclosing extension
private extension CustomizableSegmentedControlContentStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:203:37: error: 'BlendMode' is only available in macOS 10.15 or newer
var firstLevelOverlayBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:203:9: note: add @available attribute to enclosing property
var firstLevelOverlayBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:192:9: note: add @available attribute to enclosing extension
private extension CustomizableSegmentedControlContentStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:212:39: error: 'BlendMode' is only available in macOS 10.15 or newer
var highestLevelOverlayBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:212:9: note: add @available attribute to enclosing property
var highestLevelOverlayBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:192:9: note: add @available attribute to enclosing extension
private extension CustomizableSegmentedControlContentStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:36: error: 'BlendMode' is only available in macOS 10.15 or newer
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:10: note: add @available attribute to enclosing instance method
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:56: error: 'View' is only available in macOS 10.15 or newer
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:10: note: add @available attribute to enclosing instance method
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:243:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:10: note: add @available attribute to enclosing instance method
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:24: error: 'View' is only available in macOS 10.15 or newer
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:254:20: error: 'Alignment' is only available in macOS 10.15 or newer
alignment: Alignment = .center,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:255:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder _ content: () -> T
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:256:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:252:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:254:33: error: 'center' is only available in macOS 10.15 or newer
alignment: Alignment = .center,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:21: error: 'View' is only available in macOS 10.15 or newer
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:266:20: error: 'Alignment' is only available in macOS 10.15 or newer
alignment: Alignment = .center,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:267:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder _ content: () -> T
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:268:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:264:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:266:33: error: 'center' is only available in macOS 10.15 or newer
alignment: Alignment = .center,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:19: error: 'View' is only available in macOS 10.15 or newer
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:55:9: error: 'HStack' is only available in macOS 10.15 or newer
HStack(spacing: interSegmentSpacing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:55:9: note: add 'if #available' version check
HStack(spacing: interSegmentSpacing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:55:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
HStack(spacing: interSegmentSpacing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:55:9: note: add 'if #available' version check
HStack(spacing: interSegmentSpacing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:56:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:56:13: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:56:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:58:80: error: cannot pass as inout because setter for 'optionIsPressed' is only available in macOS 10.15 or newer
content: segmentContent(option, option.id == selection.id, optionIsPressed[option.id, default: false]),
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:69:31: error: setter for 'selection' is only available in macOS 10.15 or newer
action: { selection = option }
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:71:18: error: 'zIndex' is only available in macOS 10.15 or newer
.zIndex(selection == option ? 0 : 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:55:46: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
HStack(spacing: interSegmentSpacing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:74:10: error: 'padding' is only available in macOS 10.15 or newer
.padding(segmentedControlInsets)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:74:10: note: add 'if #available' version check
.padding(segmentedControlInsets)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:133:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
.accessibilityValue(accessibiltyValue)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:133:14: note: add 'if #available' version check
.accessibilityValue(accessibiltyValue)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:103:13: error: 'Button' is only available in macOS 10.15 or newer
Button(action: action) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:103:13: note: add 'if #available' version check
Button(action: action) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:106:22: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
.overlay {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:110:34: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
.accessibilityHidden(true)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:109:34: error: 'blendMode' is only available in macOS 10.15 or newer
.blendMode(firstLevelOverlayBlendMode)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:110:34: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
.accessibilityHidden(true)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:107:59: error: 'buildIf' is only available in macOS 10.15 or newer
if let firstLevelOverlayBlendMode {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:107:59: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
if let firstLevelOverlayBlendMode {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:111:25: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:106:30: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
.overlay {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:113:22: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
.overlay {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:117:34: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
.accessibilityHidden(true)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:116:34: error: 'blendMode' is only available in macOS 10.15 or newer
.blendMode(highestLevelOverlayBlendMode)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:117:34: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
.accessibilityHidden(true)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:114:61: error: 'buildIf' is only available in macOS 10.15 or newer
if let highestLevelOverlayBlendMode {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:114:61: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
if let highestLevelOverlayBlendMode {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:118:25: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:113:30: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
.overlay {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:120:22: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
.background {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:123:34: error: 'transition' is only available in macOS 14.0 or newer
.transition(.offset())
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:123:46: error: 'offset(x:y:)' is only available in macOS 14.0 or newer
.transition(.offset())
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:124:34: error: 'matchedGeometryEffect(id:in:properties:anchor:isSource:)' is only available in macOS 11.0 or newer
.matchedGeometryEffect(id: backgroundID, in: namespaceID)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:121:39: error: 'buildIf' is only available in macOS 10.15 or newer
if isSelected {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:125:25: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:120:33: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
.background {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:127:22: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
.animation(animation, value: isSelected)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:129:14: error: 'buttonStyle' is only available in macOS 10.15 or newer
.buttonStyle(SegmentButtonStyle(isPressed: $isPressed))
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:130:14: error: 'accessibilityElement(children:)' is only available in macOS 10.15 or newer
.accessibilityElement(children: .combine)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:130:46: error: 'combine' is only available in macOS 10.15 or newer
.accessibilityElement(children: .combine)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:131:14: error: 'accessibilityAddTraits' is only available in macOS 11.0 or newer
.accessibilityAddTraits(isSelected ? .isSelected : [])
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:132:14: error: 'accessibilityRemoveTraits' is only available in macOS 11.0 or newer
.accessibilityRemoveTraits(isSelected ? [] : .isSelected)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:133:14: error: 'accessibilityValue' is only available in macOS 11.0 or newer
.accessibilityValue(accessibiltyValue)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:133:14: note: add 'if #available' version check
.accessibilityValue(accessibiltyValue)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:29: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:29: note: add 'if #available' version check
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:180:18: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
.contentShape(Rectangle())
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:178:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:174:20: note: add @available attribute to enclosing struct
private struct SegmentButtonStyle: ButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:180:31: error: 'Rectangle' is only available in macOS 10.15 or newer
.contentShape(Rectangle())
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:178:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:174:20: note: add @available attribute to enclosing struct
private struct SegmentButtonStyle: ButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:181:18: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: configuration.isPressed) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:181:18: note: add 'if #available' version check
.onChange(of: configuration.isPressed) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:178:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:174:20: note: add @available attribute to enclosing struct
private struct SegmentButtonStyle: ButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:182:21: error: setter for 'isPressed' is only available in macOS 10.15 or newer
isPressed = newValue
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:182:21: note: add 'if #available' version check
isPressed = newValue
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:178:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:174:20: note: add @available attribute to enclosing struct
private struct SegmentButtonStyle: ButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:246:13: error: 'blendMode' is only available in macOS 10.15 or newer
blendMode(mode)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:246:13: note: add 'if #available' version check
blendMode(mode)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:10: note: add @available attribute to enclosing instance method
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:245:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if let mode {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:245:21: note: add 'if #available' version check
if let mode {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:10: note: add @available attribute to enclosing instance method
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:247:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:247:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:10: note: add @available attribute to enclosing instance method
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:61: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:61: note: add 'if #available' version check
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:10: note: add @available attribute to enclosing instance method
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:257:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
if #available(iOS 15.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:258:13: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
background(alignment: alignment, content: content)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:258:13: note: add 'if #available' version check
background(alignment: alignment, content: content)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:257:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 15.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:257:36: note: add 'if #available' version check
if #available(iOS 15.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:257:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 15.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:257:36: note: add 'if #available' version check
if #available(iOS 15.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:259:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:259:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:256:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:256:20: note: add 'if #available' version check
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:269:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
if #available(iOS 15.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:270:13: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
overlay(alignment: alignment, content: content)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:270:13: note: add 'if #available' version check
overlay(alignment: alignment, content: content)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:269:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 15.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:269:36: note: add 'if #available' version check
if #available(iOS 15.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:269:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 15.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:269:36: note: add 'if #available' version check
if #available(iOS 15.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:271:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:271:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:268:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:268:20: note: add 'if #available' version check
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
[2/4] Compiling CustomizableSegmentedControl CustomizableSegmentedControlContentStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:20:27: error: 'BlendMode' is only available in macOS 10.15 or newer
contentBlendMode: BlendMode = .difference,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:11:13: note: add @available attribute to enclosing enum
public enum CustomizableSegmentedControlContentStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:21:37: error: 'BlendMode' is only available in macOS 10.15 or newer
firstLevelOverlayBlendMode: BlendMode = .hue,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:11:13: note: add @available attribute to enclosing enum
public enum CustomizableSegmentedControlContentStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:22:39: error: 'BlendMode' is only available in macOS 10.15 or newer
highestLevelOverlayBlendMode: BlendMode = .overlay
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:11:13: note: add @available attribute to enclosing enum
public enum CustomizableSegmentedControlContentStyle {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module CustomizableSegmentedControl
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:11:30: error: 'EdgeInsets' is only available in macOS 10.15 or newer
static var defaultValue: EdgeInsets = .init(top: 0, leading: 0, bottom: 0, trailing: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:11:16: note: add @available attribute to enclosing static property
static var defaultValue: EdgeInsets = .init(top: 0, leading: 0, bottom: 0, trailing: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:10:16: note: add @available attribute to enclosing struct
private struct SegmentedControlInsetsKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:30: error: 'Animation' is only available in macOS 10.15 or newer
static var defaultValue: Animation = .default
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:16: note: add @available attribute to enclosing static property
static var defaultValue: Animation = .default
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:22:16: note: add @available attribute to enclosing struct
private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:43: error: 'default' is only available in macOS 10.15 or newer
static var defaultValue: Animation = .default
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:16: note: add @available attribute to enclosing static property
static var defaultValue: Animation = .default
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:22:16: note: add @available attribute to enclosing struct
private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:28:33: error: 'EdgeInsets' is only available in macOS 10.15 or newer
var segmentedControlInsets: EdgeInsets {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:28:9: note: add @available attribute to enclosing property
var segmentedControlInsets: EdgeInsets {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:43:43: error: 'Animation' is only available in macOS 10.15 or newer
var segmentedControlSlidingAnimation: Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:43:9: note: add @available attribute to enclosing property
var segmentedControlSlidingAnimation: Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:27: error: 'EdgeInsets' is only available in macOS 10.15 or newer
func insets(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:10: note: add @available attribute to enclosing instance method
func insets(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:47: error: 'View' is only available in macOS 10.15 or newer
func insets(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:10: note: add @available attribute to enclosing instance method
func insets(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:56:121: error: 'View' is only available in macOS 10.15 or newer
func insets(top: CGFloat? = nil, leading: CGFloat? = nil, bottom: CGFloat? = nil, trailing: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:56:10: note: add @available attribute to enclosing instance method
func insets(top: CGFloat? = nil, leading: CGFloat? = nil, bottom: CGFloat? = nil, trailing: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:26: error: 'Edge' is only available in macOS 10.15 or newer
func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:10: note: add @available attribute to enclosing instance method
func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:77: error: 'View' is only available in macOS 10.15 or newer
func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:10: note: add @available attribute to enclosing instance method
func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:96:65: error: 'View' is only available in macOS 10.15 or newer
func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:96:10: note: add @available attribute to enclosing instance method
func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:100:98: error: 'View' is only available in macOS 10.15 or newer
func segmentedControlContentStyle(_ style: CustomizableSegmentedControlContentStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:100:10: note: add @available attribute to enclosing instance method
func segmentedControlContentStyle(_ style: CustomizableSegmentedControlContentStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:56: error: 'Animation' is only available in macOS 10.15 or newer
func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:10: note: add @available attribute to enclosing instance method
func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:75: error: 'View' is only available in macOS 10.15 or newer
func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:10: note: add @available attribute to enclosing instance method
func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:9:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.segmentedControlInsets) var segmentedControlInsets
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:10:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.segmentedControlInterSegmentSpacing) var interSegmentSpacing
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.segmentedControlSlidingAnimation) var slidingAnimation
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.segmentedControlContentStyle) var contentStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var selection: Option
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var optionIsPressed: [Option.ID: Bool] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:25:6: error: 'Namespace' is only available in macOS 11.0 or newer
@Namespace private var namespaceID
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:41:20: error: 'Binding' is only available in macOS 10.15 or newer
selection: Binding<Option>,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:40:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:44:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder segmentContent: @escaping (_ option: Option, _ isSelected: Bool, _ isPressed: Bool) -> SegmentContent
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:40:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:63: error: 'Identifiable' is only available in macOS 10.15 or newer
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:92: error: 'View' is only available in macOS 10.15 or newer
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:114: error: 'View' is only available in macOS 10.15 or newer
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:15: note: add @available attribute to enclosing generic struct
public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:90:24: error: 'Animation' is only available in macOS 10.15 or newer
let animation: Animation
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:91:31: error: 'BlendMode' is only available in macOS 10.15 or newer
let contentBlendMode: BlendMode?
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:92:41: error: 'BlendMode' is only available in macOS 10.15 or newer
let firstLevelOverlayBlendMode: BlendMode?
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:93:43: error: 'BlendMode' is only available in macOS 10.15 or newer
let highestLevelOverlayBlendMode: BlendMode?
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:94:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isPressed: Bool?
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:96:26: error: 'Namespace' is only available in macOS 11.0 or newer
let namespaceID: Namespace.ID
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:54: error: 'View' is only available in macOS 10.15 or newer
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:69: error: 'View' is only available in macOS 10.15 or newer
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:24: note: add @available attribute to enclosing generic struct
fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:155:20: error: 'Binding' is only available in macOS 10.15 or newer
selection: Binding<Option>,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:154:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:142:1: note: add @available attribute to enclosing extension
extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:158:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder segmentContent: @escaping (_ option: Option, _ isSelected: Bool, _ isPressed: Bool) -> SegmentContent
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:154:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:142:1: note: add @available attribute to enclosing extension
extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:176:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isPressed: Bool?
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:174:20: note: add @available attribute to enclosing struct
private struct SegmentButtonStyle: ButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:174:20: note: add @available attribute to enclosing struct
private struct SegmentButtonStyle: ButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:178:61: error: 'View' is only available in macOS 10.15 or newer
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:178:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:174:20: note: add @available attribute to enclosing struct
private struct SegmentButtonStyle: ButtonStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:194:27: error: 'BlendMode' is only available in macOS 10.15 or newer
var contentBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:194:9: note: add @available attribute to enclosing property
var contentBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:192:9: note: add @available attribute to enclosing extension
private extension CustomizableSegmentedControlContentStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:203:37: error: 'BlendMode' is only available in macOS 10.15 or newer
var firstLevelOverlayBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:203:9: note: add @available attribute to enclosing property
var firstLevelOverlayBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:192:9: note: add @available attribute to enclosing extension
private extension CustomizableSegmentedControlContentStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:212:39: error: 'BlendMode' is only available in macOS 10.15 or newer
var highestLevelOverlayBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:212:9: note: add @available attribute to enclosing property
var highestLevelOverlayBlendMode: BlendMode? {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:192:9: note: add @available attribute to enclosing extension
private extension CustomizableSegmentedControlContentStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:36: error: 'BlendMode' is only available in macOS 10.15 or newer
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:10: note: add @available attribute to enclosing instance method
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:56: error: 'View' is only available in macOS 10.15 or newer
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:10: note: add @available attribute to enclosing instance method
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:243:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:10: note: add @available attribute to enclosing instance method
func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:24: error: 'View' is only available in macOS 10.15 or newer
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:254:20: error: 'Alignment' is only available in macOS 10.15 or newer
alignment: Alignment = .center,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:255:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder _ content: () -> T
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:256:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:252:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:254:33: error: 'center' is only available in macOS 10.15 or newer
alignment: Alignment = .center,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:10: note: add @available attribute to enclosing instance method
func background<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:21: error: 'View' is only available in macOS 10.15 or newer
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:266:20: error: 'Alignment' is only available in macOS 10.15 or newer
alignment: Alignment = .center,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:267:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder _ content: () -> T
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:268:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:264:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:266:33: error: 'center' is only available in macOS 10.15 or newer
alignment: Alignment = .center,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:10: note: add @available attribute to enclosing instance method
func overlay<T: View>(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:19: error: 'View' is only available in macOS 10.15 or newer
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:9: note: add @available attribute to enclosing extension
private extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:20:27: error: 'BlendMode' is only available in macOS 10.15 or newer
contentBlendMode: BlendMode = .difference,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:11:13: note: add @available attribute to enclosing enum
public enum CustomizableSegmentedControlContentStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:21:37: error: 'BlendMode' is only available in macOS 10.15 or newer
firstLevelOverlayBlendMode: BlendMode = .hue,
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:11:13: note: add @available attribute to enclosing enum
public enum CustomizableSegmentedControlContentStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:22:39: error: 'BlendMode' is only available in macOS 10.15 or newer
highestLevelOverlayBlendMode: BlendMode = .overlay
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:11:13: note: add @available attribute to enclosing enum
public enum CustomizableSegmentedControlContentStyle {
^
[4/4] Compiling CustomizableSegmentedControl CustomizableSegmentedControl+EnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:11:30: error: 'EdgeInsets' is only available in macOS 10.15 or newer
static var defaultValue: EdgeInsets = .init(top: 0, leading: 0, bottom: 0, trailing: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:11:16: note: add @available attribute to enclosing static property
static var defaultValue: EdgeInsets = .init(top: 0, leading: 0, bottom: 0, trailing: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:10:16: note: add @available attribute to enclosing struct
private struct SegmentedControlInsetsKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:30: error: 'Animation' is only available in macOS 10.15 or newer
static var defaultValue: Animation = .default
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:16: note: add @available attribute to enclosing static property
static var defaultValue: Animation = .default
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:22:16: note: add @available attribute to enclosing struct
private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:43: error: 'default' is only available in macOS 10.15 or newer
static var defaultValue: Animation = .default
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:16: note: add @available attribute to enclosing static property
static var defaultValue: Animation = .default
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:22:16: note: add @available attribute to enclosing struct
private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:28:33: error: 'EdgeInsets' is only available in macOS 10.15 or newer
var segmentedControlInsets: EdgeInsets {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:28:9: note: add @available attribute to enclosing property
var segmentedControlInsets: EdgeInsets {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:43:43: error: 'Animation' is only available in macOS 10.15 or newer
var segmentedControlSlidingAnimation: Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:43:9: note: add @available attribute to enclosing property
var segmentedControlSlidingAnimation: Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:27: error: 'EdgeInsets' is only available in macOS 10.15 or newer
func insets(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:10: note: add @available attribute to enclosing instance method
func insets(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:47: error: 'View' is only available in macOS 10.15 or newer
func insets(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:10: note: add @available attribute to enclosing instance method
func insets(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:56:121: error: 'View' is only available in macOS 10.15 or newer
func insets(top: CGFloat? = nil, leading: CGFloat? = nil, bottom: CGFloat? = nil, trailing: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:56:10: note: add @available attribute to enclosing instance method
func insets(top: CGFloat? = nil, leading: CGFloat? = nil, bottom: CGFloat? = nil, trailing: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:26: error: 'Edge' is only available in macOS 10.15 or newer
func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:10: note: add @available attribute to enclosing instance method
func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:77: error: 'View' is only available in macOS 10.15 or newer
func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:10: note: add @available attribute to enclosing instance method
func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:96:65: error: 'View' is only available in macOS 10.15 or newer
func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:96:10: note: add @available attribute to enclosing instance method
func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:100:98: error: 'View' is only available in macOS 10.15 or newer
func segmentedControlContentStyle(_ style: CustomizableSegmentedControlContentStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:100:10: note: add @available attribute to enclosing instance method
func segmentedControlContentStyle(_ style: CustomizableSegmentedControlContentStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:56: error: 'Animation' is only available in macOS 10.15 or newer
func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:10: note: add @available attribute to enclosing instance method
func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:75: error: 'View' is only available in macOS 10.15 or newer
func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:10: note: add @available attribute to enclosing instance method
func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:53:9: error: 'environment' is only available in macOS 10.15 or newer
environment(\.segmentedControlInsets, insets)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:53:9: note: add 'if #available' version check
environment(\.segmentedControlInsets, insets)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:10: note: add @available attribute to enclosing instance method
func insets(_ insets: EdgeInsets) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:57:9: error: 'environment' is only available in macOS 10.15 or newer
environment(\.segmentedControlInsets, .init(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:57:9: note: add 'if #available' version check
environment(\.segmentedControlInsets, .init(
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:56:10: note: add @available attribute to enclosing instance method
func insets(top: CGFloat? = nil, leading: CGFloat? = nil, bottom: CGFloat? = nil, trailing: CGFloat? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:50:8: note: add @available attribute to enclosing extension
public extension CustomizableSegmentedControl {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:97:9: error: 'environment' is only available in macOS 10.15 or newer
environment(\.segmentedControlInterSegmentSpacing, interSegmentSpacing)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:97:9: note: add 'if #available' version check
environment(\.segmentedControlInterSegmentSpacing, interSegmentSpacing)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:96:10: note: add @available attribute to enclosing instance method
func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:101:9: error: 'environment' is only available in macOS 10.15 or newer
environment(\.segmentedControlContentStyle, style)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:101:9: note: add 'if #available' version check
environment(\.segmentedControlContentStyle, style)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:100:10: note: add @available attribute to enclosing instance method
func segmentedControlContentStyle(_ style: CustomizableSegmentedControlContentStyle) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:105:9: error: 'environment' is only available in macOS 10.15 or newer
environment(\.segmentedControlSlidingAnimation, animation)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:105:9: note: add 'if #available' version check
environment(\.segmentedControlSlidingAnimation, animation)
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:10: note: add @available attribute to enclosing instance method
func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:8: note: add @available attribute to enclosing extension
public extension View {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm