The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PythonBridge, reference master (88fc64), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 01:25:54 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nyxhub/PythonBridge.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nyxhub/PythonBridge
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 88fc646 swift version update
Cloned https://github.com/nyxhub/PythonBridge.git
Revision (git rev-parse @):
88fc646e0701ade38cbf237dd83443972c80f027
SUCCESS checkout https://github.com/nyxhub/PythonBridge.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "pythonbridge",
      "name": "PythonBridge",
      "url": "https://github.com/nyxhub/PythonBridge.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PythonBridge",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nyxhub/PythonBridge.git
[1/40] Fetching pythonbridge
Fetched https://github.com/nyxhub/PythonBridge.git from cache (0.65s)
Creating working copy for https://github.com/nyxhub/PythonBridge.git
Working copy of https://github.com/nyxhub/PythonBridge.git resolved at master (88fc646)
warning: '.resolve-product-dependencies': dependency 'pythonbridge' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/nyxhub/PythonBridge.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module PythonBridge
/Users/admin/builder/spi-builder-workspace/Sources/CPython/module.modulemap:18:21: error: umbrella header '/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h' not found
 16 |
 17 | module CPython [system] [extern_c] {
 18 |     umbrella header "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h"
    |                     `- error: umbrella header '/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h' not found
 19 |
 20 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/PythonBridge/PythonBridge.swift:22:8: error: could not build Objective-C module 'CPython'
  20 | //===----------------------------------------------------------------------===//
  21 |
  22 | import CPython
     |        `- error: could not build Objective-C module 'CPython'
  23 |
  24 | //===----------------------------------------------------------------------===//
[4/4] Compiling PythonBridge PythonBridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/CPython/module.modulemap:18:21: error: umbrella header '/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h' not found
 16 |
 17 | module CPython [system] [extern_c] {
 18 |     umbrella header "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h"
    |                     `- error: umbrella header '/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h' not found
 19 |
 20 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/PythonBridge/PythonBridge.swift:22:8: error: could not build Objective-C module 'CPython'
  20 | //===----------------------------------------------------------------------===//
  21 |
  22 | import CPython
     |        `- error: could not build Objective-C module 'CPython'
  23 |
  24 | //===----------------------------------------------------------------------===//
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install python-2.7 using your system-packager:
    brew install python
warning: you may be able to install python-2.7 using your system-packager:
    brew install python
BUILD FAILURE 6.3 macosSpm