Build Information
Failed to build SwiftToastAlert, reference 1.0.0 (918834
), with Swift 5.10 for macOS (SPM) on 2 Aug 2024 17:12:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EngOmarElsayed/SwiftToastAlert.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EngOmarElsayed/SwiftToastAlert
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 918834a Update README.md
Cloned https://github.com/EngOmarElsayed/SwiftToastAlert.git
Revision (git rev-parse @):
918834ae654f9f988efac816d91b2f143514c614
SUCCESS checkout https://github.com/EngOmarElsayed/SwiftToastAlert.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swifttoastalert",
"name": "SwiftToastAlert",
"url": "https://github.com/EngOmarElsayed/SwiftToastAlert.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftToastAlert",
"dependencies": [
]
}
]
}
Fetching https://github.com/EngOmarElsayed/SwiftToastAlert.git
[1/161] Fetching swifttoastalert
Fetched https://github.com/EngOmarElsayed/SwiftToastAlert.git from cache (1.13s)
Creating working copy for https://github.com/EngOmarElsayed/SwiftToastAlert.git
Working copy of https://github.com/EngOmarElsayed/SwiftToastAlert.git resolved at 1.0.0 (918834a)
warning: '.resolve-product-dependencies': dependency 'swifttoastalert' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/EngOmarElsayed/SwiftToastAlert.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/12] Compiling SwiftToastAlert ExtensionForView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:121: error: 'ShapeStyle' is only available in macOS 10.15 or newer
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:65: error: 'Alignment' is only available in macOS 10.15 or newer
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:106: error: 'View' is only available in macOS 10.15 or newer
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:78: error: 'top' is only available in macOS 10.15 or newer
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:36:42: error: 'View' is only available in macOS 10.15 or newer
func alertPosition(y: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:36:8: note: add @available attribute to enclosing instance method
func alertPosition(y: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:42:66: error: 'View' is only available in macOS 10.15 or newer
func alertAnimation(isPresented: Bool, isTapped: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:42:8: note: add @available attribute to enclosing instance method
func alertAnimation(isPresented: Bool, isTapped: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:48:50: error: 'View' is only available in macOS 10.15 or newer
func alertAnimation(isPresented: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:48:8: note: add @available attribute to enclosing instance method
func alertAnimation(isPresented: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:20: error: 'View' is only available in macOS 10.15 or newer
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:31:6: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: width, height: height)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:31:6: note: add 'if #available' version check
.frame(width: width, height: height)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:32:6: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: position)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:32:6: note: add 'if #available' version check
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: position)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:33:6: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(background)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:33:6: note: add 'if #available' version check
.foregroundStyle(background)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:38:6: error: 'padding' is only available in macOS 10.15 or newer
.padding(.horizontal)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:38:6: note: add 'if #available' version check
.padding(.horizontal)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:36:8: note: add @available attribute to enclosing instance method
func alertPosition(y: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:39:6: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(y: y)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:39:6: note: add 'if #available' version check
.offset(y: y)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:36:8: note: add @available attribute to enclosing instance method
func alertPosition(y: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:44:6: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
.animation(.easeInOut(duration: 0.45), value: isPresented)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:44:6: note: add 'if #available' version check
.animation(.easeInOut(duration: 0.45), value: isPresented)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:42:8: note: add @available attribute to enclosing instance method
func alertAnimation(isPresented: Bool, isTapped: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:44:17: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
.animation(.easeInOut(duration: 0.45), value: isPresented)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:44:17: note: add 'if #available' version check
.animation(.easeInOut(duration: 0.45), value: isPresented)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:42:8: note: add @available attribute to enclosing instance method
func alertAnimation(isPresented: Bool, isTapped: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:45:6: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
.animation(.easeInOut(duration: 0.45), value: isTapped)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:45:6: note: add 'if #available' version check
.animation(.easeInOut(duration: 0.45), value: isTapped)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:42:8: note: add @available attribute to enclosing instance method
func alertAnimation(isPresented: Bool, isTapped: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:45:17: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
.animation(.easeInOut(duration: 0.45), value: isTapped)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:45:17: note: add 'if #available' version check
.animation(.easeInOut(duration: 0.45), value: isTapped)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:42:8: note: add @available attribute to enclosing instance method
func alertAnimation(isPresented: Bool, isTapped: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:50:6: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
.animation(.easeInOut(duration: 0.45), value: isPresented)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:50:6: note: add 'if #available' version check
.animation(.easeInOut(duration: 0.45), value: isPresented)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:48:8: note: add @available attribute to enclosing instance method
func alertAnimation(isPresented: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:50:17: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
.animation(.easeInOut(duration: 0.45), value: isPresented)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:50:17: note: add 'if #available' version check
.animation(.easeInOut(duration: 0.45), value: isPresented)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:48:8: note: add @available attribute to enclosing instance method
func alertAnimation(isPresented: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
[4/12] Compiling SwiftToastAlert SwiftToastAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:29:27: error: 'ShapeStyle' is only available in macOS 10.15 or newer
private let style: some ShapeStyle = .black
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:29:41: error: 'black' is only available in macOS 10.15 or newer
private let style: some ShapeStyle = .black
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:31:29: error: cannot find 'UIScreen' in scope
private let deviceWidth = UIScreen.main.bounds.size.width
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:35:4: error: 'State' is only available in macOS 10.15 or newer
@State private var flag: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:36:4: error: 'State' is only available in macOS 10.15 or newer
@State private var tapped: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:43:5: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:43:5: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:43:12: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:43:12: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:44:7: error: 'Color' is only available in macOS 10.15 or newer
Color.red.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:44:7: note: add 'if #available' version check
Color.red.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:44:13: error: 'red' is only available in macOS 10.15 or newer
Color.red.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:44:13: note: add 'if #available' version check
Color.red.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:44:17: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
Color.red.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:44:17: note: add 'if #available' version check
Color.red.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:45:7: error: 'Button' is only available in macOS 10.15 or newer
Button("Hello, World 🌍") {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:45:7: note: add 'if #available' version check
Button("Hello, World 🌍") {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:45:7: error: 'init(_:action:)' is only available in macOS 10.15 or newer
Button("Hello, World 🌍") {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:45:7: note: add 'if #available' version check
Button("Hello, World 🌍") {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:45:14: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
Button("Hello, World 🌍") {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:45:14: note: add 'if #available' version check
Button("Hello, World 🌍") {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:46:9: error: cannot pass as inout because setter for 'flag' is only available in macOS 10.15 or newer
flag.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:46:9: note: add 'if #available' version check
flag.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:47:9: error: 'foregroundStyle' is only available in macOS 12.0 or newer
}.foregroundStyle(.black)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:47:9: note: add 'if #available' version check
}.foregroundStyle(.black)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:47:26: error: 'black' is only available in macOS 10.15 or newer
}.foregroundStyle(.black)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:47:26: note: add 'if #available' version check
}.foregroundStyle(.black)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:55:8: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
.interactiveToastAlert(isPresented: $flag, position: .topTrailing, background: .black) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:55:8: note: add 'if #available' version check
.interactiveToastAlert(isPresented: $flag, position: .topTrailing, background: .black) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:55:87: error: 'black' is only available in macOS 10.15 or newer
.interactiveToastAlert(isPresented: $flag, position: .topTrailing, background: .black) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:55:87: note: add 'if #available' version check
.interactiveToastAlert(isPresented: $flag, position: .topTrailing, background: .black) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:56:71: error: 'white' is only available in macOS 10.15 or newer
AlertTextAppearance(text: "Replace `var` with `let`", color: .white, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:56:71: note: add 'if #available' version check
AlertTextAppearance(text: "Replace `var` with `let`", color: .white, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:56:85: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
AlertTextAppearance(text: "Replace `var` with `let`", color: .white, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:56:85: note: add 'if #available' version check
AlertTextAppearance(text: "Replace `var` with `let`", color: .white, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:58:36: error: 'Image' is only available in macOS 10.15 or newer
AlertIconAppearance(image: Image(systemName: "checkmark"), color: .green, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:58:36: note: add 'if #available' version check
AlertIconAppearance(image: Image(systemName: "checkmark"), color: .green, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:58:36: error: 'init(systemName:)' is only available in macOS 11.0 or newer
AlertIconAppearance(image: Image(systemName: "checkmark"), color: .green, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:58:36: note: add 'if #available' version check
AlertIconAppearance(image: Image(systemName: "checkmark"), color: .green, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:58:76: error: 'green' is only available in macOS 10.15 or newer
AlertIconAppearance(image: Image(systemName: "checkmark"), color: .green, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:58:76: note: add 'if #available' version check
AlertIconAppearance(image: Image(systemName: "checkmark"), color: .green, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:58:90: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
AlertIconAppearance(image: Image(systemName: "checkmark"), color: .green, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:58:90: note: add 'if #available' version check
AlertIconAppearance(image: Image(systemName: "checkmark"), color: .green, font: .system(size: 16, weight: .bold))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
[5/12] Compiling SwiftToastAlert ToastAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:30:29: error: cannot find 'UIScreen' in scope
private let deviceWidth = UIScreen.main.bounds.size.width
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:32:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var isPresented: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:33:25: error: 'Alignment' is only available in macOS 10.15 or newer
private let position: Alignment
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:37:30: error: 'Binding' is only available in macOS 10.15 or newer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:37:12: note: add @available attribute to enclosing initializer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:37:55: error: 'Alignment' is only available in macOS 10.15 or newer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:37:12: note: add @available attribute to enclosing initializer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:44:46: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:44:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:55: error: 'ShapeStyle' is only available in macOS 10.15 or newer
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:83:27: error: 'ShapeStyle' is only available in macOS 10.15 or newer
) -> some View where S: ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:78:8: note: add @available attribute to enclosing instance method
func toastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:79:18: error: 'Binding' is only available in macOS 10.15 or newer
isPresented: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:78:8: note: add @available attribute to enclosing instance method
func toastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:83:13: error: 'View' is only available in macOS 10.15 or newer
) -> some View where S: ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:78:8: note: add @available attribute to enclosing instance method
func toastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:45:5: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:45:5: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:44:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:48:7: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 20)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:48:7: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 20)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:44:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:49:10: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
.overlay(alignment: .center) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:49:10: note: add 'if #available' version check
.overlay(alignment: .center) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:44:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:49:30: error: 'center' is only available in macOS 10.15 or newer
.overlay(alignment: .center) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:49:30: note: add 'if #available' version check
.overlay(alignment: .center) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:44:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:55:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: isPresented) { value in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:55:10: note: add 'if #available' version check
.onChange(of: isPresented) { value in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:44:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:58:15: error: setter for 'isPresented' is only available in macOS 10.15 or newer
isPresented = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:58:15: note: add 'if #available' version check
isPresented = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:44:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:84:10: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:84:10: note: add 'if #available' version check
self.modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:78:8: note: add @available attribute to enclosing instance method
func toastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:8: note: add @available attribute to enclosing extension
public extension View {
^
[6/13] Compiling SwiftToastAlert AlertIconAppearance.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:31:21: error: 'Image' is only available in macOS 10.15 or newer
public let image: Image
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:33:21: error: 'Color' is only available in macOS 10.15 or newer
public let color: Color?
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:35:20: error: 'Font' is only available in macOS 10.15 or newer
public let font: Font?
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:22: error: 'Image' is only available in macOS 10.15 or newer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:10: note: add @available attribute to enclosing initializer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:36: error: 'Color' is only available in macOS 10.15 or newer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:10: note: add @available attribute to enclosing initializer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:56: error: 'Font' is only available in macOS 10.15 or newer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:10: note: add @available attribute to enclosing initializer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
[7/13] Compiling SwiftToastAlert AlertPosition.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:34:28: error: 'Alignment' is only available in macOS 10.15 or newer
internal var alignment : Alignment {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:34:16: note: add @available attribute to enclosing property
internal var alignment : Alignment {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:29:13: note: add @available attribute to enclosing enum
public enum AlertPosition {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:37:10: error: 'topLeading' is only available in macOS 10.15 or newer
.topLeading
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:37:10: note: add 'if #available' version check
.topLeading
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:34:16: note: add @available attribute to enclosing property
internal var alignment : Alignment {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:29:13: note: add @available attribute to enclosing enum
public enum AlertPosition {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:39:10: error: 'top' is only available in macOS 10.15 or newer
.top
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:39:10: note: add 'if #available' version check
.top
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:34:16: note: add @available attribute to enclosing property
internal var alignment : Alignment {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:29:13: note: add @available attribute to enclosing enum
public enum AlertPosition {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:41:10: error: 'topTrailing' is only available in macOS 10.15 or newer
.topTrailing
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:41:10: note: add 'if #available' version check
.topTrailing
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:34:16: note: add @available attribute to enclosing property
internal var alignment : Alignment {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:29:13: note: add @available attribute to enclosing enum
public enum AlertPosition {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Compiling SwiftToastAlert AlertDisplayView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:29:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isTapped: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:33:18: error: 'Binding' is only available in macOS 10.15 or newer
init(isTapped: Binding<Bool> = .constant(false), alertTextAppearance: AlertTextAppearance? = nil, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:33:3: note: add @available attribute to enclosing initializer
init(isTapped: Binding<Bool> = .constant(false), alertTextAppearance: AlertTextAppearance? = nil, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:40:7: error: 'HStack' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:40:7: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:42:12: error: 'padding' is only available in macOS 10.15 or newer
.padding(.leading, isTapped ? 20: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:42:12: note: add 'if #available' version check
.padding(.leading, isTapped ? 20: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:43:12: error: 'padding' is only available in macOS 10.15 or newer
.padding(.trailing, isTapped ? 5: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:43:12: note: add 'if #available' version check
.padding(.trailing, isTapped ? 5: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:47:14: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(isTapped ? 1.0: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:47:14: note: add 'if #available' version check
.opacity(isTapped ? 1.0: 0.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:48:14: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
.animation(.smooth, value: isTapped)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:48:14: note: add 'if #available' version check
.animation(.smooth, value: isTapped)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:48:25: error: 'smooth' is only available in macOS 10.15 or newer
.animation(.smooth, value: isTapped)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:48:25: note: add 'if #available' version check
.animation(.smooth, value: isTapped)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:45:46: error: 'buildIf' is only available in macOS 10.15 or newer
if let alertTextAppearance, isTapped {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:45:46: note: add 'if #available' version check
if let alertTextAppearance, isTapped {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:49:9: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:49:9: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:40:14: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:40:14: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
[9/13] Compiling SwiftToastAlert InteractiveToastAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:30:4: error: 'State' is only available in macOS 10.15 or newer
@State private var isTapped: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:32:29: error: cannot find 'UIScreen' in scope
private let deviceWidth = UIScreen.main.bounds.size.width
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:38:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var isPresented: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:39:25: error: 'Alignment' is only available in macOS 10.15 or newer
private let position: Alignment
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:44:30: error: 'Binding' is only available in macOS 10.15 or newer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertTextAppearance: AlertTextAppearance, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:44:12: note: add @available attribute to enclosing initializer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertTextAppearance: AlertTextAppearance, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:44:55: error: 'Alignment' is only available in macOS 10.15 or newer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertTextAppearance: AlertTextAppearance, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:44:12: note: add @available attribute to enclosing initializer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertTextAppearance: AlertTextAppearance, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:46: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:66: error: 'ShapeStyle' is only available in macOS 10.15 or newer
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:104:27: error: 'ShapeStyle' is only available in macOS 10.15 or newer
) -> some View where S: ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:98:8: note: add @available attribute to enclosing instance method
func interactiveToastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:99:18: error: 'Binding' is only available in macOS 10.15 or newer
isPresented: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:98:8: note: add @available attribute to enclosing instance method
func interactiveToastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:104:13: error: 'View' is only available in macOS 10.15 or newer
) -> some View where S: ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:98:8: note: add @available attribute to enclosing instance method
func interactiveToastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:53:5: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:53:5: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:56:7: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 20)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:56:7: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 20)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:57:10: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
.overlay(alignment: isTapped ? .leading: .center) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:57:10: note: add 'if #available' version check
.overlay(alignment: isTapped ? .leading: .center) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:57:41: error: 'leading' is only available in macOS 10.15 or newer
.overlay(alignment: isTapped ? .leading: .center) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:57:41: note: add 'if #available' version check
.overlay(alignment: isTapped ? .leading: .center) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:57:51: error: 'center' is only available in macOS 10.15 or newer
.overlay(alignment: isTapped ? .leading: .center) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:57:51: note: add 'if #available' version check
.overlay(alignment: isTapped ? .leading: .center) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:64:10: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:64:10: note: add 'if #available' version check
.onTapGesture {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:65:11: error: cannot pass as inout because setter for 'isTapped' is only available in macOS 10.15 or newer
isTapped.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:65:11: note: add 'if #available' version check
isTapped.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:68:15: error: setter for 'isPresented' is only available in macOS 10.15 or newer
isPresented = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:68:15: note: add 'if #available' version check
isPresented = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:72:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: isPresented) { value in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:72:10: note: add 'if #available' version check
.onChange(of: isPresented) { value in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:76:17: error: setter for 'isPresented' is only available in macOS 10.15 or newer
isPresented = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:76:17: note: add 'if #available' version check
isPresented = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:105:10: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:105:10: note: add 'if #available' version check
self.modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:98:8: note: add @available attribute to enclosing instance method
func interactiveToastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:8: note: add @available attribute to enclosing extension
public extension View {
^
[10/13] Emitting module SwiftToastAlert
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:30:4: error: 'State' is only available in macOS 10.15 or newer
@State private var isTapped: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:32:29: error: cannot find 'UIScreen' in scope
private let deviceWidth = UIScreen.main.bounds.size.width
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:38:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var isPresented: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:39:25: error: 'Alignment' is only available in macOS 10.15 or newer
private let position: Alignment
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:44:30: error: 'Binding' is only available in macOS 10.15 or newer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertTextAppearance: AlertTextAppearance, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:44:12: note: add @available attribute to enclosing initializer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertTextAppearance: AlertTextAppearance, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:44:55: error: 'Alignment' is only available in macOS 10.15 or newer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertTextAppearance: AlertTextAppearance, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:44:12: note: add @available attribute to enclosing initializer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertTextAppearance: AlertTextAppearance, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:46: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:52:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:66: error: 'ShapeStyle' is only available in macOS 10.15 or newer
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:29:17: note: add @available attribute to enclosing generic struct
internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:104:27: error: 'ShapeStyle' is only available in macOS 10.15 or newer
) -> some View where S: ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:98:8: note: add @available attribute to enclosing instance method
func interactiveToastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:99:18: error: 'Binding' is only available in macOS 10.15 or newer
isPresented: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:98:8: note: add @available attribute to enclosing instance method
func interactiveToastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:104:13: error: 'View' is only available in macOS 10.15 or newer
) -> some View where S: ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:98:8: note: add @available attribute to enclosing instance method
func interactiveToastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:85:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:30:29: error: cannot find 'UIScreen' in scope
private let deviceWidth = UIScreen.main.bounds.size.width
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:32:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var isPresented: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:33:25: error: 'Alignment' is only available in macOS 10.15 or newer
private let position: Alignment
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:37:30: error: 'Binding' is only available in macOS 10.15 or newer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:37:12: note: add @available attribute to enclosing initializer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:37:55: error: 'Alignment' is only available in macOS 10.15 or newer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:37:12: note: add @available attribute to enclosing initializer
internal init(isPresented: Binding<Bool>, position: Alignment, background: S, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:44:46: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:44:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:55: error: 'ShapeStyle' is only available in macOS 10.15 or newer
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:28:17: note: add @available attribute to enclosing generic struct
internal struct ToastAlert<S>: ViewModifier where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:83:27: error: 'ShapeStyle' is only available in macOS 10.15 or newer
) -> some View where S: ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:78:8: note: add @available attribute to enclosing instance method
func toastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:79:18: error: 'Binding' is only available in macOS 10.15 or newer
isPresented: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:78:8: note: add @available attribute to enclosing instance method
func toastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:83:13: error: 'View' is only available in macOS 10.15 or newer
) -> some View where S: ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:78:8: note: add @available attribute to enclosing instance method
func toastAlert<S>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/ToastAlert.swift:66:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:29:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isTapped: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:33:18: error: 'Binding' is only available in macOS 10.15 or newer
init(isTapped: Binding<Bool> = .constant(false), alertTextAppearance: AlertTextAppearance? = nil, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:33:3: note: add @available attribute to enclosing initializer
init(isTapped: Binding<Bool> = .constant(false), alertTextAppearance: AlertTextAppearance? = nil, alertIconAppearance: AlertIconAppearance) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertDisplayView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertDisplayView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:29:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var tapped: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertIconView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:32:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:32:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertIconView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:31:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:31:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertTextView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:29:27: error: 'ShapeStyle' is only available in macOS 10.15 or newer
private let style: some ShapeStyle = .black
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:29:41: error: 'black' is only available in macOS 10.15 or newer
private let style: some ShapeStyle = .black
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:31:29: error: cannot find 'UIScreen' in scope
private let deviceWidth = UIScreen.main.bounds.size.width
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:35:4: error: 'State' is only available in macOS 10.15 or newer
@State private var flag: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:36:4: error: 'State' is only available in macOS 10.15 or newer
@State private var tapped: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:42:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:28:8: note: add @available attribute to enclosing struct
struct SwiftUIView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Examples/SwiftToastAlert.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:121: error: 'ShapeStyle' is only available in macOS 10.15 or newer
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:65: error: 'Alignment' is only available in macOS 10.15 or newer
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:106: error: 'View' is only available in macOS 10.15 or newer
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:78: error: 'top' is only available in macOS 10.15 or newer
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:29:8: note: add @available attribute to enclosing instance method
func alertFrame<S>(width: CGFloat, height: CGFloat, position: Alignment = .top, background: S) -> some View where S : ShapeStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:36:42: error: 'View' is only available in macOS 10.15 or newer
func alertPosition(y: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:36:8: note: add @available attribute to enclosing instance method
func alertPosition(y: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:42:66: error: 'View' is only available in macOS 10.15 or newer
func alertAnimation(isPresented: Bool, isTapped: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:42:8: note: add @available attribute to enclosing instance method
func alertAnimation(isPresented: Bool, isTapped: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:48:50: error: 'View' is only available in macOS 10.15 or newer
func alertAnimation(isPresented: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:48:8: note: add @available attribute to enclosing instance method
func alertAnimation(isPresented: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:20: error: 'View' is only available in macOS 10.15 or newer
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/ExtensionForView/ExtensionForView.swift:28:10: note: add @available attribute to enclosing extension
internal extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:31:21: error: 'Image' is only available in macOS 10.15 or newer
public let image: Image
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:33:21: error: 'Color' is only available in macOS 10.15 or newer
public let color: Color?
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:35:20: error: 'Font' is only available in macOS 10.15 or newer
public let font: Font?
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:22: error: 'Image' is only available in macOS 10.15 or newer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:10: note: add @available attribute to enclosing initializer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:36: error: 'Color' is only available in macOS 10.15 or newer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:10: note: add @available attribute to enclosing initializer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:56: error: 'Font' is only available in macOS 10.15 or newer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:38:10: note: add @available attribute to enclosing initializer
public init(image: Image, color: Color? = nil, font: Font? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertIconAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertIconAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:34:28: error: 'Alignment' is only available in macOS 10.15 or newer
internal var alignment : Alignment {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:34:16: note: add @available attribute to enclosing property
internal var alignment : Alignment {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertPosition.swift:29:13: note: add @available attribute to enclosing enum
public enum AlertPosition {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:33:21: error: 'Color' is only available in macOS 10.15 or newer
public let color: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertTextAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:35:20: error: 'Font' is only available in macOS 10.15 or newer
public let font: Font
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertTextAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:36: error: 'Color' is only available in macOS 10.15 or newer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:10: note: add @available attribute to enclosing initializer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertTextAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:49: error: 'Font' is only available in macOS 10.15 or newer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:10: note: add @available attribute to enclosing initializer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertTextAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:57: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:10: note: add @available attribute to enclosing initializer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertTextAppearance {
^
[11/13] Compiling SwiftToastAlert AlertTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:31:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:31:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertTextView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:32:5: error: 'Text' is only available in macOS 10.15 or newer
Text(alertTextAppearance.text)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:32:5: note: add 'if #available' version check
Text(alertTextAppearance.text)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:31:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertTextView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:33:8: error: 'foregroundStyle' is only available in macOS 14.0 or newer
.foregroundStyle(alertTextAppearance.color)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:33:8: note: add 'if #available' version check
.foregroundStyle(alertTextAppearance.color)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:31:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertTextView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:34:8: error: 'font' is only available in macOS 10.15 or newer
.font(alertTextAppearance.font)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:34:8: note: add 'if #available' version check
.font(alertTextAppearance.font)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:31:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertTextView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:35:8: error: 'lineLimit' is only available in macOS 10.15 or newer
.lineLimit(2)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:35:8: note: add 'if #available' version check
.lineLimit(2)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:31:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertTextView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:36:8: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
.multilineTextAlignment(.leading)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:36:8: note: add 'if #available' version check
.multilineTextAlignment(.leading)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:31:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertTextView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertTextView: View {
^
[12/13] Compiling SwiftToastAlert AlertIconView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:29:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var tapped: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertIconView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:32:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:32:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertIconView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:34:8: error: 'font' is only available in macOS 10.15 or newer
.font(alertIconAppearance.font)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:34:8: note: add 'if #available' version check
.font(alertIconAppearance.font)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:32:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertIconView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:35:8: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.foregroundStyle(alertIconAppearance.color ?? .clear)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:35:8: note: add 'if #available' version check
.foregroundStyle(alertIconAppearance.color ?? .clear)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:32:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertIconView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:35:54: error: 'clear' is only available in macOS 10.15 or newer
.foregroundStyle(alertIconAppearance.color ?? .clear)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:35:54: note: add 'if #available' version check
.foregroundStyle(alertIconAppearance.color ?? .clear)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:32:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/AlertSubViews/AlertIconView.swift:28:8: note: add @available attribute to enclosing struct
struct AlertIconView: View {
^
[13/13] Compiling SwiftToastAlert AlertTextAppearance.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:33:21: error: 'Color' is only available in macOS 10.15 or newer
public let color: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertTextAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:35:20: error: 'Font' is only available in macOS 10.15 or newer
public let font: Font
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertTextAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:36: error: 'Color' is only available in macOS 10.15 or newer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:10: note: add @available attribute to enclosing initializer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertTextAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:49: error: 'Font' is only available in macOS 10.15 or newer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:10: note: add @available attribute to enclosing initializer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertTextAppearance {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:57: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:37:10: note: add @available attribute to enclosing initializer
public init(text: String, color: Color, font: Font = .system(size: 16, weight: .bold)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToastAlert/Models/AlertTextAppearance.swift:29:15: note: add @available attribute to enclosing struct
public struct AlertTextAppearance {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm