Build Information
Failed to build adaptive-modal with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:16:18: error: cannot find type 'UIRectCorner' in scope
corners: UIRectCorner
^~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:27:32: error: reference to member 'topLeft' cannot be resolved without a contextual type
corners: [.topLeft, .topRight]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:27:42: error: reference to member 'topRight' cannot be resolved without a contextual type
corners: [.topLeft, .topRight]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:55:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(UpperRoundedRectangleViewModifier(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:55:9: note: add 'if #available' version check
modifier(UpperRoundedRectangleViewModifier(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
[15/18] Compiling AdaptiveModal UpperRoundedRectangleViewModifier.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:10:8: note: add @available attribute to enclosing generic struct
struct ModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:10:32: error: 'View' is only available in macOS 10.15 or newer
struct ModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:10:8: note: add @available attribute to enclosing generic struct
struct ModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:37:52: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:37:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:37:52: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:38:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:24:14: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ModalRepresentable<Body>' conform to 'ShapeStyle'
.background(
^
SwiftUI.View:7:28: note: where 'S' = 'ModalRepresentable<Body>'
@inlinable public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:39:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(ModalViewModifier(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:39:9: note: add 'if #available' version check
modifier(ModalViewModifier(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:11:41: error: 'Color' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:18:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var offset: CGSize
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:41:17: error: 'Binding' is only available in macOS 10.15 or newer
offset: Binding<CGSize>,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:40:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:52:17: error: 'Binding' is only available in macOS 10.15 or newer
offset: Binding<CGSize> = .constant(.zero),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:54:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:16:18: error: cannot find type 'UIRectCorner' in scope
corners: UIRectCorner
^~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:27:32: error: reference to member 'topLeft' cannot be resolved without a contextual type
corners: [.topLeft, .topRight]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:27:42: error: reference to member 'topRight' cannot be resolved without a contextual type
corners: [.topLeft, .topRight]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:55:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(UpperRoundedRectangleViewModifier(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:55:9: note: add 'if #available' version check
modifier(UpperRoundedRectangleViewModifier(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/18] Emitting module AdaptiveModal
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:19:52: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:17:22: error: 'Binding' is only available in macOS 10.15 or newer
isPresented: Binding<Bool>,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:19:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:19:52: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:20:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:30: error: 'Identifiable' is only available in macOS 10.15 or newer
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:40:56: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Item) -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:38:15: error: 'Binding' is only available in macOS 10.15 or newer
item: Binding<Item?>,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:40:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Item) -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:40:56: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Item) -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:41:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:58:77: error: 'View' is only available in macOS 10.15 or newer
func modalInteractiveDismissDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:58:10: note: add @available attribute to enclosing instance method
func modalInteractiveDismissDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:65:68: error: 'View' is only available in macOS 10.15 or newer
func modalDraggableDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:65:10: note: add @available attribute to enclosing instance method
func modalDraggableDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:40: error: 'Color' is only available in macOS 10.15 or newer
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:10: note: add @available attribute to enclosing instance method
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:56: error: 'View' is only available in macOS 10.15 or newer
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:10: note: add @available attribute to enclosing instance method
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:15:20: error: 'presentationMode' is only available in macOS 10.15 or newer
@Environment(\.presentationMode) @Binding var presentationMode
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:15:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.presentationMode) @Binding var presentationMode
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:15:39: error: 'Binding' is only available in macOS 10.15 or newer
@Environment(\.presentationMode) @Binding var presentationMode
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
@State var cancelable = ModalInteractiveDismissDisabled.defaultValue
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
@State var draggable = ModalDraggableDisabled.defaultValue
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
@State var opacity = 0.0
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
@State var translation: CGSize = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
@State var contentHeight: Double = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
@State var safeAreaInsetBottom: Double = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:28:26: error: 'AnyView' is only available in macOS 10.15 or newer
private let content: AnyView
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:61:39: error: 'View' is only available in macOS 10.15 or newer
content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:61:39: error: 'View' is only available in macOS 10.15 or newer
content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:32: error: 'View' is only available in macOS 10.15 or newer
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:30: error: 'View' is only available in macOS 10.15 or newer
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:95:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:118:33: error: 'View' is only available in macOS 10.15 or newer
func modalContent() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:118:10: note: add @available attribute to enclosing instance method
func modalContent() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalHostingController.swift:11:14: error: initializer does not override a designated initializer from its superclass
override init(rootView: Content) {
~~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalHostingController.swift:10:46: error: cannot find type 'UIHostingController' in scope
class ModalHostingController<Content: View>: UIHostingController<Content> {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalHostingController.swift:10:39: error: 'View' is only available in macOS 10.15 or newer
class ModalHostingController<Content: View>: UIHostingController<Content> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalHostingController.swift:10:7: note: add @available attribute to enclosing generic class
class ModalHostingController<Content: View>: UIHostingController<Content> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:11:29: error: cannot find type 'UIView' in scope
private let dimmedView: UIView = {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:18:19: error: method does not override any method from its superclass
override func presentationTransitionWillBegin() {
~~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:36:19: error: method does not override any method from its superclass
override func dismissalTransitionWillBegin() {
~~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:42:19: error: method does not override any method from its superclass
override func dismissalTransitionDidEnd(_ completed: Bool) {
~~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:10:36: error: cannot find type 'UIPresentationController' in scope
class ModalPresentationController: UIPresentationController {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:10:28: error: cannot find type 'UIViewController' in scope
class ModalViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:15:32: error: cannot find type 'UIViewControllerTransitioningDelegate' in scope
extension ModalViewController: UIViewControllerTransitioningDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:20:10: error: cannot find type 'UIPresentationController' in scope
) -> UIPresentationController? {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:17:33: error: cannot find type 'UIViewController' in scope
forPresented presented: UIViewController,
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:18:21: error: cannot find type 'UIViewController' in scope
presenting: UIViewController?,
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:19:17: error: cannot find type 'UIViewController' in scope
source: UIViewController
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/EnvironmentKey/ModalPresentedKey.swift:11:30: error: 'Binding' is only available in macOS 10.15 or newer
static let defaultValue: Binding<Bool> = .constant(false)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/EnvironmentKey/ModalPresentedKey.swift:11:16: note: add @available attribute to enclosing static property
static let defaultValue: Binding<Bool> = .constant(false)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/EnvironmentKey/ModalPresentedKey.swift:10:8: note: add @available attribute to enclosing struct
struct ModalPresentedKey: EnvironmentKey {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/EnvironmentKey/ModalPresentedKey.swift:15:27: error: 'Binding' is only available in macOS 10.15 or newer
var isModalPresented: Binding<Bool> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/EnvironmentKey/ModalPresentedKey.swift:15:9: note: add @available attribute to enclosing property
var isModalPresented: Binding<Bool> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/EnvironmentKey/ModalPresentedKey.swift:14:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/EnvironmentKey/ModalPresentedKey.swift:14:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/EnvironmentKey/ModalPresentedKey.swift:14:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Extension/Binding.swift:11:34: error: 'Binding' is only available in macOS 10.15 or newer
func isPresent<Wrapped>() -> Binding<Bool> where Value == Wrapped? {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Extension/Binding.swift:11:10: note: add @available attribute to enclosing instance method
func isPresent<Wrapped>() -> Binding<Bool> where Value == Wrapped? {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Extension/Binding.swift:10:1: note: add @available attribute to enclosing extension
extension Binding {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Extension/Binding.swift:10:11: error: 'Binding' is only available in macOS 10.15 or newer
extension Binding {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Extension/Binding.swift:10:1: note: add @available attribute to enclosing extension
extension Binding {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/PreferenceKey/ModalBackgroundColor.swift:11:23: error: 'Color' is only available in macOS 10.15 or newer
typealias Value = Color?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/PreferenceKey/ModalBackgroundColor.swift:11:15: note: add @available attribute to enclosing type alias
typealias Value = Color?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/PreferenceKey/ModalBackgroundColor.swift:10:8: note: add @available attribute to enclosing struct
struct ModalBackgroundColor: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/PreferenceKey/ModalBackgroundColor.swift:13:44: error: cannot find 'UIColor' in scope
static let defaultValue: Value = Color(UIColor.secondarySystemBackground)
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Representable/ModalRepresentable.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.isModalPresented) @Binding var isPresented
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Representable/ModalRepresentable.swift:10:8: note: add @available attribute to enclosing generic struct
struct ModalRepresentable<Content: View> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Representable/ModalRepresentable.swift:11:39: error: 'Binding' is only available in macOS 10.15 or newer
@Environment(\.isModalPresented) @Binding var isPresented
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Representable/ModalRepresentable.swift:10:8: note: add @available attribute to enclosing generic struct
struct ModalRepresentable<Content: View> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Representable/ModalRepresentable.swift:10:36: error: 'View' is only available in macOS 10.15 or newer
struct ModalRepresentable<Content: View> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Representable/ModalRepresentable.swift:10:8: note: add @available attribute to enclosing generic struct
struct ModalRepresentable<Content: View> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Representable/ModalRepresentable.swift:26:31: error: cannot find type 'UIViewControllerRepresentable' in scope
extension ModalRepresentable: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Representable/ModalRepresentable.swift:29:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> UIViewControllerType {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Representable/ModalRepresentable.swift:35:18: error: cannot find type 'Context' in scope
context: Context
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Representable/ModalRepresentable.swift:50:18: error: cannot find type 'Context' in scope
context: Context
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:12:26: error: cannot find type 'UIRectCorner' in scope
private let corners: UIRectCorner
^~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:16:18: error: cannot find type 'UIRectCorner' in scope
corners: UIRectCorner
^~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:22:35: error: 'Path' is only available in macOS 10.15 or newer
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:22:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:10:8: note: add @available attribute to enclosing struct
struct RoundedRectangleShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:12:17: warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedRectangleShape' has non-sendable type '<<error type>>'
private let corners: UIRectCorner
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AdaptiveModalViewModifier.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.isModalPresented) @Binding var isPresented
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AdaptiveModalViewModifier.swift:10:8: note: add @available attribute to enclosing generic struct
struct AdaptiveModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AdaptiveModalViewModifier.swift:11:39: error: 'Binding' is only available in macOS 10.15 or newer
@Environment(\.isModalPresented) @Binding var isPresented
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AdaptiveModalViewModifier.swift:10:8: note: add @available attribute to enclosing generic struct
struct AdaptiveModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AdaptiveModalViewModifier.swift:24:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AdaptiveModalViewModifier.swift:24:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AdaptiveModalViewModifier.swift:10:8: note: add @available attribute to enclosing generic struct
struct AdaptiveModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AdaptiveModalViewModifier.swift:10:40: error: 'View' is only available in macOS 10.15 or newer
struct AdaptiveModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AdaptiveModalViewModifier.swift:10:8: note: add @available attribute to enclosing generic struct
struct AdaptiveModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:54:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:54:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:12:8: note: add @available attribute to enclosing generic struct
struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:12:84: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:12:8: note: add @available attribute to enclosing generic struct
struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:66:38: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
func onAnimationCompleted<Value: VectorArithmetic>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:66:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<Value: VectorArithmetic>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:60:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:69:10: error: 'ModifiedContent' is only available in macOS 10.15 or newer
) -> ModifiedContent<Self, AnimationCompletionObserverModifier<Value>> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:66:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<Value: VectorArithmetic>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:60:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:83:38: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
func onAnimationCompleted<Value: VectorArithmetic>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:83:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<Value: VectorArithmetic>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:60:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:87:10: error: 'ModifiedContent' is only available in macOS 10.15 or newer
) -> ModifiedContent<Self, AnimationCompletionObserverModifier<Value>> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:83:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<Value: VectorArithmetic>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:60:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:60:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/AnimationCompletionObserverModifier.swift:60:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:14:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:14:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ContentHeightViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:32:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:29:10: note: add @available attribute to enclosing instance method
func contentHeight(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:41:50: error: 'View' is only available in macOS 10.15 or newer
func contentView(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:41:10: note: add @available attribute to enclosing instance method
func contentView(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:40:9: note: add @available attribute to enclosing extension
private extension ContentHeightViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
@State private var translation: CGSize = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
@State private var contentHeight: Double = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
@State private var safeAreaInsetBottom: Double = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:20:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:20:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:74:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func draggableBackground(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:84:19: error: 'DragGesture' is only available in macOS 10.15 or newer
private extension DragGesture.Value {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:84:9: note: add @available attribute to enclosing extension
private extension DragGesture.Value {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:10:8: note: add @available attribute to enclosing generic struct
struct ModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:10:32: error: 'View' is only available in macOS 10.15 or newer
struct ModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:10:8: note: add @available attribute to enclosing generic struct
struct ModalViewModifier<Body: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:37:52: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:37:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:37:52: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:38:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:11:41: error: 'Color' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
@State private var backgroundColor: Color = {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:18:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var offset: CGSize
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:41:17: error: 'Binding' is only available in macOS 10.15 or newer
offset: Binding<CGSize>,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:40:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:52:17: error: 'Binding' is only available in macOS 10.15 or newer
offset: Binding<CGSize> = .constant(.zero),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:54:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
[17/18] Compiling AdaptiveModal AdaptiveModal.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:19:52: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:17:22: error: 'Binding' is only available in macOS 10.15 or newer
isPresented: Binding<Bool>,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:19:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:19:52: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:20:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:30: error: 'Identifiable' is only available in macOS 10.15 or newer
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:40:56: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Item) -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:38:15: error: 'Binding' is only available in macOS 10.15 or newer
item: Binding<Item?>,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:40:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Item) -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:40:56: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Item) -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:41:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:58:77: error: 'View' is only available in macOS 10.15 or newer
func modalInteractiveDismissDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:58:10: note: add @available attribute to enclosing instance method
func modalInteractiveDismissDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:65:68: error: 'View' is only available in macOS 10.15 or newer
func modalDraggableDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:65:10: note: add @available attribute to enclosing instance method
func modalDraggableDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:40: error: 'Color' is only available in macOS 10.15 or newer
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:10: note: add @available attribute to enclosing instance method
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:56: error: 'View' is only available in macOS 10.15 or newer
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:10: note: add @available attribute to enclosing instance method
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:21:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(AdaptiveModalViewModifier(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:21:9: note: add 'if #available' version check
modifier(AdaptiveModalViewModifier(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:25:10: error: 'environment' is only available in macOS 10.15 or newer
.environment(\.isModalPresented, isPresented)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:25:10: note: add 'if #available' version check
.environment(\.isModalPresented, isPresented)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:42:9: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:42:9: note: add 'if #available' version check
adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:46:57: error: 'buildIf' is only available in macOS 10.15 or newer
if let wrappedValue = item.wrappedValue {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:46:57: note: add 'if #available' version check
if let wrappedValue = item.wrappedValue {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:48:17: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:48:17: note: add 'if #available' version check
}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:45:22: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
content: {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:45:22: note: add 'if #available' version check
content: {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:59:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
preference(key: ModalInteractiveDismissDisabled.self, value: isDisabled)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:59:9: note: add 'if #available' version check
preference(key: ModalInteractiveDismissDisabled.self, value: isDisabled)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:58:10: note: add @available attribute to enclosing instance method
func modalInteractiveDismissDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:66:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
preference(key: ModalDraggableDisabled.self, value: isDisabled)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:66:9: note: add 'if #available' version check
preference(key: ModalDraggableDisabled.self, value: isDisabled)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:65:10: note: add @available attribute to enclosing instance method
func modalDraggableDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:73:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
preference(key: ModalBackgroundColor.self, value: color)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:73:9: note: add 'if #available' version check
preference(key: ModalBackgroundColor.self, value: color)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:10: note: add @available attribute to enclosing instance method
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:15:20: error: 'presentationMode' is only available in macOS 10.15 or newer
@Environment(\.presentationMode) @Binding var presentationMode
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:15:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.presentationMode) @Binding var presentationMode
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:15:39: error: 'Binding' is only available in macOS 10.15 or newer
@Environment(\.presentationMode) @Binding var presentationMode
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
@State var cancelable = ModalInteractiveDismissDisabled.defaultValue
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
@State var draggable = ModalDraggableDisabled.defaultValue
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
@State var opacity = 0.0
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
@State var translation: CGSize = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
@State var contentHeight: Double = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
@State var safeAreaInsetBottom: Double = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:28:26: error: 'AnyView' is only available in macOS 10.15 or newer
private let content: AnyView
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:61:39: error: 'View' is only available in macOS 10.15 or newer
content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:61:39: error: 'View' is only available in macOS 10.15 or newer
content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:32: error: 'View' is only available in macOS 10.15 or newer
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:30: error: 'View' is only available in macOS 10.15 or newer
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:95:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:118:33: error: 'View' is only available in macOS 10.15 or newer
func modalContent() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:118:10: note: add @available attribute to enclosing instance method
func modalContent() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:36:14: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: translation.height) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:42:21: error: setter for 'opacity' is only available in macOS 10.15 or newer
opacity = min(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:48:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: opacity) { value in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:51:14: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
.onPreferenceChange(ModalInteractiveDismissDisabled.self) { value in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:52:17: error: setter for 'cancelable' is only available in macOS 10.15 or newer
cancelable = !value
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:54:14: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
.onPreferenceChange(ModalDraggableDisabled.self) { value in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:54:14: note: add 'if #available' version check
.onPreferenceChange(ModalDraggableDisabled.self) { value in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:55:17: error: setter for 'draggable' is only available in macOS 10.15 or newer
draggable = !value
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:55:17: note: add 'if #available' version check
draggable = !value
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:64:24: error: 'AnyView' is only available in macOS 10.15 or newer
self.content = AnyView(content())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:64:24: note: add 'if #available' version check
self.content = AnyView(content())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:70:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:70:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:71:13: error: 'Color' is only available in macOS 10.15 or newer
Color.black
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:71:13: note: add 'if #available' version check
Color.black
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:71:19: error: 'black' is only available in macOS 10.15 or newer
Color.black
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:71:19: note: add 'if #available' version check
Color.black
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:72:18: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(0.0001)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:72:18: note: add 'if #available' version check
.opacity(0.0001)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:73:18: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
.ignoresSafeArea()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:73:18: note: add 'if #available' version check
.ignoresSafeArea()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:74:18: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:74:18: note: add 'if #available' version check
.onTapGesture {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:80:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:80:13: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:81:17: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:81:17: note: add 'if #available' version check
Spacer()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:82:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minHeight: minHeight())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:82:22: note: add 'if #available' version check
.frame(minHeight: minHeight())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:86:42: error: setter for 'contentHeight' is only available in macOS 10.15 or newer
contentHeight: { contentHeight = $0 },
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:86:42: note: add 'if #available' version check
contentHeight: { contentHeight = $0 },
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:87:48: error: setter for 'safeAreaInsetBottom' is only available in macOS 10.15 or newer
safeAreaInsetBottom: { safeAreaInsetBottom = $0 }
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:87:48: note: add 'if #available' version check
safeAreaInsetBottom: { safeAreaInsetBottom = $0 }
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:89:22: error: 'offset' is only available in macOS 10.15 or newer
.offset(translation)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:89:22: note: add 'if #available' version check
.offset(translation)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:90:22: error: 'layoutPriority' is only available in macOS 10.15 or newer
.layoutPriority(1)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:90:22: note: add 'if #available' version check
.layoutPriority(1)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:102:21: error: setter for 'opacity' is only available in macOS 10.15 or newer
opacity = min(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:102:21: note: add 'if #available' version check
opacity = min(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:97:22: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if draggable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:97:22: note: add 'if #available' version check
if draggable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:107:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:107:16: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:35: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:35: note: add 'if #available' version check
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:119:17: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
content.frame(maxWidth: .infinity)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:119:17: note: add 'if #available' version check
content.frame(maxWidth: .infinity)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:118:10: note: add @available attribute to enclosing instance method
func modalContent() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:123:9: error: cannot find 'UIScreen' in scope
UIScreen.main.bounds.height * fraction
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:127:9: error: cannot find 'UIScreen' in scope
UIScreen.main.bounds.height - maxHeight()
^~~~~~~~
[18/18] Compiling AdaptiveModal ModalContent.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:19:52: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:17:22: error: 'Binding' is only available in macOS 10.15 or newer
isPresented: Binding<Bool>,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:19:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:19:52: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:20:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:30: error: 'Identifiable' is only available in macOS 10.15 or newer
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:40:56: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Item) -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:38:15: error: 'Binding' is only available in macOS 10.15 or newer
item: Binding<Item?>,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:40:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Item) -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:40:56: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Item) -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:41:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:58:77: error: 'View' is only available in macOS 10.15 or newer
func modalInteractiveDismissDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:58:10: note: add @available attribute to enclosing instance method
func modalInteractiveDismissDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:65:68: error: 'View' is only available in macOS 10.15 or newer
func modalDraggableDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:65:10: note: add @available attribute to enclosing instance method
func modalDraggableDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:40: error: 'Color' is only available in macOS 10.15 or newer
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:10: note: add @available attribute to enclosing instance method
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:56: error: 'View' is only available in macOS 10.15 or newer
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:10: note: add @available attribute to enclosing instance method
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:21:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(AdaptiveModalViewModifier(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:21:9: note: add 'if #available' version check
modifier(AdaptiveModalViewModifier(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:25:10: error: 'environment' is only available in macOS 10.15 or newer
.environment(\.isModalPresented, isPresented)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:25:10: note: add 'if #available' version check
.environment(\.isModalPresented, isPresented)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:16:10: note: add @available attribute to enclosing instance method
func adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:42:9: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:42:9: note: add 'if #available' version check
adaptiveModal(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:46:57: error: 'buildIf' is only available in macOS 10.15 or newer
if let wrappedValue = item.wrappedValue {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:46:57: note: add 'if #available' version check
if let wrappedValue = item.wrappedValue {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:48:17: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:48:17: note: add 'if #available' version check
}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:45:22: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
content: {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:45:22: note: add 'if #available' version check
content: {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:37:10: note: add @available attribute to enclosing instance method
func adaptiveModal<Item: Identifiable>(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:10:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:59:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
preference(key: ModalInteractiveDismissDisabled.self, value: isDisabled)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:59:9: note: add 'if #available' version check
preference(key: ModalInteractiveDismissDisabled.self, value: isDisabled)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:58:10: note: add @available attribute to enclosing instance method
func modalInteractiveDismissDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:66:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
preference(key: ModalDraggableDisabled.self, value: isDisabled)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:66:9: note: add 'if #available' version check
preference(key: ModalDraggableDisabled.self, value: isDisabled)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:65:10: note: add @available attribute to enclosing instance method
func modalDraggableDisabled(_ isDisabled: Bool = true) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:73:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
preference(key: ModalBackgroundColor.self, value: color)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:73:9: note: add 'if #available' version check
preference(key: ModalBackgroundColor.self, value: color)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:72:10: note: add @available attribute to enclosing instance method
func modalBackgroundColor(_ color: Color?) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:54:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:15:20: error: 'presentationMode' is only available in macOS 10.15 or newer
@Environment(\.presentationMode) @Binding var presentationMode
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:15:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.presentationMode) @Binding var presentationMode
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:15:39: error: 'Binding' is only available in macOS 10.15 or newer
@Environment(\.presentationMode) @Binding var presentationMode
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
@State var cancelable = ModalInteractiveDismissDisabled.defaultValue
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
@State var draggable = ModalDraggableDisabled.defaultValue
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
@State var opacity = 0.0
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
@State var translation: CGSize = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
@State var contentHeight: Double = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
@State var safeAreaInsetBottom: Double = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:28:26: error: 'AnyView' is only available in macOS 10.15 or newer
private let content: AnyView
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:61:39: error: 'View' is only available in macOS 10.15 or newer
content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:61:39: error: 'View' is only available in macOS 10.15 or newer
content: @escaping () -> some View
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:32: error: 'View' is only available in macOS 10.15 or newer
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:30: error: 'View' is only available in macOS 10.15 or newer
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:95:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:118:33: error: 'View' is only available in macOS 10.15 or newer
func modalContent() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:118:10: note: add @available attribute to enclosing instance method
func modalContent() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:36:14: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: translation.height) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:42:21: error: setter for 'opacity' is only available in macOS 10.15 or newer
opacity = min(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:48:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: opacity) { value in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:51:14: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
.onPreferenceChange(ModalInteractiveDismissDisabled.self) { value in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:52:17: error: setter for 'cancelable' is only available in macOS 10.15 or newer
cancelable = !value
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:54:14: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
.onPreferenceChange(ModalDraggableDisabled.self) { value in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:54:14: note: add 'if #available' version check
.onPreferenceChange(ModalDraggableDisabled.self) { value in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:55:17: error: setter for 'draggable' is only available in macOS 10.15 or newer
draggable = !value
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:55:17: note: add 'if #available' version check
draggable = !value
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:34:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:64:24: error: 'AnyView' is only available in macOS 10.15 or newer
self.content = AnyView(content())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:64:24: note: add 'if #available' version check
self.content = AnyView(content())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:70:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:70:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:71:13: error: 'Color' is only available in macOS 10.15 or newer
Color.black
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:71:13: note: add 'if #available' version check
Color.black
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:71:19: error: 'black' is only available in macOS 10.15 or newer
Color.black
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:71:19: note: add 'if #available' version check
Color.black
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:72:18: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(0.0001)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:72:18: note: add 'if #available' version check
.opacity(0.0001)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:73:18: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
.ignoresSafeArea()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:73:18: note: add 'if #available' version check
.ignoresSafeArea()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:74:18: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:74:18: note: add 'if #available' version check
.onTapGesture {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:80:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:80:13: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:81:17: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:81:17: note: add 'if #available' version check
Spacer()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:82:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minHeight: minHeight())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:82:22: note: add 'if #available' version check
.frame(minHeight: minHeight())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:86:42: error: setter for 'contentHeight' is only available in macOS 10.15 or newer
contentHeight: { contentHeight = $0 },
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:86:42: note: add 'if #available' version check
contentHeight: { contentHeight = $0 },
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:87:48: error: setter for 'safeAreaInsetBottom' is only available in macOS 10.15 or newer
safeAreaInsetBottom: { safeAreaInsetBottom = $0 }
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:87:48: note: add 'if #available' version check
safeAreaInsetBottom: { safeAreaInsetBottom = $0 }
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:89:22: error: 'offset' is only available in macOS 10.15 or newer
.offset(translation)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:89:22: note: add 'if #available' version check
.offset(translation)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:90:22: error: 'layoutPriority' is only available in macOS 10.15 or newer
.layoutPriority(1)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:90:22: note: add 'if #available' version check
.layoutPriority(1)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:69:10: note: add @available attribute to enclosing instance method
func contentView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:102:21: error: setter for 'opacity' is only available in macOS 10.15 or newer
opacity = min(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:102:21: note: add 'if #available' version check
opacity = min(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:97:22: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if draggable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:97:22: note: add 'if #available' version check
if draggable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:107:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:107:16: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:35: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:35: note: add 'if #available' version check
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:10: note: add @available attribute to enclosing instance method
func modalView() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:119:17: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
content.frame(maxWidth: .infinity)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:119:17: note: add 'if #available' version check
content.frame(maxWidth: .infinity)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:118:10: note: add @available attribute to enclosing instance method
func modalContent() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:123:9: error: cannot find 'UIScreen' in scope
UIScreen.main.bounds.height * fraction
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:127:9: error: cannot find 'UIScreen' in scope
UIScreen.main.bounds.height - maxHeight()
^~~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm