Build Information
Failed to build Billboard, reference main (e40ac4
), with Swift 5.8 for macOS (SPM) on 11 Sep 2024 18:10:34 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
public struct AdvertisementModifier<V: View>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:40:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:36:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:18:15: note: add @available attribute to enclosing generic struct
public struct AdvertisementModifier<V: View>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:45:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(item: $monitor.advertisement, onDismiss: { showAd.wrappedValue = false }) { advert in
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
[12/24] Compiling Billboard Font+iOS15.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:50: error: 'TextStyle' is only available in macOS 10.15 or newer
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:24: note: add @available attribute to enclosing static method
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:69: error: 'Design' is only available in macOS 10.15 or newer
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:24: note: add @available attribute to enclosing static method
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:86: error: 'Weight' is only available in macOS 10.15 or newer
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:24: note: add @available attribute to enclosing static method
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:98: error: 'Font' is only available in macOS 10.15 or newer
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:24: note: add @available attribute to enclosing static method
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:11: error: 'Font' is only available in macOS 10.15 or newer
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:13:21: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
return .system(style, design: design, weight: weight)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:13:21: note: add 'if #available' version check
return .system(style, design: design, weight: weight)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:24: note: add @available attribute to enclosing static method
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
[13/24] Compiling Billboard Haptics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:50: error: 'TextStyle' is only available in macOS 10.15 or newer
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:24: note: add @available attribute to enclosing static method
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:69: error: 'Design' is only available in macOS 10.15 or newer
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:24: note: add @available attribute to enclosing static method
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:86: error: 'Weight' is only available in macOS 10.15 or newer
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:24: note: add @available attribute to enclosing static method
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:98: error: 'Font' is only available in macOS 10.15 or newer
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:24: note: add @available attribute to enclosing static method
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:11: error: 'Font' is only available in macOS 10.15 or newer
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:13:21: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
return .system(style, design: design, weight: weight)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:13:21: note: add 'if #available' version check
return .system(style, design: design, weight: weight)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:11:24: note: add @available attribute to enclosing static method
public static func compatibleSystem(_ style: TextStyle, design: Design?, weight: Weight?) -> Font {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Font+iOS15.swift:10:1: note: add @available attribute to enclosing extension
extension Font {
^
[14/24] Compiling Billboard BillboardTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:16: warning: unknown operating system for build configuration 'os'
#if os(visionOS)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:16: note: did you mean 'iOS'?
#if os(visionOS)
^~~~~~~~
iOS
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:16: note: did you mean 'Windows'?
#if os(visionOS)
^~~~~~~~
Windows
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:33:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:33:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:32:8: note: add @available attribute to enclosing struct
struct BillboardTextView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:14:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:14:9: note: add 'if #available' version check
VStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 6) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
.font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:18:17: error: 'Text' is only available in macOS 10.15 or newer
Text(advert.title)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:22: error: 'font' is only available in macOS 10.15 or newer
.font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:46: error: 'title2' is only available in macOS 11.0 or newer
.font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
.font(.system(.body, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20:17: error: 'Text' is only available in macOS 10.15 or newer
Text(advert.description)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21:22: error: 'font' is only available in macOS 10.15 or newer
.font(.system(.body, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21:28: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
.font(.system(.body, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:32: error: 'buildBlock' is only available in macOS 10.15 or newer
VStack(spacing: 6) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:14:29: error: 'buildBlock' is only available in macOS 10.15 or newer
VStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:24:10: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
.multilineTextAlignment(.center)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:25:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(advert.text)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:26:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: 640)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:27:10: error: 'padding' is only available in macOS 10.15 or newer
.padding(.horizontal, 24)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:28:10: error: 'padding' is only available in macOS 10.15 or newer
.padding(.bottom, 64)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:28:10: note: add 'if #available' version check
.padding(.bottom, 64)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:14:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder var paywall: () -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showPaywall : Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
@State private var canDismiss = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:139:32: error: 'SKOverlay' is unavailable in macOS
private var storeOverlay : SKOverlay {
^~~~~~~~~
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
public class SKOverlay : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:145:25: error: cannot find 'UIApplication' in scope
private let scene = UIApplication.shared.connectedScenes
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:146:32: error: cannot find type 'UIWindow' in scope
.compactMap({ scene -> UIWindow? in
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:147:24: error: cannot find type 'UIWindowScene' in scope
(scene as? UIWindowScene)?.keyWindow
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:150:10: error: type of expression is ambiguous without more context
.windowScene
~~~~~~~~~^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:37: error: 'View' is only available in macOS 10.15 or newer
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:11:20: error: 'dismiss' is only available in macOS 12.0 or newer
@Environment(\.dismiss) var dismiss
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardDismissButton : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:9: note: add 'if #available' version check
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:28: error: 'top' is only available in macOS 10.15 or newer
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:28: note: add 'if #available' version check
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:33: note: add 'if #available' version check
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:81:31: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
advert.background.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:81:31: note: add 'if #available' version check
advert.background.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:83:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if advert.fullscreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:83:34: note: add 'if #available' version check
if advert.fullscreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:85:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:85:20: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:13: error: 'HStack' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:13: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:20: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:90:17: error: 'Button' is only available in macOS 10.15 or newer
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:90:17: note: add 'if #available' version check
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:90:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:90:17: note: add 'if #available' version check
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:95:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
.bold()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:95:26: note: add 'if #available' version check
.bold()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:93:21: error: 'Text' is only available in macOS 10.15 or newer
Text("Remove Ads")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:93:21: note: add 'if #available' version check
Text("Remove Ads")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:94:26: error: 'font' is only available in macOS 10.15 or newer
.font(.system(.footnote, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:94:26: note: add 'if #available' version check
.font(.system(.footnote, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:94:32: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
.font(.system(.footnote, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:94:32: note: add 'if #available' version check
.font(.system(.footnote, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:95:26: error: 'bold()' is only available in macOS 10.15 or newer
.bold()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:95:26: note: add 'if #available' version check
.bold()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:92:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
} label: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:92:26: note: add 'if #available' version check
} label: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:97:18: error: 'buttonStyle' is only available in macOS 10.15 or newer
.buttonStyle(.bordered)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:97:18: note: add 'if #available' version check
.buttonStyle(.bordered)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:97:31: error: 'bordered' is only available in macOS 10.15 or newer
.buttonStyle(.bordered)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:97:31: note: add 'if #available' version check
.buttonStyle(.bordered)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:98:18: error: 'controlSize' is only available in macOS 10.15 or newer
.controlSize(.small)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:98:18: note: add 'if #available' version check
.controlSize(.small)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100:17: note: add 'if #available' version check
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100:17: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100:17: note: add 'if #available' version check
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:105:26: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:105:26: note: add 'if #available' version check
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:103:31: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if canDismiss {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:103:31: note: add 'if #available' version check
if canDismiss {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:112:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:112:24: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:20: error: 'buildBlock' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:20: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:118:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: 40)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:118:14: note: add 'if #available' version check
.frame(height: 40)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:119:14: error: 'tint' is only available in macOS 12.0 or newer
.tint(advert.tint)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:119:14: note: add 'if #available' version check
.tint(advert.tint)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:120:14: error: 'padding' is only available in macOS 10.15 or newer
.padding()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:120:14: note: add 'if #available' version check
.padding()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:33: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:33: note: add 'if #available' version check
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:122:10: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
.sheet(isPresented: $showPaywall) { paywall() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:122:10: note: add 'if #available' version check
.sheet(isPresented: $showPaywall) { paywall() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:123:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear(perform: displayOverlay)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:123:10: note: add 'if #available' version check
.onAppear(perform: displayOverlay)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:124:10: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
.onDisappear(perform: dismissOverlay)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:124:10: note: add 'if #available' version check
.onDisappear(perform: dismissOverlay)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:125:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: showPaywall) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:125:10: note: add 'if #available' version check
.onChange(of: showPaywall) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:132:10: error: 'statusBarHidden' is unavailable in macOS
.statusBarHidden(true)
^~~~~~~~~~~~~~~
SwiftUI.View:6:17: note: 'statusBarHidden' has been explicitly marked unavailable here
public func statusBarHidden(_ hidden: Bool = true) -> some View
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:140:22: error: 'SKOverlay' is unavailable in macOS
let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
^~~~~~~~~
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
public class SKOverlay : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:141:23: error: 'SKOverlay' is unavailable in macOS
let overlay = SKOverlay(configuration: config)
^~~~~~~~~
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
public class SKOverlay : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:154:19: error: type 'SKOverlay' has no member 'dismiss'
SKOverlay.dismiss(in: scene)
~~~~~~~~~ ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:159:22: error: value of type 'SKOverlay' has no member 'present'
storeOverlay.present(in: scene)
~~~~~~~~~~~~ ^~~~~~~
[15/24] Compiling Billboard BillboardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:16: warning: unknown operating system for build configuration 'os'
#if os(visionOS)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:16: note: did you mean 'iOS'?
#if os(visionOS)
^~~~~~~~
iOS
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:16: note: did you mean 'Windows'?
#if os(visionOS)
^~~~~~~~
Windows
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:33:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:33:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:32:8: note: add @available attribute to enclosing struct
struct BillboardTextView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:14:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:14:9: note: add 'if #available' version check
VStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 6) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
.font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:18:17: error: 'Text' is only available in macOS 10.15 or newer
Text(advert.title)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:22: error: 'font' is only available in macOS 10.15 or newer
.font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:46: error: 'title2' is only available in macOS 11.0 or newer
.font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
.font(.system(.body, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20:17: error: 'Text' is only available in macOS 10.15 or newer
Text(advert.description)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21:22: error: 'font' is only available in macOS 10.15 or newer
.font(.system(.body, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21:28: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
.font(.system(.body, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:32: error: 'buildBlock' is only available in macOS 10.15 or newer
VStack(spacing: 6) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:14:29: error: 'buildBlock' is only available in macOS 10.15 or newer
VStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:24:10: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
.multilineTextAlignment(.center)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:25:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(advert.text)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:26:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: 640)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:27:10: error: 'padding' is only available in macOS 10.15 or newer
.padding(.horizontal, 24)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:28:10: error: 'padding' is only available in macOS 10.15 or newer
.padding(.bottom, 64)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:28:10: note: add 'if #available' version check
.padding(.bottom, 64)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardTextView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:14:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder var paywall: () -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showPaywall : Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
@State private var canDismiss = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:139:32: error: 'SKOverlay' is unavailable in macOS
private var storeOverlay : SKOverlay {
^~~~~~~~~
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
public class SKOverlay : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:145:25: error: cannot find 'UIApplication' in scope
private let scene = UIApplication.shared.connectedScenes
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:146:32: error: cannot find type 'UIWindow' in scope
.compactMap({ scene -> UIWindow? in
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:147:24: error: cannot find type 'UIWindowScene' in scope
(scene as? UIWindowScene)?.keyWindow
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:150:10: error: type of expression is ambiguous without more context
.windowScene
~~~~~~~~~^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:37: error: 'View' is only available in macOS 10.15 or newer
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:11:20: error: 'dismiss' is only available in macOS 12.0 or newer
@Environment(\.dismiss) var dismiss
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardDismissButton : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:9: note: add 'if #available' version check
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:28: error: 'top' is only available in macOS 10.15 or newer
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:28: note: add 'if #available' version check
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:33: note: add 'if #available' version check
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:81:31: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
advert.background.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:81:31: note: add 'if #available' version check
advert.background.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:83:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if advert.fullscreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:83:34: note: add 'if #available' version check
if advert.fullscreen {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:85:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:85:20: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:13: error: 'HStack' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:13: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:20: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:90:17: error: 'Button' is only available in macOS 10.15 or newer
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:90:17: note: add 'if #available' version check
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:90:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:90:17: note: add 'if #available' version check
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:95:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
.bold()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:95:26: note: add 'if #available' version check
.bold()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:93:21: error: 'Text' is only available in macOS 10.15 or newer
Text("Remove Ads")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:93:21: note: add 'if #available' version check
Text("Remove Ads")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:94:26: error: 'font' is only available in macOS 10.15 or newer
.font(.system(.footnote, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:94:26: note: add 'if #available' version check
.font(.system(.footnote, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:94:32: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
.font(.system(.footnote, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:94:32: note: add 'if #available' version check
.font(.system(.footnote, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:95:26: error: 'bold()' is only available in macOS 10.15 or newer
.bold()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:95:26: note: add 'if #available' version check
.bold()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:92:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
} label: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:92:26: note: add 'if #available' version check
} label: {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:97:18: error: 'buttonStyle' is only available in macOS 10.15 or newer
.buttonStyle(.bordered)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:97:18: note: add 'if #available' version check
.buttonStyle(.bordered)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:97:31: error: 'bordered' is only available in macOS 10.15 or newer
.buttonStyle(.bordered)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:97:31: note: add 'if #available' version check
.buttonStyle(.bordered)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:98:18: error: 'controlSize' is only available in macOS 10.15 or newer
.controlSize(.small)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:98:18: note: add 'if #available' version check
.controlSize(.small)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100:17: note: add 'if #available' version check
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100:17: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100:17: note: add 'if #available' version check
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:105:26: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:105:26: note: add 'if #available' version check
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:103:31: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if canDismiss {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:103:31: note: add 'if #available' version check
if canDismiss {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:112:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:112:24: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:20: error: 'buildBlock' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:20: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:118:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: 40)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:118:14: note: add 'if #available' version check
.frame(height: 40)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:119:14: error: 'tint' is only available in macOS 12.0 or newer
.tint(advert.tint)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:119:14: note: add 'if #available' version check
.tint(advert.tint)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:120:14: error: 'padding' is only available in macOS 10.15 or newer
.padding()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:120:14: note: add 'if #available' version check
.padding()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:33: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:80:33: note: add 'if #available' version check
ZStack(alignment: .top) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:122:10: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
.sheet(isPresented: $showPaywall) { paywall() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:122:10: note: add 'if #available' version check
.sheet(isPresented: $showPaywall) { paywall() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:123:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear(perform: displayOverlay)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:123:10: note: add 'if #available' version check
.onAppear(perform: displayOverlay)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:124:10: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
.onDisappear(perform: dismissOverlay)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:124:10: note: add 'if #available' version check
.onDisappear(perform: dismissOverlay)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:125:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: showPaywall) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:125:10: note: add 'if #available' version check
.onChange(of: showPaywall) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:15: note: add @available attribute to enclosing generic struct
public struct BillboardView<Content:View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:132:10: error: 'statusBarHidden' is unavailable in macOS
.statusBarHidden(true)
^~~~~~~~~~~~~~~
SwiftUI.View:6:17: note: 'statusBarHidden' has been explicitly marked unavailable here
public func statusBarHidden(_ hidden: Bool = true) -> some View
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:140:22: error: 'SKOverlay' is unavailable in macOS
let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
^~~~~~~~~
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
public class SKOverlay : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:141:23: error: 'SKOverlay' is unavailable in macOS
let overlay = SKOverlay(configuration: config)
^~~~~~~~~
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
public class SKOverlay : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:154:19: error: type 'SKOverlay' has no member 'dismiss'
SKOverlay.dismiss(in: scene)
~~~~~~~~~ ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:159:22: error: value of type 'SKOverlay' has no member 'present'
storeOverlay.present(in: scene)
~~~~~~~~~~~~ ^~~~~~~
[16/24] Compiling Billboard CachedImageManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
@Published private(set) var currentState: CurrentState?
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:10:13: note: add @available attribute to enclosing class
final class CachedImageManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:10:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
final class CachedImageManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:10:13: note: add @available attribute to enclosing class
final class CachedImageManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:17:53: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await URLSession.shared.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:17:53: note: add 'if #available' version check
let (data, _) = try await URLSession.shared.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:12:10: note: add @available attribute to enclosing instance method
func fetch(_ imgUrl: String) async throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:10:8: note: add @available attribute to enclosing struct
struct ImageRetriver {
^
[17/24] Compiling Billboard ImageCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
@Published private(set) var currentState: CurrentState?
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:10:13: note: add @available attribute to enclosing class
final class CachedImageManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:10:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
final class CachedImageManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:10:13: note: add @available attribute to enclosing class
final class CachedImageManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:17:53: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await URLSession.shared.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:17:53: note: add 'if #available' version check
let (data, _) = try await URLSession.shared.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:12:10: note: add @available attribute to enclosing instance method
func fetch(_ imgUrl: String) async throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:10:8: note: add @available attribute to enclosing struct
struct ImageRetriver {
^
[18/24] Compiling Billboard ImageRetriever.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
@Published private(set) var currentState: CurrentState?
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:10:13: note: add @available attribute to enclosing class
final class CachedImageManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:10:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
final class CachedImageManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:10:13: note: add @available attribute to enclosing class
final class CachedImageManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:17:53: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await URLSession.shared.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:17:53: note: add 'if #available' version check
let (data, _) = try await URLSession.shared.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:12:10: note: add @available attribute to enclosing instance method
func fetch(_ imgUrl: String) async throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/ImageRetriever.swift:10:8: note: add @available attribute to enclosing struct
struct ImageRetriver {
^
[19/24] Compiling Billboard Logger+Ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:15:28: error: 'Logger' is only available in macOS 11.0 or newer
static let billboard = Logger(subsystem: subsystem, category: "Billboard")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:15:16: note: add @available attribute to enclosing static property
static let billboard = Logger(subsystem: subsystem, category: "Billboard")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:10:11: error: 'Logger' is only available in macOS 11.0 or newer
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:28:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:27:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:10: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:10: note: add 'if #available' version check
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:15:13: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 4, style: .continuous)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:16:18: error: 'fill(_:style:)' is only available in macOS 10.15 or newer
.fill(advert.tint.opacity(0.15))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:16:35: error: 'opacity' is only available in macOS 10.15 or newer
.fill(advert.tint.opacity(0.15))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:17:13: error: 'Text' is only available in macOS 10.15 or newer
Text("AD")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:18:18: error: 'font' is only available in macOS 10.15 or newer
.font(.system(size: 8, weight: .heavy, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:18:24: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
.font(.system(size: 8, weight: .heavy, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:19:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(advert.tint)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:20:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(x:0.5)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:22:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: 22, height: 14)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:10: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:10: note: add 'if #available' version check
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:29: error: 'Text' is only available in macOS 10.15 or newer
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:29: note: add 'if #available' version check
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:25: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:25: note: add 'if #available' version check
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
[20/24] Compiling Billboard BillboardAdInfoLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:15:28: error: 'Logger' is only available in macOS 11.0 or newer
static let billboard = Logger(subsystem: subsystem, category: "Billboard")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:15:16: note: add @available attribute to enclosing static property
static let billboard = Logger(subsystem: subsystem, category: "Billboard")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:10:11: error: 'Logger' is only available in macOS 11.0 or newer
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:28:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:27:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:10: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:10: note: add 'if #available' version check
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:15:13: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 4, style: .continuous)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:16:18: error: 'fill(_:style:)' is only available in macOS 10.15 or newer
.fill(advert.tint.opacity(0.15))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:16:35: error: 'opacity' is only available in macOS 10.15 or newer
.fill(advert.tint.opacity(0.15))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:17:13: error: 'Text' is only available in macOS 10.15 or newer
Text("AD")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:18:18: error: 'font' is only available in macOS 10.15 or newer
.font(.system(size: 8, weight: .heavy, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:18:24: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
.font(.system(size: 8, weight: .heavy, design: .rounded))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:19:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(advert.tint)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:20:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(x:0.5)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:22:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: 22, height: 14)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:10: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:10: note: add 'if #available' version check
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:29: error: 'Text' is only available in macOS 10.15 or newer
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:23:29: note: add 'if #available' version check
.accessibilityLabel(Text("Advertisement"))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:25: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:25: note: add 'if #available' version check
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:13:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardAdInfoLabel: View {
^
[21/24] Compiling Billboard BillboardBannerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:32:20: warning: unknown operating system for build configuration 'os'
#if os(visionOS)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:32:20: note: did you mean 'iOS'?
#if os(visionOS)
^~~~~~~~
iOS
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:32:20: note: did you mean 'Windows'?
#if os(visionOS)
^~~~~~~~
Windows
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:72:16: warning: unknown operating system for build configuration 'os'
#if os(visionOS)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:72:16: note: did you mean 'iOS'?
#if os(visionOS)
^~~~~~~~
iOS
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:72:16: note: did you mean 'Windows'?
#if os(visionOS)
^~~~~~~~
Windows
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:10:20: error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
@Environment(\.accessibilityReduceMotion) private var reducedMotion
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:11:20: error: 'openURL' is only available in macOS 11.0 or newer
@Environment(\.openURL) private var openURL
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:19:34: error: cannot find type 'UIImage' in scope
@State private var appIcon : UIImage? = nil
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:10:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.accessibilityReduceMotion) private var reducedMotion
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.openURL) private var openURL
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
@State private var canDismiss = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var appIcon : UIImage? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showAdvertisement = true
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:29:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:31: error: 'View' is only available in macOS 10.15 or newer
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:130:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:155:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:155:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:154:8: note: add @available attribute to enclosing struct
struct BillboardBannerView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:125:27: error: cannot find 'UIImage' in scope
appIcon = UIImage(data: data)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:132:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
if #available(iOS 16.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:133:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:133:13: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:134:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 16, style: .continuous)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:134:17: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 16, style: .continuous)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:135:22: error: 'fill(_:style:)' is only available in macOS 10.15 or newer
.fill(advert.background.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:135:22: note: add 'if #available' version check
.fill(advert.background.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:135:45: error: 'gradient' is only available in macOS 13.0 or newer
.fill(advert.background.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:135:45: note: add 'if #available' version check
.fill(advert.background.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:136:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 16, style: .continuous)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:136:17: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 16, style: .continuous)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:22: error: 'stroke(_:lineWidth:)' is only available in macOS 10.15 or newer
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:22: note: add 'if #available' version check
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:29: error: 'Color' is only available in macOS 10.15 or newer
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:29: note: add 'if #available' version check
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:35: error: 'primary' is only available in macOS 10.15 or newer
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:35: note: add 'if #available' version check
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:43: error: 'opacity' is only available in macOS 10.15 or newer
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:43: note: add 'if #available' version check
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:133:20: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:133:20: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:14: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:14: note: add 'if #available' version check
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:62: error: 'opacity' is only available in macOS 10.15 or newer
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:62: note: add 'if #available' version check
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:77: error: 'Color' is only available in macOS 10.15 or newer
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:77: note: add 'if #available' version check
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:83: error: 'clear' is only available in macOS 10.15 or newer
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:83: note: add 'if #available' version check
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:132:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 16.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:132:36: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:132:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 16.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:132:36: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:141:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:141:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:36: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:36: note: add 'if #available' version check
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:156:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:156:9: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:155:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:154:8: note: add @available attribute to enclosing struct
struct BillboardBannerView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:156:16: error: 'buildBlock' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:155:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:154:8: note: add @available attribute to enclosing struct
struct BillboardBannerView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:160:10: error: 'padding' is only available in macOS 10.15 or newer
.padding()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:160:10: note: add 'if #available' version check
.padding()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:155:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:154:8: note: add @available attribute to enclosing struct
struct BillboardBannerView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var canDismiss : Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
@State private var seconds : Double = 15
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
@State private var timerProgress : CGFloat = 0.0
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:20:31: error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:20:73: error: 'autoconnect()' is only available in macOS 10.15 or newer
private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:22:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:22:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:100:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:100:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:99:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:53:60: error: extra argument 'value' in call
.contentTransition(.numericText(value: seconds))
~~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:101:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:101:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:100:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:99:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:102:57: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:102:57: note: add 'if #available' version check
BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:100:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:99:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:101:16: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:101:16: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:100:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:99:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView_Previews: PreviewProvider {
^
[22/24] Compiling Billboard BillboardCountdownView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:32:20: warning: unknown operating system for build configuration 'os'
#if os(visionOS)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:32:20: note: did you mean 'iOS'?
#if os(visionOS)
^~~~~~~~
iOS
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:32:20: note: did you mean 'Windows'?
#if os(visionOS)
^~~~~~~~
Windows
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:72:16: warning: unknown operating system for build configuration 'os'
#if os(visionOS)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:72:16: note: did you mean 'iOS'?
#if os(visionOS)
^~~~~~~~
iOS
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:72:16: note: did you mean 'Windows'?
#if os(visionOS)
^~~~~~~~
Windows
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:10:20: error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
@Environment(\.accessibilityReduceMotion) private var reducedMotion
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:11:20: error: 'openURL' is only available in macOS 11.0 or newer
@Environment(\.openURL) private var openURL
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:19:34: error: cannot find type 'UIImage' in scope
@State private var appIcon : UIImage? = nil
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:10:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.accessibilityReduceMotion) private var reducedMotion
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.openURL) private var openURL
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
@State private var canDismiss = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var appIcon : UIImage? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showAdvertisement = true
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:29:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:31: error: 'View' is only available in macOS 10.15 or newer
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:130:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:155:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:155:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:154:8: note: add @available attribute to enclosing struct
struct BillboardBannerView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:125:27: error: cannot find 'UIImage' in scope
appIcon = UIImage(data: data)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:132:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
if #available(iOS 16.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:133:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:133:13: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:134:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 16, style: .continuous)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:134:17: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 16, style: .continuous)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:135:22: error: 'fill(_:style:)' is only available in macOS 10.15 or newer
.fill(advert.background.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:135:22: note: add 'if #available' version check
.fill(advert.background.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:135:45: error: 'gradient' is only available in macOS 13.0 or newer
.fill(advert.background.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:135:45: note: add 'if #available' version check
.fill(advert.background.gradient)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:136:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 16, style: .continuous)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:136:17: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 16, style: .continuous)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:22: error: 'stroke(_:lineWidth:)' is only available in macOS 10.15 or newer
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:22: note: add 'if #available' version check
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:29: error: 'Color' is only available in macOS 10.15 or newer
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:29: note: add 'if #available' version check
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:35: error: 'primary' is only available in macOS 10.15 or newer
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:35: note: add 'if #available' version check
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:43: error: 'opacity' is only available in macOS 10.15 or newer
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:137:43: note: add 'if #available' version check
.stroke(Color.primary.opacity(0.1), lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:133:20: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:133:20: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:14: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:14: note: add 'if #available' version check
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:62: error: 'opacity' is only available in macOS 10.15 or newer
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:62: note: add 'if #available' version check
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:77: error: 'Color' is only available in macOS 10.15 or newer
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:77: note: add 'if #available' version check
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:83: error: 'clear' is only available in macOS 10.15 or newer
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:139:83: note: add 'if #available' version check
.shadow(color: includeShadow ? advert.background.opacity(0.5) : Color.clear, radius: 6, x: 0, y: 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:132:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 16.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:132:36: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:132:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 16.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:132:36: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:141:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:141:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:36: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:36: note: add 'if #available' version check
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:131:9: note: add @available attribute to enclosing property
var backgroundView : some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:9:15: note: add @available attribute to enclosing struct
public struct BillboardBannerView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:156:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:156:9: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:155:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:154:8: note: add @available attribute to enclosing struct
struct BillboardBannerView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:156:16: error: 'buildBlock' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:155:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:154:8: note: add @available attribute to enclosing struct
struct BillboardBannerView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:160:10: error: 'padding' is only available in macOS 10.15 or newer
.padding()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:160:10: note: add 'if #available' version check
.padding()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:155:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardBannerView.swift:154:8: note: add @available attribute to enclosing struct
struct BillboardBannerView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var canDismiss : Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
@State private var seconds : Double = 15
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
@State private var timerProgress : CGFloat = 0.0
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:20:31: error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:20:73: error: 'autoconnect()' is only available in macOS 10.15 or newer
private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:22:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:22:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:10:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView : View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:100:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:100:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:99:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:53:60: error: extra argument 'value' in call
.contentTransition(.numericText(value: seconds))
~~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:101:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:101:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:100:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:99:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:102:57: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:102:57: note: add 'if #available' version check
BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:100:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:99:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:101:16: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:101:16: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:100:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:99:8: note: add @available attribute to enclosing struct
struct BillboardCountdownView_Previews: PreviewProvider {
^
[23/24] Compiling Billboard BillboardSamples.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:10:11: error: 'Color' is only available in macOS 10.15 or newer
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:10:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:27:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:27:14: note: add 'if #available' version check
self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:11:5: note: add @available attribute to enclosing initializer
init(hex: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:10:1: note: add @available attribute to enclosing extension
extension Color {
^
[24/24] Compiling Billboard Color+Hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:10:11: error: 'Color' is only available in macOS 10.15 or newer
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:10:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:27:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:27:14: note: add 'if #available' version check
self.init(
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:11:5: note: add @available attribute to enclosing initializer
init(hex: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:10:1: note: add @available attribute to enclosing extension
extension Color {
^
BUILD FAILURE 5.8 macosSpm