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-windowsappsdk, reference main (f1c508), with Swift 6.0 for macOS (SPM) on 2 Nov 2025 03:51:24 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-windowsappsdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stackotter/swift-windowsappsdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f1c5089 Bump swift-uwp version
Cloned https://github.com/stackotter/swift-windowsappsdk.git
Revision (git rev-parse @):
f1c50892f10c0f7f635d3c7a3d728fd634ad001a
SUCCESS checkout https://github.com/stackotter/swift-windowsappsdk.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/stackotter/swift-windowsappsdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/15] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[0/15] Write sources
[4/15] Compiling CWinRT shim.c
[5/15] Write swift-version-5BDAB9E9C0126B9D.txt
[6/15] Write Objects.LinkFileList
/Users/admin/builder/spi-builder-workspace/Sources/CWinAppSDK/delayloadhelper.c:1:10: fatal error: 'wtypesbase.h' file not found
    1 | #include <wtypesbase.h>
      |          ^~~~~~~~~~~~~~
1 error generated.
[7/15] Compiling CWinAppSDK delayloadhelper.c
[7/15] Linking libCWinRT.dylib
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/474] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (1.16s)
Fetching https://github.com/stackotter/swift-uwp
[1/258] Fetching swift-uwp
Fetched https://github.com/stackotter/swift-uwp from cache (0.99s)
Fetching https://github.com/stackotter/swift-windowsfoundation
[1/110] Fetching swift-windowsfoundation
Fetched https://github.com/stackotter/swift-windowsfoundation from cache (0.68s)
Creating working copy for https://github.com/stackotter/swift-uwp
Working copy of https://github.com/stackotter/swift-uwp resolved at 8128f6615b7c5b46ada289ab6d49d871ca1e13a5
Creating working copy for https://github.com/stackotter/swift-windowsfoundation
Working copy of https://github.com/stackotter/swift-windowsfoundation resolved at 4ad57d20553514bcb23724bdae9121569b19f172
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at eb46cdb66f770a1e006f9fcfebbf9e99a0fba811
BUILD FAILURE 6.0 macosSpm