Build Information
Failed to build ErrorHierarchy, reference 1.0.0 (48916f), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 19:01:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EmilioPelaez/ErrorHierarchy.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EmilioPelaez/ErrorHierarchy
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 48916f1 Update Readme
Cloned https://github.com/EmilioPelaez/ErrorHierarchy.git
Revision (git rev-parse @):
48916f103e4520f988959cd0b29f333a552776c6
SUCCESS checkout https://github.com/EmilioPelaez/ErrorHierarchy.git at 1.0.0
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "errorhierarchy",
"name": "ErrorHierarchy",
"url": "https://github.com/EmilioPelaez/ErrorHierarchy.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ErrorHierarchy",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/EmilioPelaez/ErrorHierarchy.git
[1/210] Fetching errorhierarchy
Fetched https://github.com/EmilioPelaez/ErrorHierarchy.git from cache (0.64s)
Creating working copy for https://github.com/EmilioPelaez/ErrorHierarchy.git
Working copy of https://github.com/EmilioPelaez/ErrorHierarchy.git resolved at 1.0.0 (48916f1)
warning: '.resolve-product-dependencies': dependency 'errorhierarchy' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/EmilioPelaez/ErrorHierarchy.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/8] Compiling ErrorHierarchy ErrorEnvironmentValues.swift
[4/8] Emitting module ErrorHierarchy
[5/8] Compiling ErrorHierarchy View+ErrorHandling.swift
[6/8] Compiling ErrorHierarchy AlertableError.swift
[7/8] Compiling ErrorHierarchy ErrorHandlerViewModifier.swift
[8/8] Compiling ErrorHierarchy AlertableErrorHandlerModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/ErrorHierarchy/AlertableErrorHandlerModifier.swift:47:6: error: 'alert(_:isPresented:presenting:actions:message:)' is only available in macOS 12.0 or newer
35 | }
36 |
37 | struct AlertableErrorHandlerModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | @State var alertError: AnyAlertableError?
:
42 | }
43 |
44 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
45 | if #available(iOS 15.0, *) {
46 | receiver(content: content)
47 | .alert(alertError?.title ?? "Error", isPresented: showAlert, presenting: alertError) { _ in
| |- error: 'alert(_:isPresented:presenting:actions:message:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
48 | Button(action: dismissAlert) {
49 | Text("Okay")
/Users/admin/builder/spi-builder-workspace/Sources/ErrorHierarchy/AlertableErrorHandlerModifier.swift:45:30: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
35 | }
36 |
37 | struct AlertableErrorHandlerModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | @State var alertError: AnyAlertableError?
:
42 | }
43 |
44 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
45 | if #available(iOS 15.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
46 | receiver(content: content)
47 | .alert(alertError?.title ?? "Error", isPresented: showAlert, presenting: alertError) { _ in
BUILD FAILURE 6.3 macosSpm