Build Information
Failed to build PreviewResizable with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yannxou/PreviewResizable.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/yannxou/PreviewResizable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ff59f64 Update README.md
Cloned https://github.com/yannxou/PreviewResizable.git
Revision (git rev-parse @):
ff59f6419111b1912f288d67da4867ed365419a9
SUCCESS checkout https://github.com/yannxou/PreviewResizable.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "previewresizable",
"name": "PreviewResizable",
"url": "https://github.com/yannxou/PreviewResizable.git",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PreviewResizable",
"dependencies": [
]
}
]
}
Fetching https://github.com/yannxou/PreviewResizable.git
[1/90] Fetching previewresizable
Fetched https://github.com/yannxou/PreviewResizable.git (0.33s)
Creating working copy for https://github.com/yannxou/PreviewResizable.git
Working copy of https://github.com/yannxou/PreviewResizable.git resolved at main
warning: '.resolve-product-dependencies': dependency 'previewresizable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module PreviewResizable
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isRunning = false
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:23:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:23:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:37: error: 'View' is only available in macOS 10.15 or newer
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:59:54: error: 'View' is only available in macOS 10.15 or newer
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:59:18: note: add @available attribute to enclosing instance method
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:86:35: error: 'View' is only available in macOS 10.15 or newer
private var sizeDisplay: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:86:17: note: add @available attribute to enclosing property
private var sizeDisplay: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:61: error: 'View' is only available in macOS 10.15 or newer
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:130:43: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:130:16: note: add @available attribute to enclosing static property
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:33: error: 'Alignment' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:93: error: 'bottom' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:23: error: 'Alignment' is only available in macOS 10.15 or newer
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:126:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:126:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:125:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:23: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:142:37: error: 'View' is only available in macOS 10.15 or newer
func previewResizable() -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:142:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:8: note: add @available attribute to enclosing extension
public extension View {
^
[2/3] Compiling PreviewResizable ChildSizeReader.swift
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:7:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:16:10: note: add 'if #available' version check
.onPreferenceChange(SizePreferenceKey.self) { size in
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:17:13: note: add 'if #available' version check
self.size = size
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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 {
^
[3/3] Compiling PreviewResizable PreviewResizableViewModifier.swift
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isRunning = false
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:23:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:23:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:37: error: 'View' is only available in macOS 10.15 or newer
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:59:54: error: 'View' is only available in macOS 10.15 or newer
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:59:18: note: add @available attribute to enclosing instance method
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:86:35: error: 'View' is only available in macOS 10.15 or newer
private var sizeDisplay: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:86:17: note: add @available attribute to enclosing property
private var sizeDisplay: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:61: error: 'View' is only available in macOS 10.15 or newer
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:130:43: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:130:16: note: add @available attribute to enclosing static property
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:33: error: 'Alignment' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:93: error: 'bottom' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:23: error: 'Alignment' is only available in macOS 10.15 or newer
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:126:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:126:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:125:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:23: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:142:37: error: 'View' is only available in macOS 10.15 or newer
func previewResizable() -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:142:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:54:9: error: 'Rectangle' is only available in macOS 10.15 or newer
Rectangle()
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:54:9: note: add 'if #available' version check
Rectangle()
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:55:14: error: 'strokeBorder(_:style:antialiased:)' is only available in macOS 14.0 or newer
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:55:14: note: add 'if #available' version check
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:55:34: error: 'StrokeStyle' is only available in macOS 10.15 or newer
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:55:34: note: add 'if #available' version check
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:14: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:50: error: 'gray' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:50: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:58: error: 'red' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:58: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:94: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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:94:64: error: reference to member 'systemGroupedBackground' cannot be resolved without a contextual type
.background(isContentFitting ? Color(uiColor: .systemGroupedBackground) : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:104:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:104:9: note: add 'if #available' version check
VStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:104:28: error: 'center' is only available in macOS 10.15 or newer
VStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:104:28: note: add 'if #available' version check
VStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:105:13: error: 'HStack' is only available in macOS 10.15 or newer
HStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:105:13: note: add 'if #available' version check
HStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:105:32: error: 'center' is only available in macOS 10.15 or newer
HStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:105:32: note: add 'if #available' version check
HStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:18: error: 'border(_:width:)' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:18: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:25: error: 'Color' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:25: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:31: error: 'accentColor' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:31: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:127:23: error: 'trailing' is only available in macOS 10.15 or newer
return d[.trailing]
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:127:23: note: add 'if #available' version check
return d[.trailing]
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:126:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:125:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:143:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(PreviewResizableViewModifier())
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:143:9: note: add 'if #available' version check
modifier(PreviewResizableViewModifier())
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:142:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:8: note: add @available attribute to enclosing extension
public extension View {
^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module PreviewResizable
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isRunning = false
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:23:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:23:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:37: error: 'View' is only available in macOS 10.15 or newer
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:59:54: error: 'View' is only available in macOS 10.15 or newer
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:59:18: note: add @available attribute to enclosing instance method
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:86:35: error: 'View' is only available in macOS 10.15 or newer
private var sizeDisplay: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:86:17: note: add @available attribute to enclosing property
private var sizeDisplay: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:61: error: 'View' is only available in macOS 10.15 or newer
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:130:43: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:130:16: note: add @available attribute to enclosing static property
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:33: error: 'Alignment' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:93: error: 'bottom' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:23: error: 'Alignment' is only available in macOS 10.15 or newer
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:126:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:126:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:125:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:23: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:142:37: error: 'View' is only available in macOS 10.15 or newer
func previewResizable() -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:142:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:8: note: add @available attribute to enclosing extension
public extension View {
^
[2/3] Compiling PreviewResizable ChildSizeReader.swift
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:7:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:16:10: note: add 'if #available' version check
.onPreferenceChange(SizePreferenceKey.self) { size in
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:17:13: note: add 'if #available' version check
self.size = size
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift:6:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/h8344Zi3/1/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 {
^
[3/3] Compiling PreviewResizable PreviewResizableViewModifier.swift
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isRunning = false
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:23:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:23:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:37: error: 'View' is only available in macOS 10.15 or newer
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:59:54: error: 'View' is only available in macOS 10.15 or newer
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:59:18: note: add @available attribute to enclosing instance method
private func dragHandle(maxSize: CGSize) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:86:35: error: 'View' is only available in macOS 10.15 or newer
private var sizeDisplay: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:86:17: note: add @available attribute to enclosing property
private var sizeDisplay: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:61: error: 'View' is only available in macOS 10.15 or newer
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:130:43: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:130:16: note: add @available attribute to enclosing static property
static let crossHorizontalAlignment = HorizontalAlignment(CrossHorizontalAlignment.self)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:33: error: 'Alignment' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:93: error: 'bottom' is only available in macOS 10.15 or newer
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:122:16: note: add @available attribute to enclosing static property
static let crossAlignment = Alignment(horizontal: .crossHorizontalAlignment, vertical: .bottom)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:23: error: 'Alignment' is only available in macOS 10.15 or newer
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:121:13: note: add @available attribute to enclosing extension
fileprivate extension Alignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:126:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:126:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:125:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:23: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:124:13: note: add @available attribute to enclosing extension
fileprivate extension HorizontalAlignment {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:142:37: error: 'View' is only available in macOS 10.15 or newer
func previewResizable() -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:142:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:54:9: error: 'Rectangle' is only available in macOS 10.15 or newer
Rectangle()
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:54:9: note: add 'if #available' version check
Rectangle()
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:55:14: error: 'strokeBorder(_:style:antialiased:)' is only available in macOS 14.0 or newer
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:55:14: note: add 'if #available' version check
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:55:34: error: 'StrokeStyle' is only available in macOS 10.15 or newer
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:55:34: note: add 'if #available' version check
.strokeBorder(style: StrokeStyle(lineWidth: 1, dash: [5]))
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:14: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:50: error: 'gray' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:50: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:58: error: 'red' is only available in macOS 10.15 or newer
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:56:58: note: add 'if #available' version check
.foregroundColor(isContentFitting ? .gray : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:53:17: note: add @available attribute to enclosing property
private var rectangleHint: some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:94: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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:94:64: error: reference to member 'systemGroupedBackground' cannot be resolved without a contextual type
.background(isContentFitting ? Color(uiColor: .systemGroupedBackground) : .red)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:104:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:104:9: note: add 'if #available' version check
VStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:104:28: error: 'center' is only available in macOS 10.15 or newer
VStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:104:28: note: add 'if #available' version check
VStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:105:13: error: 'HStack' is only available in macOS 10.15 or newer
HStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:105:13: note: add 'if #available' version check
HStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:105:32: error: 'center' is only available in macOS 10.15 or newer
HStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:105:32: note: add 'if #available' version check
HStack(alignment: .center, spacing: 0) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:18: error: 'border(_:width:)' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:18: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:25: error: 'Color' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:25: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:31: error: 'accentColor' is only available in macOS 10.15 or newer
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:109:31: note: add 'if #available' version check
.border(Color.accentColor, width: isDragging ? 1 : 0)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:103:18: note: add @available attribute to enclosing instance method
private func contentWrapper(_ content: Content) -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:10:8: note: add @available attribute to enclosing struct
struct PreviewResizableViewModifier: ViewModifier {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:127:23: error: 'trailing' is only available in macOS 10.15 or newer
return d[.trailing]
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:127:23: note: add 'if #available' version check
return d[.trailing]
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:126:21: note: add @available attribute to enclosing static method
static func defaultValue(in d: ViewDimensions) -> CGFloat {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:125:18: note: add @available attribute to enclosing enum
private enum CrossHorizontalAlignment : AlignmentID {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:143:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(PreviewResizableViewModifier())
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:143:9: note: add 'if #available' version check
modifier(PreviewResizableViewModifier())
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:142:10: note: add @available attribute to enclosing instance method
func previewResizable() -> some View {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:135:8: note: add @available attribute to enclosing extension
public extension View {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm