Build Information
Failed to build SwiftUI Apple Watch Decimal Pad, reference main (53bee4
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 10:01:10 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 53bee40 hotfix-platform-compatibility
Cloned https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git
Revision (git rev-parse @):
53bee40ba591829da7c3a180e7e30f3a1af70428
SUCCESS checkout https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftui-apple-watch-decimal-pad",
"name": "SwiftUI Apple Watch Decimal Pad",
"url": "https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI-Apple-Watch-Decimal-Pad",
"dependencies": [
]
}
]
}
Fetching https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git
[1/448] Fetching swiftui-apple-watch-decimal-pad
Fetched https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git from cache (1.20s)
Creating working copy for https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git
Working copy of https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git resolved at main (53bee40)
warning: '.resolve-product-dependencies': dependency 'swiftui-apple-watch-decimal-pad' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling SwiftUI_Apple_Watch_Decimal_Pad DigetPadView.swift
[4/5] Emitting module SwiftUI_Apple_Watch_Decimal_Pad
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:17:45: error: 'View' is only available in macOS 10.15 or newer
15 | @available(tvOS, unavailable)
16 | public struct DigitButtonModifier: ViewModifier {
17 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
18 | return content
19 | .buttonStyle(DigitPadStyle())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:41:61: error: 'View' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
[5/5] Compiling SwiftUI_Apple_Watch_Decimal_Pad Modifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:17:45: error: 'View' is only available in macOS 10.15 or newer
15 | @available(tvOS, unavailable)
16 | public struct DigitButtonModifier: ViewModifier {
17 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
18 | return content
19 | .buttonStyle(DigitPadStyle())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:41:61: error: 'View' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:19:5: error: 'buttonStyle' is only available in macOS 10.15 or newer
15 | @available(tvOS, unavailable)
16 | public struct DigitButtonModifier: ViewModifier {
17 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
18 | return content
19 | .buttonStyle(DigitPadStyle())
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 |
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:31:8: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
28 | @available(tvOS, unavailable)
29 | public extension Button {
30 | func digitKeyFrame() -> some View {
| `- note: add @available attribute to enclosing instance method
31 | self.modifier(DigitButtonModifier())
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:31:8: error: 'modifier' is only available in macOS 10.15 or newer
28 | @available(tvOS, unavailable)
29 | public extension Button {
30 | func digitKeyFrame() -> some View {
| `- note: add @available attribute to enclosing instance method
31 | self.modifier(DigitButtonModifier())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:42:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | configuration.isPressed ?
44 | RoundedRectangle(cornerRadius: 10, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:42:33: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
43 | configuration.isPressed ?
44 | RoundedRectangle(cornerRadius: 10, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:42:33: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
43 | configuration.isPressed ?
44 | RoundedRectangle(cornerRadius: 10, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:44:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
44 | RoundedRectangle(cornerRadius: 10, style: .continuous)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | .fill(Color.gray.opacity(0.7))
46 | .frame(width: geometry.size.width, height: geometry.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:45:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
44 | RoundedRectangle(cornerRadius: 10, style: .continuous)
45 | .fill(Color.gray.opacity(0.7))
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
46 | .frame(width: geometry.size.width, height: geometry.size.height)
47 | .scaleEffect(1.5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:45:23: error: 'Color' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
44 | RoundedRectangle(cornerRadius: 10, style: .continuous)
45 | .fill(Color.gray.opacity(0.7))
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | .frame(width: geometry.size.width, height: geometry.size.height)
47 | .scaleEffect(1.5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:45:29: error: 'gray' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
44 | RoundedRectangle(cornerRadius: 10, style: .continuous)
45 | .fill(Color.gray.opacity(0.7))
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | .frame(width: geometry.size.width, height: geometry.size.height)
47 | .scaleEffect(1.5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:45:34: error: 'opacity' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
44 | RoundedRectangle(cornerRadius: 10, style: .continuous)
45 | .fill(Color.gray.opacity(0.7))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | .frame(width: geometry.size.width, height: geometry.size.height)
47 | .scaleEffect(1.5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:46:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
44 | RoundedRectangle(cornerRadius: 10, style: .continuous)
45 | .fill(Color.gray.opacity(0.7))
46 | .frame(width: geometry.size.width, height: geometry.size.height)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | .scaleEffect(1.5)
48 | :
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:47:18: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
45 | .fill(Color.gray.opacity(0.7))
46 | .frame(width: geometry.size.width, height: geometry.size.height)
47 | .scaleEffect(1.5)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | :
49 | RoundedRectangle(cornerRadius: 10, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:49:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
47 | .scaleEffect(1.5)
48 | :
49 | RoundedRectangle(cornerRadius: 10, style: .continuous)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | .fill(Color.gray.opacity(0.5))
51 | .frame(width: geometry.size.width, height: geometry.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:50:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
48 | :
49 | RoundedRectangle(cornerRadius: 10, style: .continuous)
50 | .fill(Color.gray.opacity(0.5))
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
51 | .frame(width: geometry.size.width, height: geometry.size.height)
52 | .scaleEffect(1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:50:23: error: 'Color' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
48 | :
49 | RoundedRectangle(cornerRadius: 10, style: .continuous)
50 | .fill(Color.gray.opacity(0.5))
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | .frame(width: geometry.size.width, height: geometry.size.height)
52 | .scaleEffect(1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:50:29: error: 'gray' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
48 | :
49 | RoundedRectangle(cornerRadius: 10, style: .continuous)
50 | .fill(Color.gray.opacity(0.5))
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | .frame(width: geometry.size.width, height: geometry.size.height)
52 | .scaleEffect(1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:50:34: error: 'opacity' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
48 | :
49 | RoundedRectangle(cornerRadius: 10, style: .continuous)
50 | .fill(Color.gray.opacity(0.5))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | .frame(width: geometry.size.width, height: geometry.size.height)
52 | .scaleEffect(1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:51:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
49 | RoundedRectangle(cornerRadius: 10, style: .continuous)
50 | .fill(Color.gray.opacity(0.5))
51 | .frame(width: geometry.size.width, height: geometry.size.height)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | .scaleEffect(1)
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:52:18: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
50 | .fill(Color.gray.opacity(0.5))
51 | .frame(width: geometry.size.width, height: geometry.size.height)
52 | .scaleEffect(1)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 |
54 | configuration.label
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:55:18: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
53 |
54 | configuration.label
55 | .background(
| |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | ZStack {
57 | GeometryReader(content: { geometry in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:56:21: error: 'ZStack' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
54 | configuration.label
55 | .background(
56 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | GeometryReader(content: { geometry in
58 | RoundedRectangle(cornerRadius: 10, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:56:28: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
54 | configuration.label
55 | .background(
56 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
57 | GeometryReader(content: { geometry in
58 | RoundedRectangle(cornerRadius: 10, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:57:25: error: 'GeometryReader' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
55 | .background(
56 | ZStack {
57 | GeometryReader(content: { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | RoundedRectangle(cornerRadius: 10, style: .continuous)
59 | .fill(Color.clear)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:57:49: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
55 | .background(
56 | ZStack {
57 | GeometryReader(content: { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
58 | RoundedRectangle(cornerRadius: 10, style: .continuous)
59 | .fill(Color.clear)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:58:29: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
56 | ZStack {
57 | GeometryReader(content: { geometry in
58 | RoundedRectangle(cornerRadius: 10, style: .continuous)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .fill(Color.clear)
60 | .frame(width: configuration.isPressed ? geometry.size.width/0.75 : geometry.size.width, height: configuration.isPressed ? geometry.size.height/0.8 : geometry.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:59:34: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
57 | GeometryReader(content: { geometry in
58 | RoundedRectangle(cornerRadius: 10, style: .continuous)
59 | .fill(Color.clear)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
60 | .frame(width: configuration.isPressed ? geometry.size.width/0.75 : geometry.size.width, height: configuration.isPressed ? geometry.size.height/0.8 : geometry.size.height)
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:59:39: error: 'Color' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
57 | GeometryReader(content: { geometry in
58 | RoundedRectangle(cornerRadius: 10, style: .continuous)
59 | .fill(Color.clear)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | .frame(width: configuration.isPressed ? geometry.size.width/0.75 : geometry.size.width, height: configuration.isPressed ? geometry.size.height/0.8 : geometry.size.height)
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:59:45: error: 'clear' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
57 | GeometryReader(content: { geometry in
58 | RoundedRectangle(cornerRadius: 10, style: .continuous)
59 | .fill(Color.clear)
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | .frame(width: configuration.isPressed ? geometry.size.width/0.75 : geometry.size.width, height: configuration.isPressed ? geometry.size.height/0.8 : geometry.size.height)
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:60:34: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
58 | RoundedRectangle(cornerRadius: 10, style: .continuous)
59 | .fill(Color.clear)
60 | .frame(width: configuration.isPressed ? geometry.size.width/0.75 : geometry.size.width, height: configuration.isPressed ? geometry.size.height/0.8 : geometry.size.height)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 |
62 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:67:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
65 | }
66 | )
67 | .frame(width: geometry.size.width, height: geometry.size.height)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | .scaleEffect(configuration.isPressed ? 1.2 : 1)
69 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:68:18: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
66 | )
67 | .frame(width: geometry.size.width, height: geometry.size.height)
68 | .scaleEffect(configuration.isPressed ? 1.2 : 1)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | })
70 | .onChange(of: configuration.isPressed, perform: { value in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift:70:5: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
39 | @available(tvOS, unavailable)
40 | public struct DigitPadStyle: ButtonStyle {
41 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add @available attribute to enclosing instance method
42 | GeometryReader(content: { geometry in
43 | configuration.isPressed ?
:
68 | .scaleEffect(configuration.isPressed ? 1.2 : 1)
69 | })
70 | .onChange(of: configuration.isPressed, perform: { value in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
71 | if configuration.isPressed{
72 | DispatchQueue.main.async {
BUILD FAILURE 6.0 macosSpm