Build Information
Failed to build swiftui-buymeacoffee, reference main (9f0240), with Swift 6.3 for macOS (SPM) on 8 Nov 2026 13:54:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexandrehsaad/swiftui-buymeacoffee.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexandrehsaad/swiftui-buymeacoffee
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9f02404 docs: align tutorial chapter title
Cloned https://github.com/alexandrehsaad/swiftui-buymeacoffee.git
Revision (git rev-parse @):
9f024046d6fa082833abc98e2d5b476dc30d468e
SUCCESS checkout https://github.com/alexandrehsaad/swiftui-buymeacoffee.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/alexandrehsaad/swiftui-buymeacoffee.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin BuyMeACoffeeLinterPlugin
[2/2] Compiling plugin BuyMeACoffeeSnapshotsPlugin
[3/3] Compiling plugin Lint Source Code
[4/4] Compiling plugin Format Source Code
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
[7/7] Compiling plugin Swift-DocC Preview
[8/8] Compiling plugin Swift-DocC
Building for debugging...
[8/135] Write swift-format-tool-entitlement.plist
[8/135] Write sources
[8/135] Write swift-format-entitlement.plist
[8/135] Copying Info.plist
[8/135] Copying Cookie-OFL.md
[8/135] Write sources
[8/135] Copying Localizable.xcstrings
[8/135] Copying Cookie.otf
[14/135] Write sources
[18/135] Write swift-version-69A768CDF2A0BEE1.txt
[19/135] Copying Assets.xcassets
[20/167] Compiling cmark-gfm-extensions core-extensions.c
[21/167] Compiling cmark-gfm-extensions tagfilter.c
[22/167] Compiling cmark-gfm-extensions tasklist.c
[23/167] Compiling cmark-gfm-extensions ext_scanners.c
[24/167] Compiling cmark-gfm-extensions table.c
[25/167] Compiling cmark-gfm-extensions strikethrough.c
[26/167] Compiling cmark-gfm-extensions table.c
[27/167] Compiling cmark-gfm-extensions tagfilter.c
[28/167] Compiling cmark-gfm-extensions tasklist.c
[29/167] Compiling cmark-gfm-extensions core-extensions.c
[30/167] Compiling cmark-gfm-extensions ext_scanners.c
[31/167] Compiling cmark-gfm-extensions strikethrough.c
[32/167] Compiling cmark-gfm xml.c
[33/167] Compiling cmark-gfm syntax_extension.c
[34/167] Compiling cmark-gfm registry.c
[35/167] Compiling cmark-gfm render.c
[36/167] Compiling cmark-gfm references.c
[37/167] Compiling cmark-gfm plugin.c
[38/167] Compiling cmark-gfm utf8.c
[39/167] Compiling cmark-gfm plaintext.c
[40/167] Compiling cmark-gfm linked_list.c
[41/167] Compiling cmark-gfm map.c
[42/167] Compiling cmark-gfm man.c
[43/167] Compiling cmark-gfm node.c
[44/167] Compiling cmark-gfm latex.c
[45/167] Compiling cmark-gfm scanners.c
[46/167] Compiling cmark-gfm iterator.c
[47/167] Compiling cmark-gfm html.c
[48/167] Compiling cmark-gfm houdini_html_e.c
[49/167] Compiling cmark-gfm houdini_href_e.c
[50/167] Compiling cmark-gfm houdini_html_u.c
[51/167] Compiling cmark-gfm footnotes.c
[52/167] Compiling cmark-gfm inlines.c
[53/167] Compiling cmark-gfm commonmark.c
[54/167] Compiling cmark-gfm-extensions autolink.c
[55/167] Compiling cmark-gfm cmark_ctype.c
[56/167] Compiling cmark-gfm cmark.c
[57/167] Compiling cmark-gfm arena.c
[58/167] Compiling cmark-gfm buffer.c
[59/167] Compiling cmark-gfm xml.c
[60/167] Compiling cmark-gfm syntax_extension.c
[61/167] Compiling cmark-gfm blocks.c
[62/167] Compiling cmark-gfm render.c
[63/167] Compiling cmark-gfm registry.c
[64/167] Compiling cmark-gfm utf8.c
[64/167] Compiling cmark-gfm references.c
[65/167] Compiling cmark-gfm plugin.c
[67/167] Compiling cmark-gfm plaintext.c
[68/167] Compiling cmark-gfm node.c
[69/167] Compiling cmark-gfm map.c
[70/167] Compiling cmark-gfm man.c
[71/167] Compiling cmark-gfm linked_list.c
[72/167] Compiling cmark-gfm iterator.c
[73/167] Compiling cmark-gfm latex.c
[74/167] Compiling cmark-gfm scanners.c
[75/167] Compiling cmark-gfm houdini_html_e.c
[76/167] Compiling cmark-gfm houdini_href_e.c
[77/167] Compiling cmark-gfm html.c
[78/167] Compiling cmark-gfm inlines.c
[79/167] Compiling cmark-gfm footnotes.c
[80/167] Compiling cmark-gfm cmark_ctype.c
[81/167] Compiling cmark-gfm houdini_html_u.c
[82/167] Compiling cmark-gfm commonmark.c
[83/167] Compiling cmark-gfm cmark.c
[84/167] Write sources
[88/167] Compiling cmark-gfm buffer.c
[89/167] Compiling cmark-gfm arena.c
[90/167] Write sources
[92/167] Compiling cmark-gfm blocks.c
[93/171] Compiling cmark-gfm-extensions autolink.c
[93/171] Write sources
[97/177] Compiling InstructionsExecuted.c
[98/177] Compiling _SwiftSyntaxCShims PlatformMutex.c
[99/177] Compiling InstructionsExecuted.c
[100/177] Write sources
[102/177] Compiling _SwiftSyntaxCShims PlatformMutex.c
[104/185] Compiling SwiftSyntax601 Empty.swift
[105/185] Emitting module SwiftSyntax601
[106/185] Compiling SwiftSyntax600 Empty.swift
[107/185] Emitting module SwiftSyntax600
[107/185] Write sources
[111/185] Compiling SwiftSyntax602 Empty.swift
[112/185] Emitting module SwiftSyntax602
[113/185] Emitting module SwiftSyntax603
[114/185] Compiling SwiftSyntax603 Empty.swift
[116/185] Emitting module SwiftSyntax603
[116/185] Write sources
[133/185] Compiling SwiftSyntax602 Empty.swift
[134/185] Emitting module SwiftSyntax602
[135/185] Emitting module SwiftSyntax600
[136/185] Compiling SwiftSyntax600 Empty.swift
[136/185] Write sources
[139/185] Compiling SwiftSyntax510 Empty.swift
[140/185] Emitting module SwiftSyntax510
[141/185] Compiling SwiftSyntax601 Empty.swift
[142/185] Emitting module SwiftSyntax601
[142/185] Write sources
[145/185] Compiling CAtomic CAtomic.c
[148/195] Compiling SwiftSyntax510 Empty.swift
[149/195] Emitting module SwiftSyntax509
[150/195] Compiling SwiftSyntax509 Empty.swift
[151/195] Emitting module SwiftSyntax510
[152/195] Emitting module SwiftSyntax509
[153/195] Compiling SwiftSyntax509 Empty.swift
[154/477] Compiling ArgumentParserToolInfo ToolInfo.swift
[155/477] Emitting module ArgumentParserToolInfo
[156/477] Compiling ArgumentParserToolInfo ToolInfo.swift
[157/477] Emitting module ArgumentParserToolInfo
[158/573] Compiling ArgumentParser BashCompletionsGenerator.swift
[159/573] Compiling ArgumentParser CompletionsGenerator.swift
[160/573] Compiling ArgumentParser FishCompletionsGenerator.swift
[161/573] Compiling ArgumentParser ZshCompletionsGenerator.swift
[162/573] Compiling ArgumentParser Flag.swift
[163/573] Compiling ArgumentParser NameSpecification.swift
[164/573] Compiling ArgumentParser Option.swift
[165/580] Compiling ArgumentParser DumpHelpGenerator.swift
[166/580] Compiling ArgumentParser HelpCommand.swift
[167/580] Compiling ArgumentParser HelpGenerator.swift
[168/580] Compiling ArgumentParser MessageInfo.swift
[169/580] Compiling ArgumentParser SequenceExtensions.swift
[170/580] Compiling ArgumentParser StringExtensions.swift
[171/580] Compiling ArgumentParser SwiftExtensions.swift
[172/587] Compiling ArgumentParser OptionGroup.swift
[173/587] Compiling ArgumentParser ParentCommand.swift
[174/587] Compiling ArgumentParser AsyncParsableCommand.swift
[175/587] Compiling ArgumentParser CommandConfiguration.swift
[176/587] Compiling ArgumentParser ArgumentDecoder.swift
[177/587] Compiling ArgumentParser ArgumentDefinition.swift
[178/587] Compiling ArgumentParser ArgumentSet.swift
[179/587] Compiling SwiftSyntax Utils.swift
[180/587] Compiling SwiftSyntax ChildNameForKeyPath.swift
[181/587] Compiling SwiftSyntax Keyword.swift
[182/587] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[183/587] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[184/587] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[185/587] Compiling SwiftSyntax SyntaxBaseNodes.swift
[186/594] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[187/594] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[188/594] Compiling SwiftSyntax RawSyntaxTokenView.swift
[189/594] Compiling SwiftSyntax SourceEdit.swift
[190/594] Compiling SwiftSyntax SourceLength.swift
[191/594] Compiling SwiftSyntax SourceLocation.swift
[192/594] Compiling SwiftSyntax SourcePresence.swift
[193/601] Compiling ArgumentParser NameSpecification.swift
[194/601] Compiling ArgumentParser UsageGenerator.swift
[195/601] Compiling ArgumentParser CollectionExtensions.swift
[196/601] Compiling ArgumentParser Foundation.swift
[197/601] Compiling ArgumentParser Mutex.swift
[198/601] Compiling ArgumentParser Platform.swift
[199/601] Compiling ArgumentParser SplitArguments.swift
[200/601] Emitting module Markdown
[206/606] Emitting module ArgumentParser
[208/611] Compiling ArgumentParser Option.swift
[209/611] Compiling ArgumentParser OptionGroup.swift
[210/611] Compiling ArgumentParser ParentCommand.swift
[211/611] Compiling ArgumentParser AsyncParsableCommand.swift
[212/611] Compiling ArgumentParser CommandConfiguration.swift
[216/611] Compiling ArgumentParser Tree.swift
[217/611] Compiling ArgumentParser AsyncCompletionsValidator.swift
[224/611] Compiling ArgumentParser InputOrigin.swift
[225/611] Compiling ArgumentParser Name.swift
[226/611] Compiling ArgumentParser Parsed.swift
[227/611] Compiling ArgumentParser ParsedValues.swift
[228/611] Compiling ArgumentParser ParserError.swift
[237/611] Compiling ArgumentParser CommandParser.swift
[238/611] Compiling ArgumentParser InputKey.swift
[244/611] Compiling ArgumentParser CodingKeyValidator.swift
[245/611] Compiling ArgumentParser NonsenseFlagsValidator.swift
[246/611] Compiling ArgumentParser ParsableArgumentsValidation.swift
[247/611] Compiling ArgumentParser PositionalArgumentsValidator.swift
[248/611] Compiling ArgumentParser UniqueNamesValidator.swift
[265/611] Compiling ArgumentParser ArgumentHelp.swift
[266/611] Compiling ArgumentParser ArgumentVisibility.swift
[267/611] Compiling ArgumentParser CompletionKind.swift
[268/611] Compiling ArgumentParser Errors.swift
[269/611] Compiling ArgumentParser Flag.swift
[312/611] Emitting module Markdown
[355/611] Compiling Markdown CollectionExtensions.swift
[356/611] Compiling Markdown StringExtensions.swift
[357/611] Compiling Markdown MarkupVisitor.swift
[358/611] Compiling Markdown MarkupWalker.swift
[359/611] Compiling Markdown HTMLFormatter.swift
[360/611] Compiling Markdown MarkupFormatter.swift
[361/611] Compiling Markdown MarkupTreeDumper.swift
[427/611] Emitting module SwiftSyntax
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonPreview/BuyMeACoffeeButtonPreview.swift:19:47: error: 'glassProminent' is only available in macOS 26.0 or newer
17 | VStack {
18 | BuyMeACoffeeButton(username: "myusername")
19 | .buttonStyle(.glassProminent)
| |- error: 'glassProminent' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
20 | .tint(.blue)
21 | BuyMeACoffeeButton(username: "myusername")
macro expansion #Preview:26:59: error: 'glassProminent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonPreview/BuyMeACoffeeButtonPreview.swift:37:2: note: expanded code originates here
9 | import SwiftUI
10 |
11 | #Preview {
| |- note: in expansion of macro 'Preview' here
| |- note: in expansion of macro 'Preview' here
| `- note: in expansion of macro 'Preview' here
12 | ScrollView {
13 | LazyVStack {
:
35 | .padding(.horizontal)
36 | }
37 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add '@available' attribute to enclosing static method
|14 | DeveloperToolsSupport.Preview {
|15 | func __b_buildView(@SwiftUI.ViewBuilder body: () -> any SwiftUI.View) -> any SwiftUI.View {
| :
|24 | VStack {
|25 | BuyMeACoffeeButton(username: "myusername")
|26 | .buttonStyle(.glassProminent)
| | |- error: 'glassProminent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|27 | .tint(.blue)
|28 | BuyMeACoffeeButton(username: "myusername")
+--------------------------------------------------------------------
38 |
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonPreview/BuyMeACoffeeButtonPreview.swift:19:47: error: 'glassProminent' is only available in macOS 26.0 or newer
17 | VStack {
18 | BuyMeACoffeeButton(username: "myusername")
19 | .buttonStyle(.glassProminent)
| |- error: 'glassProminent' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
20 | .tint(.blue)
21 | BuyMeACoffeeButton(username: "myusername")
macro expansion #Preview:26:59: error: 'glassProminent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonPreview/BuyMeACoffeeButtonPreview.swift:37:2: note: expanded code originates here
9 | import SwiftUI
10 |
11 | #Preview {
| |- note: in expansion of macro 'Preview' here
| |- note: in expansion of macro 'Preview' here
| `- note: in expansion of macro 'Preview' here
12 | ScrollView {
13 | LazyVStack {
:
35 | .padding(.horizontal)
36 | }
37 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add '@available' attribute to enclosing static method
|14 | DeveloperToolsSupport.Preview {
|15 | func __b_buildView(@SwiftUI.ViewBuilder body: () -> any SwiftUI.View) -> any SwiftUI.View {
| :
|24 | VStack {
|25 | BuyMeACoffeeButton(username: "myusername")
|26 | .buttonStyle(.glassProminent)
| | |- error: 'glassProminent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|27 | .tint(.blue)
|28 | BuyMeACoffeeButton(username: "myusername")
+--------------------------------------------------------------------
38 |
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonPreview/BuyMeACoffeeButtonPreview.swift:19:47: error: 'glassProminent' is only available in macOS 26.0 or newer
17 | VStack {
18 | BuyMeACoffeeButton(username: "myusername")
19 | .buttonStyle(.glassProminent)
| |- error: 'glassProminent' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
20 | .tint(.blue)
21 | BuyMeACoffeeButton(username: "myusername")
macro expansion #Preview:26:59: error: 'glassProminent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonPreview/BuyMeACoffeeButtonPreview.swift:37:2: note: expanded code originates here
9 | import SwiftUI
10 |
11 | #Preview {
| |- note: in expansion of macro 'Preview' here
| |- note: in expansion of macro 'Preview' here
| `- note: in expansion of macro 'Preview' here
12 | ScrollView {
13 | LazyVStack {
:
35 | .padding(.horizontal)
36 | }
37 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add '@available' attribute to enclosing static method
|14 | DeveloperToolsSupport.Preview {
|15 | func __b_buildView(@SwiftUI.ViewBuilder body: () -> any SwiftUI.View) -> any SwiftUI.View {
| :
|24 | VStack {
|25 | BuyMeACoffeeButton(username: "myusername")
|26 | .buttonStyle(.glassProminent)
| | |- error: 'glassProminent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|27 | .tint(.blue)
|28 | BuyMeACoffeeButton(username: "myusername")
+--------------------------------------------------------------------
38 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[454/613] Emitting module BuyMeACoffee
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonPreview/BuyMeACoffeeButtonPreview.swift:19:47: error: 'glassProminent' is only available in macOS 26.0 or newer
17 | VStack {
18 | BuyMeACoffeeButton(username: "myusername")
19 | .buttonStyle(.glassProminent)
| |- error: 'glassProminent' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
20 | .tint(.blue)
21 | BuyMeACoffeeButton(username: "myusername")
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:18:20: error: 'buttonSizing' is only available in macOS 26.0 or newer
11 | /// A Liquid Glass appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 26, *)
13 | public struct BuyMeACoffeeGlassButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
16 |
17 | /// The preferred sizing behavior of the button.
18 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'buttonSizing' is only available in macOS 26.0 or newer
19 |
20 | /// The size applied to the button.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:18:60: error: 'ButtonSizing' is only available in macOS 26.0 or newer
11 | /// A Liquid Glass appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 26, *)
13 | public struct BuyMeACoffeeGlassButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
16 |
17 | /// The preferred sizing behavior of the button.
18 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'ButtonSizing' is only available in macOS 26.0 or newer
19 |
20 | /// The size applied to the button.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/ButtonSizingFrameMaxWidthInfinity.swift:15:20: error: 'buttonSizing' is only available in macOS 26.0 or newer
11 | /// A modifier that expands a button configured for flexible sizing to the available width.
12 | @available(iOS 26, *)
13 | internal struct ButtonSizingFrameMaxWidthInfinityModifier {
| `- note: add '@available' attribute to enclosing struct
14 | /// The preferred sizing behavior of the button.
15 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'buttonSizing' is only available in macOS 26.0 or newer
16 |
17 | /// Creates a button sizing frame modifier.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/ButtonSizingFrameMaxWidthInfinity.swift:15:60: error: 'ButtonSizing' is only available in macOS 26.0 or newer
11 | /// A modifier that expands a button configured for flexible sizing to the available width.
12 | @available(iOS 26, *)
13 | internal struct ButtonSizingFrameMaxWidthInfinityModifier {
| `- note: add '@available' attribute to enclosing struct
14 | /// The preferred sizing behavior of the button.
15 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'ButtonSizing' is only available in macOS 26.0 or newer
16 |
17 | /// Creates a button sizing frame modifier.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/View+Backports.swift:30:13: error: conformance of 'ButtonBorderShape' to 'Shape' is only available in macOS 14.0 or newer
9 | import SwiftUI
10 |
11 | extension View {
| `- note: add '@available' attribute to enclosing extension
12 | /// Expands a flexibly sized button to the available width on iOS 26 and later.
13 | ///
:
26 | /// - Returns: A view clipped to the button border shape when available.
27 | @ViewBuilder
28 | internal func backportedClipShapeButtonBorder() -> some View {
| `- note: add '@available' attribute to enclosing instance method
29 | if #available(iOS 17, *) {
30 | clipShape(.buttonBorder)
| |- error: conformance of 'ButtonBorderShape' to 'Shape' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
31 | } else {
32 | self
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/View+Backports.swift:30:24: error: 'buttonBorder' is only available in macOS 14.0 or newer
9 | import SwiftUI
10 |
11 | extension View {
| `- note: add '@available' attribute to enclosing extension
12 | /// Expands a flexibly sized button to the available width on iOS 26 and later.
13 | ///
:
26 | /// - Returns: A view clipped to the button border shape when available.
27 | @ViewBuilder
28 | internal func backportedClipShapeButtonBorder() -> some View {
| `- note: add '@available' attribute to enclosing instance method
29 | if #available(iOS 17, *) {
30 | clipShape(.buttonBorder)
| |- error: 'buttonBorder' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
31 | } else {
32 | self
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/View+Backports.swift:42:13: error: 'symbolColorRenderingMode' is only available in macOS 26.0 or newer
9 | import SwiftUI
10 |
11 | extension View {
| `- note: add '@available' attribute to enclosing extension
12 | /// Expands a flexibly sized button to the available width on iOS 26 and later.
13 | ///
:
38 | /// - Returns: A view that uses flat symbol color rendering when available.
39 | @ViewBuilder
40 | internal func backportedSymbolColorRenderingModeFlat() -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | if #available(iOS 26, *) {
42 | symbolColorRenderingMode(.flat)
| |- error: 'symbolColorRenderingMode' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
43 | } else {
44 | self
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/View+Backports.swift:30:13: error: conformance of 'ButtonBorderShape' to 'Shape' is only available in macOS 14.0 or newer
9 | import SwiftUI
10 |
11 | extension View {
| `- note: add '@available' attribute to enclosing extension
12 | /// Expands a flexibly sized button to the available width on iOS 26 and later.
13 | ///
:
26 | /// - Returns: A view clipped to the button border shape when available.
27 | @ViewBuilder
28 | internal func backportedClipShapeButtonBorder() -> some View {
| `- note: add '@available' attribute to enclosing instance method
29 | if #available(iOS 17, *) {
30 | clipShape(.buttonBorder)
| |- error: conformance of 'ButtonBorderShape' to 'Shape' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
31 | } else {
32 | self
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/View+Backports.swift:30:24: error: 'buttonBorder' is only available in macOS 14.0 or newer
9 | import SwiftUI
10 |
11 | extension View {
| `- note: add '@available' attribute to enclosing extension
12 | /// Expands a flexibly sized button to the available width on iOS 26 and later.
13 | ///
:
26 | /// - Returns: A view clipped to the button border shape when available.
27 | @ViewBuilder
28 | internal func backportedClipShapeButtonBorder() -> some View {
| `- note: add '@available' attribute to enclosing instance method
29 | if #available(iOS 17, *) {
30 | clipShape(.buttonBorder)
| |- error: 'buttonBorder' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
31 | } else {
32 | self
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/View+Backports.swift:42:13: error: 'symbolColorRenderingMode' is only available in macOS 26.0 or newer
9 | import SwiftUI
10 |
11 | extension View {
| `- note: add '@available' attribute to enclosing extension
12 | /// Expands a flexibly sized button to the available width on iOS 26 and later.
13 | ///
:
38 | /// - Returns: A view that uses flat symbol color rendering when available.
39 | @ViewBuilder
40 | internal func backportedSymbolColorRenderingModeFlat() -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | if #available(iOS 26, *) {
42 | symbolColorRenderingMode(.flat)
| |- error: 'symbolColorRenderingMode' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
43 | } else {
44 | self
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/ButtonSizingFrameMaxWidthInfinity.swift:15:20: error: 'buttonSizing' is only available in macOS 26.0 or newer
11 | /// A modifier that expands a button configured for flexible sizing to the available width.
12 | @available(iOS 26, *)
13 | internal struct ButtonSizingFrameMaxWidthInfinityModifier {
| `- note: add '@available' attribute to enclosing struct
14 | /// The preferred sizing behavior of the button.
15 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'buttonSizing' is only available in macOS 26.0 or newer
16 |
17 | /// Creates a button sizing frame modifier.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/ButtonSizingFrameMaxWidthInfinity.swift:15:60: error: 'ButtonSizing' is only available in macOS 26.0 or newer
11 | /// A modifier that expands a button configured for flexible sizing to the available width.
12 | @available(iOS 26, *)
13 | internal struct ButtonSizingFrameMaxWidthInfinityModifier {
| `- note: add '@available' attribute to enclosing struct
14 | /// The preferred sizing behavior of the button.
15 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'ButtonSizing' is only available in macOS 26.0 or newer
16 |
17 | /// Creates a button sizing frame modifier.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/ButtonSizingFrameMaxWidthInfinity.swift:15:20: error: 'buttonSizing' is only available in macOS 26.0 or newer
11 | /// A modifier that expands a button configured for flexible sizing to the available width.
12 | @available(iOS 26, *)
13 | internal struct ButtonSizingFrameMaxWidthInfinityModifier {
| `- note: add '@available' attribute to enclosing struct
14 | /// The preferred sizing behavior of the button.
15 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'buttonSizing' is only available in macOS 26.0 or newer
16 |
17 | /// Creates a button sizing frame modifier.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/Helpers/ButtonSizingFrameMaxWidthInfinity.swift:15:60: error: 'ButtonSizing' is only available in macOS 26.0 or newer
11 | /// A modifier that expands a button configured for flexible sizing to the available width.
12 | @available(iOS 26, *)
13 | internal struct ButtonSizingFrameMaxWidthInfinityModifier {
| `- note: add '@available' attribute to enclosing struct
14 | /// The preferred sizing behavior of the button.
15 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'ButtonSizing' is only available in macOS 26.0 or newer
16 |
17 | /// Creates a button sizing frame modifier.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeButtonStyle.swift:66:35: error: 'buttonBorder' is only available in macOS 14.0 or newer
11 | /// The appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 15, *)
13 | public struct BuyMeACoffeeButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
:
58 | /// The border displayed for the current border treatment and color scheme.
59 | @ViewBuilder
60 | private var borderColor: some View {
| `- note: add '@available' attribute to enclosing property
61 | if #available(iOS 17, *) {
62 | if let borderColor: Color = self.tint.borderColor(
:
64 | colorScheme: self.colorScheme
65 | ) {
66 | ButtonBorderShape.buttonBorder
| |- error: 'buttonBorder' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
67 | .strokeBorder(
68 | borderColor,
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeButtonStyle.swift:67:22: error: conformance of 'ButtonBorderShape' to 'InsettableShape' is only available in macOS 14.0 or newer
11 | /// The appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 15, *)
13 | public struct BuyMeACoffeeButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
:
58 | /// The border displayed for the current border treatment and color scheme.
59 | @ViewBuilder
60 | private var borderColor: some View {
| `- note: add '@available' attribute to enclosing property
61 | if #available(iOS 17, *) {
62 | if let borderColor: Color = self.tint.borderColor(
:
65 | ) {
66 | ButtonBorderShape.buttonBorder
67 | .strokeBorder(
| |- error: conformance of 'ButtonBorderShape' to 'InsettableShape' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 | borderColor,
69 | lineWidth: 1
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:18:20: error: 'buttonSizing' is only available in macOS 26.0 or newer
11 | /// A Liquid Glass appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 26, *)
13 | public struct BuyMeACoffeeGlassButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
16 |
17 | /// The preferred sizing behavior of the button.
18 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'buttonSizing' is only available in macOS 26.0 or newer
19 |
20 | /// The size applied to the button.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:18:60: error: 'ButtonSizing' is only available in macOS 26.0 or newer
11 | /// A Liquid Glass appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 26, *)
13 | public struct BuyMeACoffeeGlassButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
16 |
17 | /// The preferred sizing behavior of the button.
18 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'ButtonSizing' is only available in macOS 26.0 or newer
19 |
20 | /// The size applied to the button.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:56:14: error: 'symbolColorRenderingMode' is only available in macOS 26.0 or newer
45 |
46 | @available(iOS 26, *)
47 | extension BuyMeACoffeeGlassButtonStyle: ButtonStyle {
| `- note: add '@available' attribute to enclosing extension
48 | public func makeBody(configuration: Self.Configuration) -> some View {
| `- note: add '@available' attribute to enclosing instance method
49 | let isPressed: Bool = self.pressedStateOverride ?? configuration.isPressed
50 | return configuration.label
:
54 | .environment(\.buyMeACoffeeTitleScale, self.dynamicTypeSize.titleScale)
55 | .symbolRenderingMode(.palette)
56 | .symbolColorRenderingMode(.flat)
| |- error: 'symbolColorRenderingMode' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
57 | .padding(.horizontal, self.controlSize.padding.horizontal)
58 | .padding(.vertical, self.controlSize.padding.vertical)
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:61:14: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
45 |
46 | @available(iOS 26, *)
47 | extension BuyMeACoffeeGlassButtonStyle: ButtonStyle {
| `- note: add '@available' attribute to enclosing extension
48 | public func makeBody(configuration: Self.Configuration) -> some View {
| `- note: add '@available' attribute to enclosing instance method
49 | let isPressed: Bool = self.pressedStateOverride ?? configuration.isPressed
50 | return configuration.label
:
59 | .frame(maxWidth: self.buttonSizing == .flexible ? .infinity : nil)
60 | .opacity(isPressed == true ? 0.75 : 1)
61 | .glassEffect(
| |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
62 | .regular
63 | .tint(self.isEnabled == true ? self.tint.backgroundColor : Color.primary.opacity(0.08))
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:65:22: error: 'buttonBorder' is only available in macOS 14.0 or newer
45 |
46 | @available(iOS 26, *)
47 | extension BuyMeACoffeeGlassButtonStyle: ButtonStyle {
| `- note: add '@available' attribute to enclosing extension
48 | public func makeBody(configuration: Self.Configuration) -> some View {
| `- note: add '@available' attribute to enclosing instance method
49 | let isPressed: Bool = self.pressedStateOverride ?? configuration.isPressed
50 | return configuration.label
:
63 | .tint(self.isEnabled == true ? self.tint.backgroundColor : Color.primary.opacity(0.08))
64 | .interactive(),
65 | in: .buttonBorder
| |- error: 'buttonBorder' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
66 | )
67 | .animation(
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeButtonStyle.swift:66:35: error: 'buttonBorder' is only available in macOS 14.0 or newer
11 | /// The appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 15, *)
13 | public struct BuyMeACoffeeButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
:
58 | /// The border displayed for the current border treatment and color scheme.
59 | @ViewBuilder
60 | private var borderColor: some View {
| `- note: add '@available' attribute to enclosing property
61 | if #available(iOS 17, *) {
62 | if let borderColor: Color = self.tint.borderColor(
:
64 | colorScheme: self.colorScheme
65 | ) {
66 | ButtonBorderShape.buttonBorder
| |- error: 'buttonBorder' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
67 | .strokeBorder(
68 | borderColor,
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeButtonStyle.swift:67:22: error: conformance of 'ButtonBorderShape' to 'InsettableShape' is only available in macOS 14.0 or newer
11 | /// The appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 15, *)
13 | public struct BuyMeACoffeeButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
:
58 | /// The border displayed for the current border treatment and color scheme.
59 | @ViewBuilder
60 | private var borderColor: some View {
| `- note: add '@available' attribute to enclosing property
61 | if #available(iOS 17, *) {
62 | if let borderColor: Color = self.tint.borderColor(
:
65 | ) {
66 | ButtonBorderShape.buttonBorder
67 | .strokeBorder(
| |- error: conformance of 'ButtonBorderShape' to 'InsettableShape' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 | borderColor,
69 | lineWidth: 1
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:18:20: error: 'buttonSizing' is only available in macOS 26.0 or newer
11 | /// A Liquid Glass appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 26, *)
13 | public struct BuyMeACoffeeGlassButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
16 |
17 | /// The preferred sizing behavior of the button.
18 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'buttonSizing' is only available in macOS 26.0 or newer
19 |
20 | /// The size applied to the button.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:18:60: error: 'ButtonSizing' is only available in macOS 26.0 or newer
11 | /// A Liquid Glass appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 26, *)
13 | public struct BuyMeACoffeeGlassButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
16 |
17 | /// The preferred sizing behavior of the button.
18 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'ButtonSizing' is only available in macOS 26.0 or newer
19 |
20 | /// The size applied to the button.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:56:14: error: 'symbolColorRenderingMode' is only available in macOS 26.0 or newer
45 |
46 | @available(iOS 26, *)
47 | extension BuyMeACoffeeGlassButtonStyle: ButtonStyle {
| `- note: add '@available' attribute to enclosing extension
48 | public func makeBody(configuration: Self.Configuration) -> some View {
| `- note: add '@available' attribute to enclosing instance method
49 | let isPressed: Bool = self.pressedStateOverride ?? configuration.isPressed
50 | return configuration.label
:
54 | .environment(\.buyMeACoffeeTitleScale, self.dynamicTypeSize.titleScale)
55 | .symbolRenderingMode(.palette)
56 | .symbolColorRenderingMode(.flat)
| |- error: 'symbolColorRenderingMode' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
57 | .padding(.horizontal, self.controlSize.padding.horizontal)
58 | .padding(.vertical, self.controlSize.padding.vertical)
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:61:14: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
45 |
46 | @available(iOS 26, *)
47 | extension BuyMeACoffeeGlassButtonStyle: ButtonStyle {
| `- note: add '@available' attribute to enclosing extension
48 | public func makeBody(configuration: Self.Configuration) -> some View {
| `- note: add '@available' attribute to enclosing instance method
49 | let isPressed: Bool = self.pressedStateOverride ?? configuration.isPressed
50 | return configuration.label
:
59 | .frame(maxWidth: self.buttonSizing == .flexible ? .infinity : nil)
60 | .opacity(isPressed == true ? 0.75 : 1)
61 | .glassEffect(
| |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
62 | .regular
63 | .tint(self.isEnabled == true ? self.tint.backgroundColor : Color.primary.opacity(0.08))
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:65:22: error: 'buttonBorder' is only available in macOS 14.0 or newer
45 |
46 | @available(iOS 26, *)
47 | extension BuyMeACoffeeGlassButtonStyle: ButtonStyle {
| `- note: add '@available' attribute to enclosing extension
48 | public func makeBody(configuration: Self.Configuration) -> some View {
| `- note: add '@available' attribute to enclosing instance method
49 | let isPressed: Bool = self.pressedStateOverride ?? configuration.isPressed
50 | return configuration.label
:
63 | .tint(self.isEnabled == true ? self.tint.backgroundColor : Color.primary.opacity(0.08))
64 | .interactive(),
65 | in: .buttonBorder
| |- error: 'buttonBorder' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
66 | )
67 | .animation(
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeButtonStyle.swift:66:35: error: 'buttonBorder' is only available in macOS 14.0 or newer
11 | /// The appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 15, *)
13 | public struct BuyMeACoffeeButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
:
58 | /// The border displayed for the current border treatment and color scheme.
59 | @ViewBuilder
60 | private var borderColor: some View {
| `- note: add '@available' attribute to enclosing property
61 | if #available(iOS 17, *) {
62 | if let borderColor: Color = self.tint.borderColor(
:
64 | colorScheme: self.colorScheme
65 | ) {
66 | ButtonBorderShape.buttonBorder
| |- error: 'buttonBorder' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
67 | .strokeBorder(
68 | borderColor,
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeButtonStyle.swift:67:22: error: conformance of 'ButtonBorderShape' to 'InsettableShape' is only available in macOS 14.0 or newer
11 | /// The appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 15, *)
13 | public struct BuyMeACoffeeButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
:
58 | /// The border displayed for the current border treatment and color scheme.
59 | @ViewBuilder
60 | private var borderColor: some View {
| `- note: add '@available' attribute to enclosing property
61 | if #available(iOS 17, *) {
62 | if let borderColor: Color = self.tint.borderColor(
:
65 | ) {
66 | ButtonBorderShape.buttonBorder
67 | .strokeBorder(
| |- error: conformance of 'ButtonBorderShape' to 'InsettableShape' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 | borderColor,
69 | lineWidth: 1
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:18:20: error: 'buttonSizing' is only available in macOS 26.0 or newer
11 | /// A Liquid Glass appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 26, *)
13 | public struct BuyMeACoffeeGlassButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
16 |
17 | /// The preferred sizing behavior of the button.
18 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'buttonSizing' is only available in macOS 26.0 or newer
19 |
20 | /// The size applied to the button.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:18:60: error: 'ButtonSizing' is only available in macOS 26.0 or newer
11 | /// A Liquid Glass appearance for a `BuyMeACoffeeButton`.
12 | @available(iOS 26, *)
13 | public struct BuyMeACoffeeGlassButtonStyle {
| `- note: add '@available' attribute to enclosing struct
14 | /// Whether the system preference to reduce motion is enabled.
15 | @Environment(\.accessibilityReduceMotion) private var accessibilityReduceMotion: Bool
16 |
17 | /// The preferred sizing behavior of the button.
18 | @Environment(\.buttonSizing) private var buttonSizing: ButtonSizing
| `- error: 'ButtonSizing' is only available in macOS 26.0 or newer
19 |
20 | /// The size applied to the button.
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:56:14: error: 'symbolColorRenderingMode' is only available in macOS 26.0 or newer
45 |
46 | @available(iOS 26, *)
47 | extension BuyMeACoffeeGlassButtonStyle: ButtonStyle {
| `- note: add '@available' attribute to enclosing extension
48 | public func makeBody(configuration: Self.Configuration) -> some View {
| `- note: add '@available' attribute to enclosing instance method
49 | let isPressed: Bool = self.pressedStateOverride ?? configuration.isPressed
50 | return configuration.label
:
54 | .environment(\.buyMeACoffeeTitleScale, self.dynamicTypeSize.titleScale)
55 | .symbolRenderingMode(.palette)
56 | .symbolColorRenderingMode(.flat)
| |- error: 'symbolColorRenderingMode' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
57 | .padding(.horizontal, self.controlSize.padding.horizontal)
58 | .padding(.vertical, self.controlSize.padding.vertical)
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:61:14: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
45 |
46 | @available(iOS 26, *)
47 | extension BuyMeACoffeeGlassButtonStyle: ButtonStyle {
| `- note: add '@available' attribute to enclosing extension
48 | public func makeBody(configuration: Self.Configuration) -> some View {
| `- note: add '@available' attribute to enclosing instance method
49 | let isPressed: Bool = self.pressedStateOverride ?? configuration.isPressed
50 | return configuration.label
:
59 | .frame(maxWidth: self.buttonSizing == .flexible ? .infinity : nil)
60 | .opacity(isPressed == true ? 0.75 : 1)
61 | .glassEffect(
| |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
62 | .regular
63 | .tint(self.isEnabled == true ? self.tint.backgroundColor : Color.primary.opacity(0.08))
/Users/admin/builder/spi-builder-workspace/Sources/BuyMeACoffee/BuyMeACoffeeButtonStyle/BuyMeACoffeeGlassButtonStyle.swift:65:22: error: 'buttonBorder' is only available in macOS 14.0 or newer
45 |
46 | @available(iOS 26, *)
47 | extension BuyMeACoffeeGlassButtonStyle: ButtonStyle {
| `- note: add '@available' attribute to enclosing extension
48 | public func makeBody(configuration: Self.Configuration) -> some View {
| `- note: add '@available' attribute to enclosing instance method
49 | let isPressed: Bool = self.pressedStateOverride ?? configuration.isPressed
50 | return configuration.label
:
63 | .tint(self.isEnabled == true ? self.tint.backgroundColor : Color.primary.opacity(0.08))
64 | .interactive(),
65 | in: .buttonBorder
| |- error: 'buttonBorder' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
66 | )
67 | .animation(
[462/613] Compiling BuyMeACoffee View+Helpers.swift
[463/613] Compiling BuyMeACoffee resource_bundle_accessor.swift
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/swiftlang/swift-format.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/2345] Fetching swift-docc-plugin
[236/17957] Fetching swift-docc-plugin, swift-format
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (1.35s)
[2186/15612] Fetching swift-format
[13428/32223] Fetching swift-format, swift-snapshot-testing
Fetched https://github.com/swiftlang/swift-format.git from cache (18.56s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (18.56s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 603.0.0 (21.80s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-markdown.git
[1/19344] Fetching swift-argument-parser
[2/27176] Fetching swift-argument-parser, swift-markdown
[27177/109059] Fetching swift-argument-parser, swift-markdown, swift-syntax
Fetched https://github.com/swiftlang/swift-markdown.git from cache (6.26s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.26s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.26s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (8.79s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3865] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.11s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.84s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.7 (0.65s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5669] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.9.0 (2.08s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18678] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.95s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.9.0 (2.66s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.59s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2727] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.54s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (2.37s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.61s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.7
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.9.0
Creating working copy for https://github.com/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at 603.0.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at 0.9.0
BUILD FAILURE 6.3 macosSpm