Build Information
Failed to build Billboard, reference main (e40ac4
), with Swift 5.10 for macOS (SPM) on 11 Sep 2024 18:10:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:29:13: note: add 'if #available' version check
self.currentState = .success(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:17:10: note: add @available attribute to enclosing instance method
func load(_ imgUrl: String,
^
/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:33:13: error: setter for 'currentState' is only available in macOS 10.15 or newer
self.currentState = .failed(error: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:33:13: note: add 'if #available' version check
self.currentState = .failed(error: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:17:10: note: add @available attribute to enclosing instance method
func load(_ imgUrl: String,
^
/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 {
^
[14/26] 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 {
^
<unknown>:0: error: key path value type 'KeyPath<CachedImageManager, CachedImageManager.CurrentState?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<CachedImageManager, CachedImageManager.CurrentState?>'
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:20:9: error: setter for 'currentState' is only available in macOS 10.15 or newer
self.currentState = .loading
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:20:9: note: add 'if #available' version check
self.currentState = .loading
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:17:10: note: add @available attribute to enclosing instance method
func load(_ imgUrl: String,
^
/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:23:13: error: setter for 'currentState' is only available in macOS 10.15 or newer
self.currentState = .success(data: imageData)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:23:13: note: add 'if #available' version check
self.currentState = .success(data: imageData)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:17:10: note: add @available attribute to enclosing instance method
func load(_ imgUrl: String,
^
/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:29:13: error: setter for 'currentState' is only available in macOS 10.15 or newer
self.currentState = .success(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:29:13: note: add 'if #available' version check
self.currentState = .success(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:17:10: note: add @available attribute to enclosing instance method
func load(_ imgUrl: String,
^
/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:33:13: error: setter for 'currentState' is only available in macOS 10.15 or newer
self.currentState = .failed(error: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:33:13: note: add 'if #available' version check
self.currentState = .failed(error: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:17:10: note: add @available attribute to enclosing instance method
func load(_ imgUrl: String,
^
/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 {
^
[15/26] 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 {
^
<unknown>:0: error: key path value type 'KeyPath<CachedImageManager, CachedImageManager.CurrentState?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<CachedImageManager, CachedImageManager.CurrentState?>'
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:20:9: error: setter for 'currentState' is only available in macOS 10.15 or newer
self.currentState = .loading
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:20:9: note: add 'if #available' version check
self.currentState = .loading
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:17:10: note: add @available attribute to enclosing instance method
func load(_ imgUrl: String,
^
/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:23:13: error: setter for 'currentState' is only available in macOS 10.15 or newer
self.currentState = .success(data: imageData)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:23:13: note: add 'if #available' version check
self.currentState = .success(data: imageData)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:17:10: note: add @available attribute to enclosing instance method
func load(_ imgUrl: String,
^
/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:29:13: error: setter for 'currentState' is only available in macOS 10.15 or newer
self.currentState = .success(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:29:13: note: add 'if #available' version check
self.currentState = .success(data: data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:17:10: note: add @available attribute to enclosing instance method
func load(_ imgUrl: String,
^
/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:33:13: error: setter for 'currentState' is only available in macOS 10.15 or newer
self.currentState = .failed(error: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:33:13: note: add 'if #available' version check
self.currentState = .failed(error: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImageManager.swift:17:10: note: add @available attribute to enclosing instance method
func load(_ imgUrl: String,
^
/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 {
^
[16/26] 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:14:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' 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: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:14:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: 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: warning: conformance of 'Color' to 'ShapeStyle' 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:15:13: note: add 'if #available' version check
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: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:15:13: note: add 'if #available' version check
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 14.0 or newer
.fill(advert.tint.opacity(0.15))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:16:18: note: add 'if #available' version check
.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:16:35: note: add 'if #available' version check
.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:17:13: note: add 'if #available' version check
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:18:18: note: add 'if #available' version check
.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:18:24: note: add 'if #available' version check
.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:19:18: note: add 'if #available' version check
.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:20:18: note: add 'if #available' version check
.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: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: 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: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:22:10: note: add 'if #available' version check
.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 {
^
[17/26] 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:14:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' 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: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:14:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: 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: warning: conformance of 'Color' to 'ShapeStyle' 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:15:13: note: add 'if #available' version check
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: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:15:13: note: add 'if #available' version check
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 14.0 or newer
.fill(advert.tint.opacity(0.15))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:16:18: note: add 'if #available' version check
.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:16:35: note: add 'if #available' version check
.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:17:13: note: add 'if #available' version check
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:18:18: note: add 'if #available' version check
.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:18:24: note: add 'if #available' version check
.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:19:18: note: add 'if #available' version check
.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:20:18: note: add 'if #available' version check
.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: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: 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: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:22:10: note: add 'if #available' version check
.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 {
^
[18/26] 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 {
^
[19/26] 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 {
^
[20/26] Compiling Billboard BillboardTextView.swift
/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:17:13: note: add 'if #available' version check
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:18:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text(advert.title)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:18:17: note: add 'if #available' version check
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: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:18:17: note: add 'if #available' version check
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:19:22: note: add 'if #available' version check
.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:19:46: note: add 'if #available' version check
.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:20:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text(advert.description)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20:17: note: add 'if #available' version check
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: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:20:17: note: add 'if #available' version check
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:21:22: note: add 'if #available' version check
.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:21:28: note: add 'if #available' version check
.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: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 6) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:32: note: add 'if #available' version check
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:17:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 6) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:32: note: add 'if #available' version check
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: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:24:10: note: add 'if #available' version check
.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:25:10: note: add 'if #available' version check
.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:26:10: note: add 'if #available' version check
.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:27:10: note: add 'if #available' version check
.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 a type annotation
.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:91:21: error: cannot pass as inout because setter for 'showPaywall' is only available in macOS 10.15 or newer
showPaywall.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:91:21: note: add 'if #available' version check
showPaywall.toggle()
^
/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: warning: conformance of 'Text' to 'View' 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: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: warning: conformance of 'Spacer' 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:89:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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: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: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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: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)
~~~~~~~~~~~~ ^~~~~~~
[21/26] Compiling Billboard BillboardView.swift
/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:17:13: note: add 'if #available' version check
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:18:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text(advert.title)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:18:17: note: add 'if #available' version check
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: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:18:17: note: add 'if #available' version check
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:19:22: note: add 'if #available' version check
.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:19:46: note: add 'if #available' version check
.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:20:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text(advert.description)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20:17: note: add 'if #available' version check
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: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:20:17: note: add 'if #available' version check
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:21:22: note: add 'if #available' version check
.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:21:28: note: add 'if #available' version check
.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: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 6) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:32: note: add 'if #available' version check
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:17:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 6) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:32: note: add 'if #available' version check
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: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:24:10: note: add 'if #available' version check
.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:25:10: note: add 'if #available' version check
.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:26:10: note: add 'if #available' version check
.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:27:10: note: add 'if #available' version check
.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 a type annotation
.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:91:21: error: cannot pass as inout because setter for 'showPaywall' is only available in macOS 10.15 or newer
showPaywall.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:91:21: note: add 'if #available' version check
showPaywall.toggle()
^
/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: warning: conformance of 'Text' to 'View' 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: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: warning: conformance of 'Spacer' 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:89:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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: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: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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: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)
~~~~~~~~~~~~ ^~~~~~~
[22/26] 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 {
^
[23/26] 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 {
^
[24/26] Compiling Billboard BillboardAd.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:61:29: error: 'Color' is only available in macOS 10.15 or newer
public var background : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:61:16: note: add @available attribute to enclosing property
public var background : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:65:23: error: 'Color' is only available in macOS 10.15 or newer
public var text : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:65:16: note: add @available attribute to enclosing property
public var text : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:69:23: error: 'Color' is only available in macOS 10.15 or newer
public var tint : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:69:16: note: add @available attribute to enclosing property
public var tint : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:62:16: error: 'Color' is only available in macOS 10.15 or newer
return Color(hex: self.backgroundColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:62:16: note: add 'if #available' version check
return Color(hex: self.backgroundColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:61:16: note: add @available attribute to enclosing property
public var background : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:66:16: error: 'Color' is only available in macOS 10.15 or newer
return Color(hex: self.textColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:66:16: note: add 'if #available' version check
return Color(hex: self.textColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:65:16: note: add @available attribute to enclosing property
public var text : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:70:16: error: 'Color' is only available in macOS 10.15 or newer
return Color(hex: self.tintColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:70:16: note: add 'if #available' version check
return Color(hex: self.tintColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:69:16: note: add @available attribute to enclosing property
public var tint : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:84:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: appIconURL)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:84:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: appIconURL)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:78:17: note: add @available attribute to enclosing instance method
public func getAppIcon() async throws -> Data? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:34: error: 'View' is only available in macOS 10.15 or newer
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:56: error: 'Binding' is only available in macOS 10.15 or newer
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:13:80: error: 'View' is only available in macOS 10.15 or newer
paywall: @escaping () -> V) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
let showAd : Binding<Bool>
^
/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:24:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var monitor : BillboardViewModel
^
/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:26:18: error: 'Binding' is only available in macOS 10.15 or newer
init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:26:5: note: add @available attribute to enclosing initializer
init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
^
/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:33:6: error: 'State' is only available in macOS 10.15 or newer
@State private var advertisement: BillboardAd? = nil
^
/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:34:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showPaywall = false
^
/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:36:48: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/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:18:40: error: 'View' is only available in macOS 10.15 or newer
public struct AdvertisementModifier<V: View>: ViewModifier {
^
/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:14:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:14:14: note: add 'if #available' version check
self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:30:9: error: setter for 'monitor' is only available in macOS 10.15 or newer
self.monitor = BillboardViewModel(configuration: config)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:30:9: note: add 'if #available' version check
self.monitor = BillboardViewModel(configuration: config)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:26:5: note: add @available attribute to enclosing initializer
init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
^
/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:45: error: cannot assign to property: '$monitor' is immutable
.fullScreenCover(item: $monitor.advertisement, onDismiss: { showAd.wrappedValue = false }) { advert in
~~~~~~~~ ^
[25/26] Compiling Billboard BillboardAdResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:61:29: error: 'Color' is only available in macOS 10.15 or newer
public var background : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:61:16: note: add @available attribute to enclosing property
public var background : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:65:23: error: 'Color' is only available in macOS 10.15 or newer
public var text : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:65:16: note: add @available attribute to enclosing property
public var text : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:69:23: error: 'Color' is only available in macOS 10.15 or newer
public var tint : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:69:16: note: add @available attribute to enclosing property
public var tint : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:62:16: error: 'Color' is only available in macOS 10.15 or newer
return Color(hex: self.backgroundColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:62:16: note: add 'if #available' version check
return Color(hex: self.backgroundColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:61:16: note: add @available attribute to enclosing property
public var background : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:66:16: error: 'Color' is only available in macOS 10.15 or newer
return Color(hex: self.textColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:66:16: note: add 'if #available' version check
return Color(hex: self.textColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:65:16: note: add @available attribute to enclosing property
public var text : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:70:16: error: 'Color' is only available in macOS 10.15 or newer
return Color(hex: self.tintColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:70:16: note: add 'if #available' version check
return Color(hex: self.tintColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:69:16: note: add @available attribute to enclosing property
public var tint : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:84:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: appIconURL)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:84:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: appIconURL)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:78:17: note: add @available attribute to enclosing instance method
public func getAppIcon() async throws -> Data? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:34: error: 'View' is only available in macOS 10.15 or newer
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:56: error: 'Binding' is only available in macOS 10.15 or newer
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:13:80: error: 'View' is only available in macOS 10.15 or newer
paywall: @escaping () -> V) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
let showAd : Binding<Bool>
^
/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:24:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var monitor : BillboardViewModel
^
/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:26:18: error: 'Binding' is only available in macOS 10.15 or newer
init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:26:5: note: add @available attribute to enclosing initializer
init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
^
/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:33:6: error: 'State' is only available in macOS 10.15 or newer
@State private var advertisement: BillboardAd? = nil
^
/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:34:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showPaywall = false
^
/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:36:48: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/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:18:40: error: 'View' is only available in macOS 10.15 or newer
public struct AdvertisementModifier<V: View>: ViewModifier {
^
/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:14:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:14:14: note: add 'if #available' version check
self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:30:9: error: setter for 'monitor' is only available in macOS 10.15 or newer
self.monitor = BillboardViewModel(configuration: config)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:30:9: note: add 'if #available' version check
self.monitor = BillboardViewModel(configuration: config)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:26:5: note: add @available attribute to enclosing initializer
init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
^
/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:45: error: cannot assign to property: '$monitor' is immutable
.fullScreenCover(item: $monitor.advertisement, onDismiss: { showAd.wrappedValue = false }) { advert in
~~~~~~~~ ^
[26/26] Compiling Billboard AdvertisementViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:61:29: error: 'Color' is only available in macOS 10.15 or newer
public var background : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:61:16: note: add @available attribute to enclosing property
public var background : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:65:23: error: 'Color' is only available in macOS 10.15 or newer
public var text : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:65:16: note: add @available attribute to enclosing property
public var text : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:69:23: error: 'Color' is only available in macOS 10.15 or newer
public var tint : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:69:16: note: add @available attribute to enclosing property
public var tint : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:62:16: error: 'Color' is only available in macOS 10.15 or newer
return Color(hex: self.backgroundColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:62:16: note: add 'if #available' version check
return Color(hex: self.backgroundColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:61:16: note: add @available attribute to enclosing property
public var background : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:66:16: error: 'Color' is only available in macOS 10.15 or newer
return Color(hex: self.textColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:66:16: note: add 'if #available' version check
return Color(hex: self.textColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:65:16: note: add @available attribute to enclosing property
public var text : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:70:16: error: 'Color' is only available in macOS 10.15 or newer
return Color(hex: self.tintColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:70:16: note: add 'if #available' version check
return Color(hex: self.tintColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:69:16: note: add @available attribute to enclosing property
public var tint : Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:84:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: appIconURL)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:84:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: appIconURL)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:78:17: note: add @available attribute to enclosing instance method
public func getAppIcon() async throws -> Data? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: add @available attribute to enclosing struct
public struct BillboardAd : Codable, Identifiable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:34: error: 'View' is only available in macOS 10.15 or newer
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:56: error: 'Binding' is only available in macOS 10.15 or newer
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:13:80: error: 'View' is only available in macOS 10.15 or newer
paywall: @escaping () -> V) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
let showAd : Binding<Bool>
^
/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:24:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var monitor : BillboardViewModel
^
/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:26:18: error: 'Binding' is only available in macOS 10.15 or newer
init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:26:5: note: add @available attribute to enclosing initializer
init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
^
/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:33:6: error: 'State' is only available in macOS 10.15 or newer
@State private var advertisement: BillboardAd? = nil
^
/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:34:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showPaywall = false
^
/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:36:48: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/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:18:40: error: 'View' is only available in macOS 10.15 or newer
public struct AdvertisementModifier<V: View>: ViewModifier {
^
/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:14:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:14:14: note: add 'if #available' version check
self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:17: note: add @available attribute to enclosing instance method
public func showBillboard<V: View>(when condition: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:30:9: error: setter for 'monitor' is only available in macOS 10.15 or newer
self.monitor = BillboardViewModel(configuration: config)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:30:9: note: add 'if #available' version check
self.monitor = BillboardViewModel(configuration: config)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:26:5: note: add @available attribute to enclosing initializer
init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
^
/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:45: error: cannot assign to property: '$monitor' is immutable
.fullScreenCover(item: $monitor.advertisement, onDismiss: { showAd.wrappedValue = false }) { advert in
~~~~~~~~ ^
error: fatalError
BUILD FAILURE 5.10 macosSpm