Build Information
Failed to build swift-cross-ui, reference main (85a321
), with Swift 5.10 for macOS (SPM) on 16 Jun 2025 04:01:55 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-cross-ui.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stackotter/swift-cross-ui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 85a321f AppKitBackend: Respect environment font when updating text fields (#185)
Cloned https://github.com/stackotter/swift-cross-ui.git
Revision (git rev-parse @):
85a321f0720e05dcc12546121c1041add0bfd5a0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stackotter/swift-cross-ui.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/stackotter/swift-cross-ui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/254] Write sources
[2/254] Write GtkExample-entitlement.plist
[8/254] Write sources
[9/254] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[9/254] Copying GTK.png
[12/254] Write swift-version-33747A42983211AE.txt
/Users/admin/builder/spi-builder-workspace/Sources/WinUIInterop/dummy.cpp:2:10: fatal error: 'ShObjIdl.h' file not found
#include <ShObjIdl.h>
^~~~~~~~~~~~
1 error generated.
[13/254] Compiling WinUIInterop dummy.cpp
In file included from /Users/admin/builder/spi-builder-workspace/Sources/GtkCustomWidgets/gtk_helpers.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/GtkCustomWidgets/include/gtk_helpers.h:4:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
^~~~~~~~~~~
1 error generated.
[13/254] Compiling GtkCustomWidgets gtk_helpers.c
[13/254] Compiling sharpyuv_neon.c
[13/254] Compiling wicdec.c
[13/254] Compiling sharpyuv_dsp.c
[13/254] Compiling sharpyuv.c
[13/254] Compiling sharpyuv_cpu.c
[13/254] Compiling sharpyuv_gamma.c
[13/254] Compiling sharpyuv_sse2.c
[13/254] Compiling sharpyuv_csp.c
warning: 'spi-builder-workspace': Failed to get gtk version
/bin/bash: gtk4-launch: command not found
Fetching https://github.com/stackotter/swift-windowsappsdk
[1/129] Fetching swift-windowsappsdk
Fetched https://github.com/stackotter/swift-windowsappsdk from cache (1.40s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/72] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.73s)
Fetching https://github.com/stackotter/swift-winui
[1/178] Fetching swift-winui
Fetched https://github.com/stackotter/swift-winui from cache (0.98s)
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/436] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (1.10s)
Fetching https://github.com/stackotter/swift-uwp
[1/245] Fetching swift-uwp
Fetched https://github.com/stackotter/swift-uwp from cache (0.89s)
Fetching https://github.com/stackotter/swift-webview2core
[1/18] Fetching swift-webview2core
Fetched https://github.com/stackotter/swift-webview2core from cache (0.73s)
Fetching https://github.com/stackotter/swift-image-formats
Fetching https://github.com/stackotter/swift-macro-toolkit
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/CoreOffice/XMLCoder
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/877] Fetching swift-macro-toolkit
[63/1001] Fetching swift-macro-toolkit, swift-image-formats
[204/3083] Fetching swift-macro-toolkit, swift-image-formats, swift-docc-plugin
[3084/73877] Fetching swift-macro-toolkit, swift-image-formats, swift-docc-plugin, swift-syntax
[73878/83937] Fetching swift-macro-toolkit, swift-image-formats, swift-docc-plugin, swift-syntax, xmlcoder
Fetched https://github.com/stackotter/swift-image-formats from cache (3.17s)
Fetched https://github.com/CoreOffice/XMLCoder from cache (3.17s)
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (3.17s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.38s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (3.38s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (0.46s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.3.3 (0.46s)
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/stackotter/jpeg
Fetching https://github.com/the-swift-collective/libwebp
[1/30] Fetching libpng
[31/84] Fetching libpng, libwebp
[85/3195] Fetching libpng, libwebp, jpeg
Fetched https://github.com/stackotter/jpeg from cache (2.67s)
Fetched https://github.com/the-swift-collective/libwebp from cache (2.67s)
Fetched https://github.com/the-swift-collective/libpng from cache (2.67s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.48s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.49s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.46s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/48] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.59s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.6.1 (0.36s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.53s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (0.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3411] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.07s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.50s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.2
Creating working copy for https://github.com/stackotter/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.2
Creating working copy for https://github.com/stackotter/swift-uwp
Working copy of https://github.com/stackotter/swift-uwp resolved at c9d3fc079aaaa5113cde9a0132278fb83e808599
Creating working copy for https://github.com/stackotter/swift-winui
Working copy of https://github.com/stackotter/swift-winui resolved at 927e2c46430cfb1b6c195590b9e65a30a8fd98a2
Creating working copy for https://github.com/stackotter/swift-macro-toolkit
Working copy of https://github.com/stackotter/swift-macro-toolkit resolved at 0.6.1
Creating working copy for https://github.com/the-swift-collective/libwebp
Working copy of https://github.com/the-swift-collective/libwebp resolved at 1.4.1
Creating working copy for https://github.com/stackotter/swift-webview2core
Working copy of https://github.com/stackotter/swift-webview2core resolved at 9afd97424f844478914ca4512c8ca0a2d3a2bb67
Creating working copy for https://github.com/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.17.1
Creating working copy for https://github.com/the-swift-collective/libpng
Working copy of https://github.com/the-swift-collective/libpng resolved at 1.6.45
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (3e3d5a0)
Creating working copy for https://github.com/stackotter/swift-windowsappsdk
Working copy of https://github.com/stackotter/swift-windowsappsdk resolved at ed938db0b9790b36391dc91b20cee81f2410309f
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/stackotter/swift-image-formats
Working copy of https://github.com/stackotter/swift-image-formats resolved at 0.3.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gtk+-3.0 using your system-packager:
brew install gtk+3
warning: you may be able to install gtk4 using your system-packager:
brew install gtk4
BUILD FAILURE 5.10 macosSpm