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 6.0 for visionOS using Xcode 16.2 on 11 Mar 2025 10:19:38 UTC.

Build Command

No build command. This typically means the build failed at an early stage where we determine the build command.

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:         visionOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/rhx/swiftgtk.git
https://github.com/rhx/swiftgtk.git
{
  "dependencies" : [
    {
      "identity" : "gir2swift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/gir2swift.git"
    },
    {
      "identity" : "swiftgraphene",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/SwiftGraphene.git"
    },
    {
      "identity" : "swiftatk",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/SwiftAtk.git"
    },
    {
      "identity" : "swiftgsk",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/SwiftGsk.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Gtk",
  "name" : "Gtk",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Gtk",
      "targets" : [
        "Gtk"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GtkTests",
      "module_type" : "SwiftTarget",
      "name" : "GtkTests",
      "path" : "Tests/GtkTests",
      "sources" : [
        "GtkTests.swift"
      ],
      "target_dependencies" : [
        "Gtk"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GtkCHelpers",
      "module_type" : "ClangTarget",
      "name" : "GtkCHelpers",
      "path" : "Sources/GtkCHelpers",
      "product_memberships" : [
        "Gtk"
      ],
      "sources" : [
        "gtk_dialog.c",
        "gtk_im_modules.c"
      ],
      "target_dependencies" : [
        "CGtk"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Gtk",
      "module_type" : "SwiftTarget",
      "name" : "Gtk",
      "path" : "Sources/Gtk",
      "product_dependencies" : [
        "gir2swift",
        "Graphene",
        "Atk",
        "Gsk",
        "gir2swift-plugin"
      ],
      "product_memberships" : [
        "Gtk"
      ],
      "sources" : [
        "App.swift",
        "Box.swift",
        "CSSProvider.swift",
        "CheckButton.swift",
        "Dialog.swift",
        "DrawingArea.swift",
        "FileChooser.swift",
        "FileChooserNative.swift",
        "GtkTypeAliases.swift",
        "Label.swift",
        "ListStore.swift",
        "MessageDialog.swift",
        "SwiftGtk.swift",
        "Text.swift",
        "TreeStore.swift",
        "Widget.swift",
        "Window.swift"
      ],
      "target_dependencies" : [
        "GtkCHelpers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CGtk",
      "module_type" : "SystemLibraryTarget",
      "name" : "CGtk",
      "path" : "Sources/CGtk",
      "product_memberships" : [
        "Gtk"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.6"
}
Command line invocation:
    /Applications/Xcode-16.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/rhx/gir2swift.git
Fetching from https://github.com/rhx/SwiftGraphene.git
Fetching from https://github.com/rhx/SwiftAtk.git
Fetching from https://github.com/rhx/SwiftGsk.git
Fetching from https://github.com/rhx/SwiftLibXML.git
Fetching from https://github.com/rhx/SwiftGObject.git
Fetching from https://github.com/rhx/SwiftGdk.git
Fetching from https://github.com/rhx/SwiftGLib.git
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedyou may be able to install gtk4-unix-print using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
Resolve Package Graph
Updating from https://github.com/rhx/gir2swift.git
Updating from https://github.com/rhx/SwiftGraphene.git
Updating from https://github.com/rhx/SwiftAtk.git
Updating from https://github.com/rhx/SwiftGsk.git
Updating from https://github.com/rhx/SwiftLibXML.git
Updating from https://github.com/rhx/SwiftGObject.git
Updating from https://github.com/rhx/SwiftGdk.git
Updating from https://github.com/rhx/SwiftGLib.git
you may be able to install gtk4-unix-print using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
Resolve Package Graph
Updating from https://github.com/rhx/gir2swift.git
Updating from https://github.com/rhx/SwiftGraphene.git
Updating from https://github.com/rhx/SwiftAtk.git
Updating from https://github.com/rhx/SwiftGsk.git
Updating from https://github.com/rhx/SwiftLibXML.git
Updating from https://github.com/rhx/SwiftGObject.git
Updating from https://github.com/rhx/SwiftGdk.git
Updating from https://github.com/rhx/SwiftGLib.git
you may be able to install gtk4-unix-print using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
Resolved source packages:
  spi-builder-workspace: (null)
2025-03-11 06:19:31.407 xcodebuild[539:3142] Writing error result bundle to /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/ResultBundle_2025-11-03_06-19-0031.xcresult
xcodebuild: error: Could not resolve package dependencies:
  Failed to resolve dependencies gir2swift is required using two different revision-based requirements (main and development), which is not supported
Command line invocation:
    /Applications/Xcode-16.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Updating from https://github.com/rhx/gir2swift.git
Updating from https://github.com/rhx/SwiftGraphene.git
Updating from https://github.com/rhx/SwiftAtk.git
Updating from https://github.com/rhx/SwiftGsk.git
Updating from https://github.com/rhx/SwiftLibXML.git
Updating from https://github.com/rhx/SwiftGObject.git
Updating from https://github.com/rhx/SwiftGdk.git
Updating from https://github.com/rhx/SwiftGLib.git
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedyou may be able to install gtk4-unix-print using your system-packager:
    brew install gtk4 glib glib-networking gobject-introspection
Resolved source packages:
  spi-builder-workspace: (null)
2025-03-11 06:19:37.049 xcodebuild[967:5073] Writing error result bundle to /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/ResultBundle_2025-11-03_06-19-0037.xcresult
xcodebuild: error: Could not resolve package dependencies:
  Failed to resolve dependencies gir2swift is required using two different revision-based requirements (main and development), which is not supported
BUILD FAILURE 6.0 visionOS