The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-windowsappsdk, reference v0.1.1 (3c06cb), with Swift 6.1 for macOS (SPM) on 18 Mar 2026 04:09:32 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moreSwift/swift-windowsappsdk.git
Reference: v0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/moreSwift/swift-windowsappsdk
 * tag               v0.1.1     -> FETCH_HEAD
HEAD is now at 3c06cb3 Auto-install Windows App Runtime when used in Swift Bundler based apps (#1)
Cloned https://github.com/moreSwift/swift-windowsappsdk.git
Revision (git rev-parse @):
3c06cb36da9711e24a76c35861e0b97702448015
SUCCESS checkout https://github.com/moreSwift/swift-windowsappsdk.git at v0.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/moreSwift/swift-windowsappsdk.git
https://github.com/moreSwift/swift-windowsappsdk.git
{
  "dependencies" : [
    {
      "identity" : "swift-cwinrt",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/moreSwift/swift-cwinrt"
    },
    {
      "identity" : "swift-uwp",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/moreSwift/swift-uwp"
    },
    {
      "identity" : "swift-windowsfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/moreSwift/swift-windowsfoundation"
    }
  ],
  "manifest_display_name" : "swift-windowsappsdk",
  "name" : "swift-windowsappsdk",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WinAppSDK",
      "targets" : [
        "WinAppSDK"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "CWinAppSDK",
      "targets" : [
        "CWinAppSDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WinAppSDKTests",
      "module_type" : "SwiftTarget",
      "name" : "WinAppSDKTests",
      "path" : "Tests/WinAppSDKTests",
      "sources" : [
        "InitializerTests.swift"
      ],
      "target_dependencies" : [
        "WinAppSDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WinAppSDK",
      "module_type" : "SwiftTarget",
      "name" : "WinAppSDK",
      "path" : "Sources/WinAppSDK",
      "product_dependencies" : [
        "CWinRT",
        "UWP",
        "WindowsFoundation"
      ],
      "product_memberships" : [
        "WinAppSDK"
      ],
      "sources" : [
        "Generated/Microsoft.Graphics.DirectX+ABI.swift",
        "Generated/Microsoft.Graphics.DirectX+Impl.swift",
        "Generated/Microsoft.Graphics.DirectX.swift",
        "Generated/Microsoft.UI+ABI.swift",
        "Generated/Microsoft.UI+Impl.swift",
        "Generated/Microsoft.UI.Composition+ABI.swift",
        "Generated/Microsoft.UI.Composition+Impl.swift",
        "Generated/Microsoft.UI.Composition.Interactions+ABI.swift",
        "Generated/Microsoft.UI.Composition.Interactions+Impl.swift",
        "Generated/Microsoft.UI.Composition.Interactions.swift",
        "Generated/Microsoft.UI.Composition.SystemBackdrops+ABI.swift",
        "Generated/Microsoft.UI.Composition.SystemBackdrops+Impl.swift",
        "Generated/Microsoft.UI.Composition.SystemBackdrops.swift",
        "Generated/Microsoft.UI.Composition.swift",
        "Generated/Microsoft.UI.Content+ABI.swift",
        "Generated/Microsoft.UI.Content+Impl.swift",
        "Generated/Microsoft.UI.Content.swift",
        "Generated/Microsoft.UI.Dispatching+ABI.swift",
        "Generated/Microsoft.UI.Dispatching+Impl.swift",
        "Generated/Microsoft.UI.Dispatching.swift",
        "Generated/Microsoft.UI.Input+ABI.swift",
        "Generated/Microsoft.UI.Input+Impl.swift",
        "Generated/Microsoft.UI.Input.swift",
        "Generated/Microsoft.UI.Windowing+ABI.swift",
        "Generated/Microsoft.UI.Windowing+Impl.swift",
        "Generated/Microsoft.UI.Windowing.swift",
        "Generated/Microsoft.UI.swift",
        "Generated/Microsoft.Windows.AppLifecycle+ABI.swift",
        "Generated/Microsoft.Windows.AppLifecycle+Impl.swift",
        "Generated/Microsoft.Windows.AppLifecycle.swift",
        "Generated/Microsoft.Windows.ApplicationModel.Resources+ABI.swift",
        "Generated/Microsoft.Windows.ApplicationModel.Resources+Impl.swift",
        "Generated/Microsoft.Windows.ApplicationModel.Resources.swift",
        "Generated/WinAppSDK+Generics.swift",
        "Generated/WinAppSDK+MakeFromAbi.swift",
        "Initialize.swift"
      ],
      "target_dependencies" : [
        "CWinAppSDK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CWinAppSDK",
      "module_type" : "ClangTarget",
      "name" : "CWinAppSDK",
      "path" : "Sources/CWinAppSDK",
      "product_memberships" : [
        "WinAppSDK",
        "CWinAppSDK"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CWinAppSDK/nuget/bin/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "delayloadhelper.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/16] Write sources
[2/16] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[3/16] Write sources
[5/16] Compiling CWinRT shim.c
[6/16] Write swift-version-2F0A5646E1D333AE.txt
/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/16] Compiling CWinAppSDK delayloadhelper.c
Fetching https://github.com/moreSwift/swift-windowsfoundation
Fetching https://github.com/moreSwift/swift-uwp
Fetching https://github.com/moreSwift/swift-cwinrt
[1/262] Fetching swift-uwp
[46/376] Fetching swift-uwp, swift-windowsfoundation
[115/854] Fetching swift-uwp, swift-windowsfoundation, swift-cwinrt
Fetched https://github.com/moreSwift/swift-windowsfoundation from cache (1.24s)
Fetched https://github.com/moreSwift/swift-cwinrt from cache (1.24s)
Fetched https://github.com/moreSwift/swift-uwp from cache (1.24s)
Computing version for https://github.com/moreSwift/swift-windowsfoundation
Computed https://github.com/moreSwift/swift-windowsfoundation at 0.1.0 (1.70s)
Computing version for https://github.com/moreSwift/swift-uwp
Computed https://github.com/moreSwift/swift-uwp at 0.1.0 (0.45s)
Computing version for https://github.com/moreSwift/swift-cwinrt
Computed https://github.com/moreSwift/swift-cwinrt at 0.1.1 (0.56s)
Creating working copy for https://github.com/moreSwift/swift-cwinrt
Working copy of https://github.com/moreSwift/swift-cwinrt resolved at 0.1.1
Creating working copy for https://github.com/moreSwift/swift-uwp
Working copy of https://github.com/moreSwift/swift-uwp resolved at 0.1.0
Creating working copy for https://github.com/moreSwift/swift-windowsfoundation
Working copy of https://github.com/moreSwift/swift-windowsfoundation resolved at 0.1.0
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
/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.
[0/10] Compiling CWinAppSDK delayloadhelper.c
[0/10] Write swift-version-2F0A5646E1D333AE.txt
BUILD FAILURE 6.1 macosSpm