Build Information
Failed to build PreviewResizable with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yannxou/PreviewResizable.git
Reference: 1.0.1
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/yannxou/PreviewResizable
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 0679c8a Added List view to example app
Cloned https://github.com/yannxou/PreviewResizable.git
Revision (git rev-parse @):
0679c8a3da21c8d2b08095620bb321a4674b9ff9
SUCCESS checkout https://github.com/yannxou/PreviewResizable.git at 1.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/yannxou/PreviewResizable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module PreviewResizable
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var size: CGSize
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:33: error: 'View' is only available in macOS 10.15 or newer
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: cannot find 'UIScreen' in scope
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: cannot find 'UIScreen' in scope
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isDragging = false
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
@State private var contentSize: CGSize = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:37: error: 'View' is only available in macOS 10.15 or newer
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:47:54: error: 'View' is only available in macOS 10.15 or newer
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:47:18: note: add @available attribute to enclosing instance method
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:73:35: error: 'View' is only available in macOS 10.15 or newer
private var sizeDisplay: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:73:17: note: add @available attribute to enclosing property
private var sizeDisplay: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:61: error: 'View' is only available in macOS 10.15 or newer
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:116:43: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:116:16: note: add @available attribute to enclosing static property
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:33: error: 'Alignment' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:93: error: 'bottom' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:23: error: 'Alignment' is only available in macOS 10.15 or newer
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:112:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:112:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:111:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:23: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:128:37: error: 'View' is only available in macOS 10.15 or newer
func previewResizable() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:128:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:8: note: add @available attribute to enclosing extension
public extension View {
^
[4/5] Compiling PreviewResizable ChildSizeReader.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var size: CGSize
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:33: error: 'View' is only available in macOS 10.15 or newer
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:7:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:7:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:9:18: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
.background(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:10:21: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { proxy in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:11:25: error: 'Color' is only available in macOS 10.15 or newer
Color.clear
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:11:31: error: 'clear' is only available in macOS 10.15 or newer
Color.clear
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:12:30: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
.preference(key: SizePreferenceKey.self, value: proxy.size)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:16:10: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
.onPreferenceChange(SizePreferenceKey.self) { size in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:16:10: note: add 'if #available' version check
.onPreferenceChange(SizePreferenceKey.self) { size in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:17:13: error: setter for 'size' is only available in macOS 10.15 or newer
self.size = size
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:17:13: note: add 'if #available' version check
self.size = size
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
[5/5] Compiling PreviewResizable PreviewResizableViewModifier.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: cannot find 'UIScreen' in scope
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: cannot find 'UIScreen' in scope
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isDragging = false
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
@State private var contentSize: CGSize = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:37: error: 'View' is only available in macOS 10.15 or newer
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:47:54: error: 'View' is only available in macOS 10.15 or newer
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:47:18: note: add @available attribute to enclosing instance method
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:73:35: error: 'View' is only available in macOS 10.15 or newer
private var sizeDisplay: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:73:17: note: add @available attribute to enclosing property
private var sizeDisplay: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:61: error: 'View' is only available in macOS 10.15 or newer
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:116:43: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:116:16: note: add @available attribute to enclosing static property
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:33: error: 'Alignment' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:93: error: 'bottom' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:23: error: 'Alignment' is only available in macOS 10.15 or newer
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:112:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:112:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:111:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:23: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:128:37: error: 'View' is only available in macOS 10.15 or newer
func previewResizable() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:128:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:42:9: error: 'Rectangle' is only available in macOS 10.15 or newer
Rectangle()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:42:9: note: add 'if #available' version check
Rectangle()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:43:14: error: 'strokeBorder(_:style:antialiased:)' is only available in macOS 14.0 or newer
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:43:14: note: add 'if #available' version check
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:43:34: error: 'StrokeStyle' is only available in macOS 10.15 or newer
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:43:34: note: add 'if #available' version check
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:14: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:50: error: 'gray' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:50: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:58: error: 'red' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:58: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:81:48: error: no exact matches in call to initializer
.background(isContentFitting ? Color(uiColor: .systemGroupedBackground) : .red)
^
SwiftUI.Color:12:12: note: incorrect labels for candidate (have: '(uiColor:)', expected: '(_:)')
public init(_ resolved: Color.Resolved)
^
SwiftUI.Color:7:12: note: incorrect labels for candidate (have: '(uiColor:)', expected: '(_:)')
public init(_ cgColor: CGColor)
^
SwiftUI.Color:3:12: note: incorrect labels for candidate (have: '(uiColor:)', expected: '(_:)')
public init(_ name: String, bundle: Bundle? = nil)
^
SwiftUI.Color:3:12: note: incorrect labels for candidate (have: '(uiColor:)', expected: '(_:)')
public init(_ resource: ColorResource)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:81:64: error: reference to member 'systemGroupedBackground' cannot be resolved without a contextual type
.background(isContentFitting ? Color(uiColor: .systemGroupedBackground) : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:90:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:90:9: note: add 'if #available' version check
VStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:90:28: error: 'center' is only available in macOS 10.15 or newer
VStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:90:28: note: add 'if #available' version check
VStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:91:13: error: 'HStack' is only available in macOS 10.15 or newer
HStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:91:13: note: add 'if #available' version check
HStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:91:32: error: 'center' is only available in macOS 10.15 or newer
HStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:91:32: note: add 'if #available' version check
HStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:18: error: 'border(_:width:)' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:18: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:25: error: 'Color' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:25: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:31: error: 'accentColor' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:31: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:113:23: error: 'trailing' is only available in macOS 10.15 or newer
return d[.trailing]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:113:23: note: add 'if #available' version check
return d[.trailing]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:112:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:111:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:129:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(PreviewResizableViewModifier())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:129:9: note: add 'if #available' version check
modifier(PreviewResizableViewModifier())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:128:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:8: note: add @available attribute to enclosing extension
public extension View {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module PreviewResizable
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var size: CGSize
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:33: error: 'View' is only available in macOS 10.15 or newer
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: cannot find 'UIScreen' in scope
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: cannot find 'UIScreen' in scope
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isDragging = false
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
@State private var contentSize: CGSize = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:37: error: 'View' is only available in macOS 10.15 or newer
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:47:54: error: 'View' is only available in macOS 10.15 or newer
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:47:18: note: add @available attribute to enclosing instance method
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:73:35: error: 'View' is only available in macOS 10.15 or newer
private var sizeDisplay: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:73:17: note: add @available attribute to enclosing property
private var sizeDisplay: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:61: error: 'View' is only available in macOS 10.15 or newer
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:116:43: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:116:16: note: add @available attribute to enclosing static property
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:33: error: 'Alignment' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:93: error: 'bottom' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:23: error: 'Alignment' is only available in macOS 10.15 or newer
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:112:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:112:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:111:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:23: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:128:37: error: 'View' is only available in macOS 10.15 or newer
func previewResizable() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:128:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:8: note: add @available attribute to enclosing extension
public extension View {
^
[3/4] Compiling PreviewResizable ChildSizeReader.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var size: CGSize
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:33: error: 'View' is only available in macOS 10.15 or newer
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:7:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:7:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:9:18: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
.background(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:10:21: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { proxy in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:11:25: error: 'Color' is only available in macOS 10.15 or newer
Color.clear
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:11:31: error: 'clear' is only available in macOS 10.15 or newer
Color.clear
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:12:30: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
.preference(key: SizePreferenceKey.self, value: proxy.size)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:16:10: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
.onPreferenceChange(SizePreferenceKey.self) { size in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:16:10: note: add 'if #available' version check
.onPreferenceChange(SizePreferenceKey.self) { size in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:17:13: error: setter for 'size' is only available in macOS 10.15 or newer
self.size = size
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:17:13: note: add 'if #available' version check
self.size = size
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:3:8: note: add @available attribute to enclosing generic struct
struct ChildSizeReader<Content: View>: View {
^
[4/4] Compiling PreviewResizable PreviewResizableViewModifier.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: cannot find 'UIScreen' in scope
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: cannot find 'UIScreen' in scope
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
@State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isDragging = false
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
@State private var contentSize: CGSize = .zero
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:37: error: 'View' is only available in macOS 10.15 or newer
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:47:54: error: 'View' is only available in macOS 10.15 or newer
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:47:18: note: add @available attribute to enclosing instance method
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:73:35: error: 'View' is only available in macOS 10.15 or newer
private var sizeDisplay: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:73:17: note: add @available attribute to enclosing property
private var sizeDisplay: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:61: error: 'View' is only available in macOS 10.15 or newer
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:116:43: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:116:16: note: add @available attribute to enclosing static property
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:33: error: 'Alignment' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:93: error: 'bottom' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:108:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:23: error: 'Alignment' is only available in macOS 10.15 or newer
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:107:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:112:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:112:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:111:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:23: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:110:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:128:37: error: 'View' is only available in macOS 10.15 or newer
func previewResizable() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:128:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:42:9: error: 'Rectangle' is only available in macOS 10.15 or newer
Rectangle()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:42:9: note: add 'if #available' version check
Rectangle()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:43:14: error: 'strokeBorder(_:style:antialiased:)' is only available in macOS 14.0 or newer
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:43:14: note: add 'if #available' version check
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:43:34: error: 'StrokeStyle' is only available in macOS 10.15 or newer
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:43:34: note: add 'if #available' version check
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:14: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:50: error: 'gray' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:50: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:58: error: 'red' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:44:58: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:41:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:81:48: error: no exact matches in call to initializer
.background(isContentFitting ? Color(uiColor: .systemGroupedBackground) : .red)
^
SwiftUI.Color:12:12: note: incorrect labels for candidate (have: '(uiColor:)', expected: '(_:)')
public init(_ resolved: Color.Resolved)
^
SwiftUI.Color:7:12: note: incorrect labels for candidate (have: '(uiColor:)', expected: '(_:)')
public init(_ cgColor: CGColor)
^
SwiftUI.Color:3:12: note: incorrect labels for candidate (have: '(uiColor:)', expected: '(_:)')
public init(_ name: String, bundle: Bundle? = nil)
^
SwiftUI.Color:3:12: note: incorrect labels for candidate (have: '(uiColor:)', expected: '(_:)')
public init(_ resource: ColorResource)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:81:64: error: reference to member 'systemGroupedBackground' cannot be resolved without a contextual type
.background(isContentFitting ? Color(uiColor: .systemGroupedBackground) : .red)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:90:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:90:9: note: add 'if #available' version check
VStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:90:28: error: 'center' is only available in macOS 10.15 or newer
VStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:90:28: note: add 'if #available' version check
VStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:91:13: error: 'HStack' is only available in macOS 10.15 or newer
HStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:91:13: note: add 'if #available' version check
HStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:91:32: error: 'center' is only available in macOS 10.15 or newer
HStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:91:32: note: add 'if #available' version check
HStack(alignment: .center, spacing: 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:18: error: 'border(_:width:)' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:18: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:25: error: 'Color' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:25: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:31: error: 'accentColor' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:95:31: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:89:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:113:23: error: 'trailing' is only available in macOS 10.15 or newer
return d[.trailing]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:113:23: note: add 'if #available' version check
return d[.trailing]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:112:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:111:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:129:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(PreviewResizableViewModifier())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:129:9: note: add 'if #available' version check
modifier(PreviewResizableViewModifier())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:128:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:8: note: add @available attribute to enclosing extension
public extension View {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm