The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-winui, reference main (4cb98f), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 15:12:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thebrowsercompany/swift-winui.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/thebrowsercompany/swift-winui
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4cb98fb Add outdated warning (#2)
Cloned https://github.com/thebrowsercompany/swift-winui.git
Revision (git rev-parse @):
4cb98fbb7ac7b7734c4c71e6e26d3bf11740c652
SUCCESS checkout https://github.com/thebrowsercompany/swift-winui.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/thebrowsercompany/swift-winui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write sources
[1/18] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[2/18] Write sources
[5/18] Compiling CWinRT shim.c
[6/18] Write swift-version-1EA4D86E10B52AF.txt
[7/18] Write Objects.LinkFileList
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-windowsappsdk/Sources/CWinAppSDK/delayloadhelper.c:1:10: fatal error: 'wtypesbase.h' file not found
    1 | #include <wtypesbase.h>
      |          ^~~~~~~~~~~~~~
1 error generated.
[8/18] Compiling CWinAppSDK delayloadhelper.c
[8/18] Linking libCWinRT.dylib
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/436] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (1.01s)
Fetching https://github.com/thebrowsercompany/swift-uwp
[1/199] Fetching swift-uwp
Fetched https://github.com/thebrowsercompany/swift-uwp from cache (0.92s)
Fetching https://github.com/thebrowsercompany/swift-windowsappsdk
[1/161] Fetching swift-windowsappsdk
Fetched https://github.com/thebrowsercompany/swift-windowsappsdk from cache (0.89s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/72] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.72s)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsappsdk
Working copy of https://github.com/thebrowsercompany/swift-windowsappsdk resolved at main (a7e1d90)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (dbe1456)
Creating working copy for https://github.com/thebrowsercompany/swift-uwp
Working copy of https://github.com/thebrowsercompany/swift-uwp resolved at main (4fe2fa0)
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (3e3d5a0)
BUILD FAILURE 6.2 macosSpm