The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PythonBridge, reference master (88fc64), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 02:45:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nyxhub/PythonBridge.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.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.2 macosSpm