The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FirebladePAL, reference 0.2.2 (c6b3fa), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 22:37:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fireblade-engine/pal.git
Reference: 0.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fireblade-engine/pal
 * tag               0.2.2      -> FETCH_HEAD
HEAD is now at c6b3fab Update dependency ctreffs/SwiftVulkan to from: "0.2.1" (#23)
Cloned https://github.com/fireblade-engine/pal.git
Revision (git rev-parse @):
c6b3fabeec37931ac479c9c301a60880be2f5822
SUCCESS checkout https://github.com/fireblade-engine/pal.git at 0.2.2
Fetching https://github.com/fireblade-engine/time.git
Fetching https://github.com/ctreffs/SwiftVulkan
Fetching https://github.com/fireblade-engine/math.git
Fetching https://github.com/ctreffs/SwiftNFD.git
Fetching https://github.com/ctreffs/SwiftSDL2.git
[1/314] Fetching swiftvulkan
[215/3808] Fetching swiftvulkan, math
[216/4228] Fetching swiftvulkan, math, time
[446/5610] Fetching swiftvulkan, math, time, swiftsdl2
[585/6018] Fetching swiftvulkan, math, time, swiftsdl2, swiftnfd
Fetched https://github.com/fireblade-engine/math.git from cache (1.29s)
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (1.29s)
Fetched https://github.com/fireblade-engine/time.git from cache (1.29s)
Fetched https://github.com/ctreffs/SwiftVulkan from cache (1.29s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (1.29s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (1.97s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.65s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.3.2 (0.68s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.67s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.74s)
Creating working copy for https://github.com/fireblade-engine/time.git
Working copy of https://github.com/fireblade-engine/time.git resolved at 0.2.0
Creating working copy for https://github.com/fireblade-engine/math.git
Working copy of https://github.com/fireblade-engine/math.git resolved at 0.13.0
Creating working copy for https://github.com/ctreffs/SwiftNFD.git
Working copy of https://github.com/ctreffs/SwiftNFD.git resolved at 1.0.2
Creating working copy for https://github.com/ctreffs/SwiftVulkan
Working copy of https://github.com/ctreffs/SwiftVulkan resolved at 0.2.1
Creating working copy for https://github.com/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.3.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/fireblade-engine/pal.git
[1/912] Fetching pal
Fetched https://github.com/fireblade-engine/pal.git from cache (0.82s)
Fetching https://github.com/ctreffs/SwiftVulkan from cache
Fetching https://github.com/fireblade-engine/math.git from cache
Fetching https://github.com/fireblade-engine/time.git from cache
Fetching https://github.com/ctreffs/SwiftSDL2.git from cache
Fetching https://github.com/ctreffs/SwiftNFD.git from cache
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (0.45s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (0.49s)
Fetched https://github.com/ctreffs/SwiftVulkan from cache (0.49s)
Fetched https://github.com/fireblade-engine/math.git from cache (0.49s)
Fetched https://github.com/fireblade-engine/time.git from cache (0.49s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (0.56s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.04s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.03s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.03s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.4.1 (0.69s)
Creating working copy for https://github.com/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.4.1
Creating working copy for https://github.com/fireblade-engine/pal.git
Working copy of https://github.com/fireblade-engine/pal.git resolved at 0.2.2 (c6b3fab)
Creating working copy for https://github.com/fireblade-engine/math.git
Working copy of https://github.com/fireblade-engine/math.git resolved at 0.13.0
Creating working copy for https://github.com/ctreffs/SwiftNFD.git
Working copy of https://github.com/ctreffs/SwiftNFD.git resolved at 1.0.2
Creating working copy for https://github.com/ctreffs/SwiftVulkan
Working copy of https://github.com/ctreffs/SwiftVulkan resolved at 0.2.1
Creating working copy for https://github.com/fireblade-engine/time.git
Working copy of https://github.com/fireblade-engine/time.git resolved at 0.2.0
error: 'pal': product 'SDL2' required by package 'pal' target 'FirebladePAL' not found in package 'SDL2'.
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/fireblade-engine/pal.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/26] Write sources
[7/26] Write CPUBackendDemoApp-entitlement.plist
[7/26] Write VulkanBackendDemoApp-entitlement.plist
[7/26] Write sources
[10/26] Compiling CNFD nfd_win.cpp
[11/26] Compiling CNFD nfd_gtk.c
[12/26] Compiling CNFD nfd_default.c
[13/26] Write swift-version--6988338F2F200930.txt
[14/36] Compiling CNFD nfd_common.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/127] Emitting module CSDL2Wrapped
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shims.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:18: note: in file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
 7 |         #include "apple_iOS.h" // iOS device
 8 |     #elif TARGET_OS_MAC
 9 |         #include "apple_macOS.h" //  macOS
   |                  `- note: in file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
10 |     #else
11 |        error "Unknown Apple platform"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/apple_macOS.h:1:10: error: 'SDL.h' file not found
 1 | #include <SDL.h>
   |          `- error: 'SDL.h' file not found
 2 | #include <SDL_assert.h>
 3 | #include <SDL_atomic.h>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2Wrapped/CSDL2Wrapped.swift:9:19: error: could not build Objective-C module 'CSDL2'
 7 |
 8 | // workaround for unsafeFlags from SDL <https://forums.swift.org/t/override-for-unsafeflags-in-swift-package-manager/45273/5>
 9 | @_exported import CSDL2
   |                   `- error: could not build Objective-C module 'CSDL2'
10 |
[17/127] Compiling CSDL2Wrapped CSDL2Wrapped.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shims.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:18: note: in file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
 7 |         #include "apple_iOS.h" // iOS device
 8 |     #elif TARGET_OS_MAC
 9 |         #include "apple_macOS.h" //  macOS
   |                  `- note: in file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:9:
10 |     #else
11 |        error "Unknown Apple platform"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/apple_macOS.h:1:10: error: 'SDL.h' file not found
 1 | #include <SDL.h>
   |          `- error: 'SDL.h' file not found
 2 | #include <SDL_assert.h>
 3 | #include <SDL_atomic.h>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2Wrapped/CSDL2Wrapped.swift:9:19: error: could not build Objective-C module 'CSDL2'
 7 |
 8 | // workaround for unsafeFlags from SDL <https://forums.swift.org/t/override-for-unsafeflags-in-swift-package-manager/45273/5>
 9 | @_exported import CSDL2
   |                   `- error: could not build Objective-C module 'CSDL2'
10 |
[17/127] Compiling CNFD nfd_cocoa.m
[18/127] Compiling FirebladeTime TimeProviding.swift
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install sdl2 using your system-packager:
    brew install sdl2
warning: you may be able to install vulkan using your system-packager:
    brew install vulkan-sdk
warning: you may be able to install sdl2 using your system-packager:
    brew install sdl2
warning: you may be able to install vulkan using your system-packager:
    brew install vulkan-sdk
BUILD FAILURE 6.3 macosSpm