Build Information
Failed to build SwiftUI Apple Watch Decimal Pad, reference main (53bee4
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 16:47:35 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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.15s)
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.1
Building package at path: $PWD
https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git
https://github.com/ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUI Apple Watch Decimal Pad",
"name" : "SwiftUI Apple Watch Decimal Pad",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SwiftUI Apple Watch Decimal Pad",
"targets" : [
"SwiftUI Apple Watch Decimal Pad"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftUI_Apple_Watch_Decimal_Pad",
"module_type" : "SwiftTarget",
"name" : "SwiftUI Apple Watch Decimal Pad",
"path" : "Sources/SwiftUI Apple Watch Decimal Pad",
"product_memberships" : [
"SwiftUI Apple Watch Decimal Pad"
],
"sources" : [
"DigetPadView.swift",
"Modifiers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Compiling SwiftUI_Apple_Watch_Decimal_Pad DigetPadView.swift
[4/5] Emitting module SwiftUI_Apple_Watch_Decimal_Pad
[5/5] Compiling SwiftUI_Apple_Watch_Decimal_Pad Modifiers.swift
/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 {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Emitting module SwiftUI_Apple_Watch_Decimal_Pad
[3/4] Compiling SwiftUI_Apple_Watch_Decimal_Pad DigetPadView.swift
[4/4] Compiling SwiftUI_Apple_Watch_Decimal_Pad Modifiers.swift
/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.1 macosSpm