Build Information
Failed to build PhotoBoxKit, reference main (ba96eb
), with Swift 5.10 for macOS (SPM) on 3 Jun 2025 22:31:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Desp0o/PhotoBoxKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Desp0o/PhotoBoxKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ba96eb8 Update README.md
Cloned https://github.com/Desp0o/PhotoBoxKit.git
Revision (git rev-parse @):
ba96eb8963fefa83ea9c9ffcef9dc8a0789ebef0
SUCCESS checkout https://github.com/Desp0o/PhotoBoxKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/Desp0o/PhotoBoxKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module PhotoBoxKit
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:12:52: error: cannot find type 'UIImage' in scope
@MainActor static let shared = NSCache<NSString, UIImage>()
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:17:29: error: cannot find type 'UIImage' in scope
@State private var image: UIImage? = nil
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:17:4: error: 'State' is only available in macOS 10.15 or newer
@State private var image: UIImage? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:16:8: note: add @available attribute to enclosing struct
struct AsyncCachedIamge: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:20:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:20:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:16:8: note: add @available attribute to enclosing struct
struct AsyncCachedIamge: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:8:4: error: 'State' is only available in macOS 10.15 or newer
@State private var isFading = false
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:10:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var activeIndex: Int
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:11:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isVisible: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:17:16: error: 'Color' is only available in macOS 10.15 or newer
let bgColor: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:18:21: error: 'Color' is only available in macOS 10.15 or newer
let counterColor: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:22:18: error: 'Binding' is only available in macOS 10.15 or newer
activeIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:23:16: error: 'Binding' is only available in macOS 10.15 or newer
isVisible: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:14: error: 'Color' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:19: error: 'Color' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:22: error: 'Color' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:28: error: 'black' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:34: error: 'opacity' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:27: error: 'Color' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:33: error: 'white' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:25: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:154:46: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:154:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:152:8: note: add @available attribute to enclosing struct
struct PhotoBoxKitModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:163:18: error: 'Binding' is only available in macOS 10.15 or newer
activeIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:164:16: error: 'Binding' is only available in macOS 10.15 or newer
isVisible: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:14: error: 'Color' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:19: error: 'Color' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:171:13: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:22: error: 'Color' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:28: error: 'black' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:34: error: 'opacity' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:27: error: 'Color' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:33: error: 'white' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:13:37: error: 'UnitPoint' is only available in macOS 10.15 or newer
@State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:13:4: error: 'State' is only available in macOS 10.15 or newer
@State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:14:35: error: 'UnitPoint' is only available in macOS 10.15 or newer
@State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:14:4: error: 'State' is only available in macOS 10.15 or newer
@State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:16:32: error: 'Color' is only available in macOS 10.15 or newer
private var gradientColors: [Color] = [
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:17:6: error: 'gray' is only available in macOS 10.15 or newer
.gray.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:17:11: error: 'opacity' is only available in macOS 10.15 or newer
.gray.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:18:6: error: 'white' is only available in macOS 10.15 or newer
.white.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:18:12: error: 'opacity' is only available in macOS 10.15 or newer
.white.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:19:6: error: 'gray' is only available in macOS 10.15 or newer
.gray.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:19:11: error: 'opacity' is only available in macOS 10.15 or newer
.gray.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
[4/6] Compiling PhotoBoxKit AsyncCachedIamge.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:12:52: error: cannot find type 'UIImage' in scope
@MainActor static let shared = NSCache<NSString, UIImage>()
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:17:29: error: cannot find type 'UIImage' in scope
@State private var image: UIImage? = nil
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:17:4: error: 'State' is only available in macOS 10.15 or newer
@State private var image: UIImage? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:16:8: note: add @available attribute to enclosing struct
struct AsyncCachedIamge: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:20:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:20:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:16:8: note: add @available attribute to enclosing struct
struct AsyncCachedIamge: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:21:5: error: no exact matches in call to initializer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:22:7: note: closure containing control flow statement cannot be used with result builder 'AccessibilityRotorContentBuilder'
if let uiImage = image {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:22:7: note: closure containing control flow statement cannot be used with result builder 'SceneBuilder'
if let uiImage = image {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:45:51: 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/PhotoBoxKit/AsyncCachedIamge.swift:45:51: note: add 'if #available' version check
let (data, _) = try await URLSession.shared.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:36:16: note: add @available attribute to enclosing instance method
private func downloadImage(with url: URL) async {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:16:8: note: add @available attribute to enclosing struct
struct AsyncCachedIamge: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/AsyncCachedIamge.swift:46:32: error: cannot find 'UIImage' in scope
if let downloadedImage = UIImage(data: data) {
^~~~~~~
[5/6] Compiling PhotoBoxKit ShimmerEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:13:37: error: 'UnitPoint' is only available in macOS 10.15 or newer
@State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:13:4: error: 'State' is only available in macOS 10.15 or newer
@State private var startingPoint: UnitPoint = .init(x: -1.8, y: -1.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:14:35: error: 'UnitPoint' is only available in macOS 10.15 or newer
@State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:14:4: error: 'State' is only available in macOS 10.15 or newer
@State private var endingPoint: UnitPoint = .init(x: 0, y: -0.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:16:32: error: 'Color' is only available in macOS 10.15 or newer
private var gradientColors: [Color] = [
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:17:6: error: 'gray' is only available in macOS 10.15 or newer
.gray.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:17:11: error: 'opacity' is only available in macOS 10.15 or newer
.gray.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:18:6: error: 'white' is only available in macOS 10.15 or newer
.white.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:18:12: error: 'opacity' is only available in macOS 10.15 or newer
.white.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:19:6: error: 'gray' is only available in macOS 10.15 or newer
.gray.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:19:11: error: 'opacity' is only available in macOS 10.15 or newer
.gray.opacity(0.2),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:23:5: error: 'LinearGradient' is only available in macOS 10.15 or newer
LinearGradient(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:23:5: note: add 'if #available' version check
LinearGradient(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:28:6: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:28:6: note: add 'if #available' version check
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:7: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:7: note: add 'if #available' version check
withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:22: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:22: note: add 'if #available' version check
withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:43: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:29:43: note: add 'if #available' version check
withAnimation(.easeOut(duration: 1).repeatForever(autoreverses: false)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:30:9: error: setter for 'startingPoint' is only available in macOS 10.15 or newer
startingPoint = .init(x: 1, y: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:30:9: note: add 'if #available' version check
startingPoint = .init(x: 1, y: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:31:9: error: setter for 'endingPoint' is only available in macOS 10.15 or newer
endingPoint = .init(x: 2.2, y: 2.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:31:9: note: add 'if #available' version check
endingPoint = .init(x: 2.2, y: 2.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:22:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/ShimmerEffect.swift:12:8: note: add @available attribute to enclosing struct
struct ShimmerEffect: View {
^
[6/6] Compiling PhotoBoxKit PhotoBoxKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:8:4: error: 'State' is only available in macOS 10.15 or newer
@State private var isFading = false
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:10:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var activeIndex: Int
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:11:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isVisible: Bool
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:17:16: error: 'Color' is only available in macOS 10.15 or newer
let bgColor: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:18:21: error: 'Color' is only available in macOS 10.15 or newer
let counterColor: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:22:18: error: 'Binding' is only available in macOS 10.15 or newer
activeIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:23:16: error: 'Binding' is only available in macOS 10.15 or newer
isVisible: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:14: error: 'Color' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:19: error: 'Color' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:22: error: 'Color' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:28: error: 'black' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:28:34: error: 'opacity' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:27: error: 'Color' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:29:33: error: 'white' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:25: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:154:46: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:154:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:152:8: note: add @available attribute to enclosing struct
struct PhotoBoxKitModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:163:18: error: 'Binding' is only available in macOS 10.15 or newer
activeIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:164:16: error: 'Binding' is only available in macOS 10.15 or newer
isVisible: Binding<Bool>,
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:14: error: 'Color' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:19: error: 'Color' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:171:13: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:22: error: 'Color' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:28: error: 'black' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:169:34: error: 'opacity' is only available in macOS 10.15 or newer
bgColor: Color = Color.black.opacity(0.9),
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:27: error: 'Color' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:170:33: error: 'white' is only available in macOS 10.15 or newer
counterColor: Color = Color.white
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:31:22: error: 'State' is only available in macOS 10.15 or newer
self._isFading = State(initialValue: isFading)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:31:22: note: add 'if #available' version check
self._isFading = State(initialValue: isFading)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:20:10: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:5: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:5: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:5: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:5: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:12: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:12: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:12: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:12: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:46:17: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
bgColor.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:46:17: note: add 'if #available' version check
bgColor.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:47:12: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:47:12: note: add 'if #available' version check
.onTapGesture {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:48:13: error: setter for 'isVisible' is only available in macOS 10.15 or newer
isVisible = false
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:48:13: note: add 'if #available' version check
isVisible = false
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:9: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:52:11: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:52:11: note: add 'if #available' version check
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:52:11: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:52:11: note: add 'if #available' version check
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:55:14: error: 'scaledToFit()' is only available in macOS 10.15 or newer
.scaledToFit()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:55:14: note: add 'if #available' version check
.scaledToFit()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:56:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(RoundedRectangle(cornerRadius: cornerRadius))
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:56:14: note: add 'if #available' version check
.clipShape(RoundedRectangle(cornerRadius: cornerRadius))
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:56:24: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
.clipShape(RoundedRectangle(cornerRadius: cornerRadius))
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:56:24: note: add 'if #available' version check
.clipShape(RoundedRectangle(cornerRadius: cornerRadius))
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:57:14: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(isFading ? 0 : 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:57:14: note: add 'if #available' version check
.opacity(isFading ? 0 : 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:58:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:58:14: note: add 'if #available' version check
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:59:15: error: setter for 'isFading' is only available in macOS 10.15 or newer
isFading = false
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:59:15: note: add 'if #available' version check
isFading = false
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:61:14: error: 'id' is only available in macOS 10.15 or newer
.id(activeIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:61:14: note: add 'if #available' version check
.id(activeIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:62:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: activeIndex) { _ in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:62:14: note: add 'if #available' version check
.onChange(of: activeIndex) { _ in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:63:15: error: setter for 'isFading' is only available in macOS 10.15 or newer
isFading = true
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:63:15: note: add 'if #available' version check
isFading = true
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:65:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.horizontal, 20)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:65:14: note: add 'if #available' version check
.padding(.horizontal, 20)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:67:11: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:67:11: note: add 'if #available' version check
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:67:11: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:67:11: note: add 'if #available' version check
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:11: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:11: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:71:15: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text("\(activeIndex + 1) / \(urls.count)")
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:71:15: note: add 'if #available' version check
Text("\(activeIndex + 1) / \(urls.count)")
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:71:15: error: 'Text' is only available in macOS 10.15 or newer
Text("\(activeIndex + 1) / \(urls.count)")
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:71:15: note: add 'if #available' version check
Text("\(activeIndex + 1) / \(urls.count)")
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:72:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(counterColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:72:18: note: add 'if #available' version check
.foregroundColor(counterColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:70:24: error: 'buildIf' is only available in macOS 10.15 or newer
if counter {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:70:24: note: add 'if #available' version check
if counter {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:70:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
if counter {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:70:24: note: add 'if #available' version check
if counter {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:73:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:73:13: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:75:15: error: 'ScrollViewReader' is only available in macOS 11.0 or newer
ScrollViewReader { proxy in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:75:15: note: add 'if #available' version check
ScrollViewReader { proxy in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:75:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ScrollViewReader { proxy in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:75:32: note: add 'if #available' version check
ScrollViewReader { proxy in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:75:32: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
ScrollViewReader { proxy in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:75:32: note: add 'if #available' version check
ScrollViewReader { proxy in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:17: error: 'ScrollView' is only available in macOS 10.15 or newer
ScrollView(.horizontal) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:17: note: add 'if #available' version check
ScrollView(.horizontal) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:17: error: 'init(_:content:)' is only available in macOS 10.15 or newer
ScrollView(.horizontal) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:17: note: add 'if #available' version check
ScrollView(.horizontal) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:41: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ScrollView(.horizontal) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:41: note: add 'if #available' version check
ScrollView(.horizontal) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:41: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
ScrollView(.horizontal) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:76:41: note: add 'if #available' version check
ScrollView(.horizontal) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:19: error: 'LazyHStack' is only available in macOS 11.0 or newer
LazyHStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:19: note: add 'if #available' version check
LazyHStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:19: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
LazyHStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:19: note: add 'if #available' version check
LazyHStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:43: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
LazyHStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:43: note: add 'if #available' version check
LazyHStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(urls.indices, id: \.self) { index in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:21: note: add 'if #available' version check
ForEach(urls.indices, id: \.self) { index in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:21: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(urls.indices, id: \.self) { index in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:21: note: add 'if #available' version check
ForEach(urls.indices, id: \.self) { index in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:21: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(urls.indices, id: \.self) { index in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:21: note: add 'if #available' version check
ForEach(urls.indices, id: \.self) { index in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:55: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
ForEach(urls.indices, id: \.self) { index in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:78:55: note: add 'if #available' version check
ForEach(urls.indices, id: \.self) { index in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:81:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: 50, height: 50)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:81:26: note: add 'if #available' version check
.frame(width: 50, height: 50)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:82:26: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(RoundedRectangle(cornerRadius: cornerRadius))
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:82:26: note: add 'if #available' version check
.clipShape(RoundedRectangle(cornerRadius: cornerRadius))
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:82:36: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
.clipShape(RoundedRectangle(cornerRadius: cornerRadius))
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:82:36: note: add 'if #available' version check
.clipShape(RoundedRectangle(cornerRadius: cornerRadius))
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:83:26: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
.overlay {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:83:26: note: add 'if #available' version check
.overlay {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:83:34: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
.overlay {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:83:34: note: add 'if #available' version check
.overlay {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:85:29: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: cornerRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:85:29: note: add 'if #available' version check
RoundedRectangle(cornerRadius: cornerRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:85:29: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: cornerRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:85:29: note: add 'if #available' version check
RoundedRectangle(cornerRadius: cornerRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:86:32: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
.stroke(Color.white, lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:86:32: note: add 'if #available' version check
.stroke(Color.white, lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:86:39: error: 'Color' is only available in macOS 10.15 or newer
.stroke(Color.white, lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:86:39: note: add 'if #available' version check
.stroke(Color.white, lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:86:45: error: 'white' is only available in macOS 10.15 or newer
.stroke(Color.white, lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:86:45: note: add 'if #available' version check
.stroke(Color.white, lineWidth: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:84:51: error: 'buildIf' is only available in macOS 10.15 or newer
if index == activeIndex {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:84:51: note: add 'if #available' version check
if index == activeIndex {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:84:51: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
if index == activeIndex {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:84:51: note: add 'if #available' version check
if index == activeIndex {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:87:27: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:87:27: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:83:34: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
.overlay {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:83:34: note: add 'if #available' version check
.overlay {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:89:26: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:89:26: note: add 'if #available' version check
.onTapGesture {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:90:27: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:90:27: note: add 'if #available' version check
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:90:42: error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:90:42: note: add 'if #available' version check
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:91:29: error: setter for 'activeIndex' is only available in macOS 10.15 or newer
activeIndex = index
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:91:29: note: add 'if #available' version check
activeIndex = index
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:94:26: error: 'id' is only available in macOS 10.15 or newer
.id(index)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:94:26: note: add 'if #available' version check
.id(index)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:43: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
LazyHStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:77:43: note: add 'if #available' version check
LazyHStack(spacing: 10) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:97:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: 50)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:97:20: note: add 'if #available' version check
.frame(height: 50)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:98:20: error: 'padding' is only available in macOS 10.15 or newer
.padding(.horizontal, 20)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:98:20: note: add 'if #available' version check
.padding(.horizontal, 20)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:100:18: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: activeIndex) { index in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:100:18: note: add 'if #available' version check
.onChange(of: activeIndex) { index in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:101:19: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:101:19: note: add 'if #available' version check
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:101:34: error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:101:34: note: add 'if #available' version check
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:105:18: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:105:18: note: add 'if #available' version check
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:108:18: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
.scrollIndicators(.hidden)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:108:18: note: add 'if #available' version check
.scrollIndicators(.hidden)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:74:24: error: 'buildIf' is only available in macOS 10.15 or newer
if gallery {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:74:24: note: add 'if #available' version check
if gallery {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:110:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:110:13: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:69:18: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:51:16: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:113:10: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:113:10: note: add 'if #available' version check
.gesture(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:114:11: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:114:11: note: add 'if #available' version check
DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:114:11: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:114:11: note: add 'if #available' version check
DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:115:14: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { value in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:115:14: note: add 'if #available' version check
.onEnded { value in
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:116:15: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:116:15: note: add 'if #available' version check
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:116:30: error: 'snappy(duration:extraBounce:)' is only available in macOS 10.15 or newer
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:116:30: note: add 'if #available' version check
withAnimation(.snappy(duration: 0.3)) {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:125:17: error: setter for 'isVisible' is only available in macOS 10.15 or newer
isVisible = false
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:125:17: note: add 'if #available' version check
isVisible = false
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:45:20: error: 'buildIf' is only available in macOS 10.15 or newer
if isVisible {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:45:20: note: add 'if #available' version check
if isVisible {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:129:7: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:129:7: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:12: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:44:12: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:131:6: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: .infinity, maxHeight: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:131:6: note: add 'if #available' version check
.frame(maxWidth: .infinity, maxHeight: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:43:14: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:136:7: error: cannot pass as inout because setter for 'activeIndex' is only available in macOS 10.15 or newer
activeIndex += 1
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:136:7: note: add 'if #available' version check
activeIndex += 1
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:134:16: note: add @available attribute to enclosing instance method
private func nextImage() {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:138:7: error: setter for 'activeIndex' is only available in macOS 10.15 or newer
activeIndex = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:138:7: note: add 'if #available' version check
activeIndex = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:134:16: note: add @available attribute to enclosing instance method
private func nextImage() {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:144:7: error: cannot pass as inout because setter for 'activeIndex' is only available in macOS 10.15 or newer
activeIndex -= 1
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:144:7: note: add 'if #available' version check
activeIndex -= 1
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:142:16: note: add @available attribute to enclosing instance method
private func prevImage() {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:146:7: error: setter for 'activeIndex' is only available in macOS 10.15 or newer
activeIndex = urls.count - 1
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:146:7: note: add 'if #available' version check
activeIndex = urls.count - 1
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:142:16: note: add @available attribute to enclosing instance method
private func prevImage() {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:7:15: note: add @available attribute to enclosing struct
public struct PhotoBoxKit: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:156:8: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(boxkit)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:156:8: note: add 'if #available' version check
.overlay(boxkit)
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:154:15: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:152:8: note: add @available attribute to enclosing struct
struct PhotoBoxKitModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:172:5: error: 'modifier' is only available in macOS 10.15 or newer
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:172:5: note: add 'if #available' version check
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:162:8: note: add @available attribute to enclosing instance method
func photoBoxKit(
^
/Users/admin/builder/spi-builder-workspace/Sources/PhotoBoxKit/PhotoBoxKit.swift:161:8: note: add @available attribute to enclosing extension
public extension View {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm