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 Gtk, reference 4.16.0 (3cd5ce), with Swift 5.10 for macOS (SPM) on 11 Mar 2025 10:16:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/swiftgtk.git
Reference: 4.16.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rhx/swiftgtk
 * tag               4.16.0     -> FETCH_HEAD
HEAD is now at 3cd5ce0 Update for glib-2.82 and gtk-4.16
Cloned https://github.com/rhx/swiftgtk.git
Revision (git rev-parse @):
3cd5ce0c3a7c04375d8a52ba0d34d6da29b07164
SUCCESS checkout https://github.com/rhx/swiftgtk.git at 4.16.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/rhx/swiftgtk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Fetching https://github.com/rhx/gir2swift.git
[1/5539] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git from cache (1.49s)
Fetching https://github.com/rhx/SwiftGraphene.git
[1/80] Fetching swiftgraphene
Fetched https://github.com/rhx/SwiftGraphene.git from cache (0.57s)
Fetching https://github.com/rhx/SwiftAtk.git
[1/3941] Fetching swiftatk
Fetched https://github.com/rhx/SwiftAtk.git from cache (1.82s)
Fetching https://github.com/rhx/SwiftGsk.git
[1/94] Fetching swiftgsk
Fetched https://github.com/rhx/SwiftGsk.git from cache (0.68s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.71s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/11714] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git from cache (2.27s)
Fetching https://github.com/rhx/SwiftGdk.git
[1/6082] Fetching swiftgdk
Fetched https://github.com/rhx/SwiftGdk.git from cache (2.01s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/21669] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git from cache (5.00s)
error: gir2swift is required using two different revision-based requirements (main and development), which is not supported
BUILD FAILURE 5.10 macosSpm