Build Information
Failed to build adaptive-modal with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
public extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:64:24: note: add 'if #available' version check
self.content = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:59:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:14:8: note: add @available attribute to enclosing struct
struct ModalContent: View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:70:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:71:13: note: add 'if #available' version check
Color.black
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:71:19: note: add 'if #available' version check
Color.black
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:72:18: note: add 'if #available' version check
.opacity(0.0001)
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:73:18: note: add 'if #available' version check
.ignoresSafeArea()
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:74:18: note: add 'if #available' version check
.onTapGesture {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:80:13: note: add 'if #available' version check
VStack {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:81:17: note: add 'if #available' version check
Spacer()
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:82:22: note: add 'if #available' version check
.frame(minHeight: minHeight())
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:89:22: note: add 'if #available' version check
.offset(translation)
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:90:22: note: add 'if #available' version check
.layoutPriority(1)
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:80:20: error: 'buildBlock' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:80:20: note: add 'if #available' version check
VStack {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:70:16: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:70:16: note: add 'if #available' version check
ZStack {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:97:22: note: add 'if #available' version check
if draggable {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:107:16: note: add 'if #available' version check
} else {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:96:35: note: add 'if #available' version check
func modalView() -> some View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:119:17: note: add 'if #available' version check
content.frame(maxWidth: .infinity)
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:68:9: note: add @available attribute to enclosing extension
private extension ModalContent {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Content/ModalContent.swift:127:9: error: cannot find 'UIScreen' in scope
UIScreen.main.bounds.height - maxHeight()
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalHostingController.swift:12:9: error: 'super' members cannot be referenced in a root class
super.init(rootView: rootView)
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalHostingController.swift:13:9: error: cannot find 'modalPresentationStyle' in scope
modalPresentationStyle = .custom
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalHostingController.swift:14:9: error: cannot find 'view' in scope
view.backgroundColor = .clear
^~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:10:36: error: cannot find type 'UIPresentationController' in scope
class ModalPresentationController: UIPresentationController {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:19:19: error: cannot find 'containerView' in scope
guard let containerView else { return }
^~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:31:9: error: cannot find 'presentedViewController' in scope
presentedViewController.transitionCoordinator?.animate { [weak self] _ in
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:31:78: error: unable to infer type of a closure parameter '_' in the current context
presentedViewController.transitionCoordinator?.animate { [weak self] _ in
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:37:9: error: cannot find 'presentedViewController' in scope
presentedViewController.transitionCoordinator?.animate { [weak self] _ in
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalPresentationController.swift:37:78: error: unable to infer type of a closure parameter '_' in the current context
presentedViewController.transitionCoordinator?.animate { [weak self] _ in
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:10:28: error: cannot find type 'UIViewController' in scope
class ModalViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:15:32: error: cannot find type 'UIViewControllerTransitioningDelegate' in scope
extension ModalViewController: UIViewControllerTransitioningDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:20:10: error: cannot find type 'UIPresentationController' in scope
) -> UIPresentationController? {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:17:33: error: cannot find type 'UIViewController' in scope
forPresented presented: UIViewController,
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:18:21: error: cannot find type 'UIViewController' in scope
presenting: UIViewController?,
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:19:17: error: cannot find type 'UIViewController' in scope
source: UIViewController
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Controller/ModalViewController.swift:21:53: error: argument passed to call that takes no arguments
let controller = ModalPresentationController(
^
[16/19] Compiling AdaptiveModal ContentHeightViewModifier.swift
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ContentHeightViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:29:10: note: add @available attribute to enclosing instance method
func contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:40:9: note: add @available attribute to enclosing extension
private extension ContentHeightViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:33:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(ContentHeightViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:33:9: note: add 'if #available' version check
modifier(ContentHeightViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:29:10: note: add @available attribute to enclosing instance method
func contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:44:17: error: generic parameter 'Content' could not be inferred
GeometryReader { proxy in
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:44:17: note: explicitly specify the generic arguments to fix this issue
GeometryReader { proxy in
^
<<#Content: View#>>
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:49:21: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
return Color.clear
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:49:21: note: remove 'return' statements to apply the result builder
return Color.clear
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func draggableBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:44: error: 'easeOut' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:42:44: error: member 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is a function that produces expected type 'Animation'; did you mean to call it?
withAnimation(.interpolatingSpring) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: note: add 'if #available' version check
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:22:14: warning: conformance of '_ViewModifier_Content<Modifier>' to 'View' is only available in macOS 10.15 or newer
.contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:26:14: error: 'offset' is only available in macOS 10.15 or newer
.offset(translation.height > 0 ? translation : .zero)
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:28:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:29:17: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:30:22: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged { gesture in
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:33:22: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { gesture in
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:44: error: 'easeOut' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:42:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: note: add 'if #available' version check
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:20:46: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:20:46: note: add 'if #available' version check
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:75:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(DraggableBackgroundViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:75:9: note: add 'if #available' version check
modifier(DraggableBackgroundViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func draggableBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:87:13: warning: result of 'CGSize' initializer is unused
CGSize(
^ ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:92:13: warning: result of 'CGSize' initializer is unused
CGSize(
^ ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:100:9: error: cannot find 'velocity' in scope
velocity.height > 2000 || translation.height > contentHeight * 0.5
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:23:9: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ModalRepresentable<Body>' conform to 'ShapeStyle'
content
^
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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:39:9: note: add 'if #available' version check
modifier(ModalViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:40:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:16:18: error: cannot find type 'UIRectCorner' in scope
corners: UIRectCorner
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:55:9: note: add 'if #available' version check
modifier(UpperRoundedRectangleViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
[17/19] Compiling AdaptiveModal DraggableBackgroundViewModifier.swift
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ContentHeightViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:29:10: note: add @available attribute to enclosing instance method
func contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:40:9: note: add @available attribute to enclosing extension
private extension ContentHeightViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:33:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(ContentHeightViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:33:9: note: add 'if #available' version check
modifier(ContentHeightViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:29:10: note: add @available attribute to enclosing instance method
func contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:44:17: error: generic parameter 'Content' could not be inferred
GeometryReader { proxy in
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:44:17: note: explicitly specify the generic arguments to fix this issue
GeometryReader { proxy in
^
<<#Content: View#>>
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:49:21: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
return Color.clear
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:49:21: note: remove 'return' statements to apply the result builder
return Color.clear
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func draggableBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:44: error: 'easeOut' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:42:44: error: member 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is a function that produces expected type 'Animation'; did you mean to call it?
withAnimation(.interpolatingSpring) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: note: add 'if #available' version check
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:22:14: warning: conformance of '_ViewModifier_Content<Modifier>' to 'View' is only available in macOS 10.15 or newer
.contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:26:14: error: 'offset' is only available in macOS 10.15 or newer
.offset(translation.height > 0 ? translation : .zero)
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:28:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:29:17: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:30:22: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged { gesture in
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:33:22: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { gesture in
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:44: error: 'easeOut' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:42:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: note: add 'if #available' version check
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:20:46: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:20:46: note: add 'if #available' version check
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:75:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(DraggableBackgroundViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:75:9: note: add 'if #available' version check
modifier(DraggableBackgroundViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func draggableBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:87:13: warning: result of 'CGSize' initializer is unused
CGSize(
^ ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:92:13: warning: result of 'CGSize' initializer is unused
CGSize(
^ ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:100:9: error: cannot find 'velocity' in scope
velocity.height > 2000 || translation.height > contentHeight * 0.5
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:23:9: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ModalRepresentable<Body>' conform to 'ShapeStyle'
content
^
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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:39:9: note: add 'if #available' version check
modifier(ModalViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:40:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:16:18: error: cannot find type 'UIRectCorner' in scope
corners: UIRectCorner
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:55:9: note: add 'if #available' version check
modifier(UpperRoundedRectangleViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
[18/19] Compiling AdaptiveModal ModalViewModifier.swift
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ContentHeightViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:29:10: note: add @available attribute to enclosing instance method
func contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:40:9: note: add @available attribute to enclosing extension
private extension ContentHeightViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:33:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(ContentHeightViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:33:9: note: add 'if #available' version check
modifier(ContentHeightViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:29:10: note: add @available attribute to enclosing instance method
func contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:44:17: error: generic parameter 'Content' could not be inferred
GeometryReader { proxy in
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:44:17: note: explicitly specify the generic arguments to fix this issue
GeometryReader { proxy in
^
<<#Content: View#>>
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:49:21: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
return Color.clear
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:49:21: note: remove 'return' statements to apply the result builder
return Color.clear
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func draggableBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:44: error: 'easeOut' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:42:44: error: member 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is a function that produces expected type 'Animation'; did you mean to call it?
withAnimation(.interpolatingSpring) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: note: add 'if #available' version check
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:22:14: warning: conformance of '_ViewModifier_Content<Modifier>' to 'View' is only available in macOS 10.15 or newer
.contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:26:14: error: 'offset' is only available in macOS 10.15 or newer
.offset(translation.height > 0 ? translation : .zero)
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:28:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:29:17: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:30:22: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged { gesture in
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:33:22: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { gesture in
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:44: error: 'easeOut' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:42:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: note: add 'if #available' version check
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:20:46: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:20:46: note: add 'if #available' version check
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:75:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(DraggableBackgroundViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:75:9: note: add 'if #available' version check
modifier(DraggableBackgroundViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func draggableBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:87:13: warning: result of 'CGSize' initializer is unused
CGSize(
^ ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:92:13: warning: result of 'CGSize' initializer is unused
CGSize(
^ ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:100:9: error: cannot find 'velocity' in scope
velocity.height > 2000 || translation.height > contentHeight * 0.5
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:23:9: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ModalRepresentable<Body>' conform to 'ShapeStyle'
content
^
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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:39:9: note: add 'if #available' version check
modifier(ModalViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:40:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:16:18: error: cannot find type 'UIRectCorner' in scope
corners: UIRectCorner
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:55:9: note: add 'if #available' version check
modifier(UpperRoundedRectangleViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
[19/19] Compiling AdaptiveModal UpperRoundedRectangleViewModifier.swift
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct ContentHeightViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:29:10: note: add @available attribute to enclosing instance method
func contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:40:9: note: add @available attribute to enclosing extension
private extension ContentHeightViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:33:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(ContentHeightViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:33:9: note: add 'if #available' version check
modifier(ContentHeightViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:29:10: note: add @available attribute to enclosing instance method
func contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:44:17: error: generic parameter 'Content' could not be inferred
GeometryReader { proxy in
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:44:17: note: explicitly specify the generic arguments to fix this issue
GeometryReader { proxy in
^
<<#Content: View#>>
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:49:21: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
return Color.clear
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ContentHeightViewModifier.swift:49:21: note: remove 'return' statements to apply the result builder
return Color.clear
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func draggableBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:44: error: 'easeOut' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:42:44: error: member 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is a function that produces expected type 'Animation'; did you mean to call it?
withAnimation(.interpolatingSpring) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: note: add 'if #available' version check
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:22:14: warning: conformance of '_ViewModifier_Content<Modifier>' to 'View' is only available in macOS 10.15 or newer
.contentHeight(
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:26:14: error: 'offset' is only available in macOS 10.15 or newer
.offset(translation.height > 0 ? translation : .zero)
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:28:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:29:17: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:30:22: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged { gesture in
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:33:22: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { gesture in
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:35:44: error: 'easeOut' is only available in macOS 10.15 or newer
withAnimation(.easeOut) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:42:29: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:48:14: note: add 'if #available' version check
.onAnimationCompleted(for: translation.height) {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:20:46: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:20:46: note: add 'if #available' version check
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct DraggableBackgroundViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:75:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(DraggableBackgroundViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:75:9: note: add 'if #available' version check
modifier(DraggableBackgroundViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:70:10: note: add @available attribute to enclosing instance method
func draggableBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:87:13: warning: result of 'CGSize' initializer is unused
CGSize(
^ ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:92:13: warning: result of 'CGSize' initializer is unused
CGSize(
^ ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/DraggableBackgroundViewModifier.swift:100:9: error: cannot find 'velocity' in scope
velocity.height > 2000 || translation.height > contentHeight * 0.5
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:23:9: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ModalRepresentable<Body>' conform to 'ShapeStyle'
content
^
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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:39:9: note: add 'if #available' version check
modifier(ModalViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:35:10: note: add @available attribute to enclosing instance method
func modal(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/ModalViewModifier.swift:34:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:40:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct UpperRoundedRectangleViewModifier: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/Style/RoundedRectangleShape.swift:16:18: error: cannot find type 'UIRectCorner' in scope
corners: UIRectCorner
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:55:9: note: add 'if #available' version check
modifier(UpperRoundedRectangleViewModifier(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:51:10: note: add @available attribute to enclosing instance method
func upperRoundedBackground(
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveModal/ViewModifier/UpperRoundedRectangleViewModifier.swift:50:1: note: add @available attribute to enclosing extension
extension View {
^
BUILD FAILURE 5.8 macosSpm