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 PerfectPython, reference 3.2.0 (764a85), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 12:12:21 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/perfectlysoft/perfect-python.git
Reference: 3.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-python
 * tag               3.2.0      -> FETCH_HEAD
HEAD is now at 764a85d Updating Documents.
Cloned https://github.com/perfectlysoft/perfect-python.git
Revision (git rev-parse @):
764a85d6fee5c42701d9b2fca6e30fa921361ae4
SUCCESS checkout https://github.com/perfectlysoft/perfect-python.git at 3.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-python.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
In file included from /Users/admin/builder/spi-builder-workspace/Sources/PythonAPI/PythonAPI.c:19:
/Users/admin/builder/spi-builder-workspace/Sources/PythonAPI/include/PythonAPI.h:22:10: fatal error: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Python.framework/Headers/Python.h' file not found
   22 | #include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Python.framework/Headers/Python.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling PythonAPI PythonAPI.c
[1/3] Write swift-version-1EA4D86E10B52AF.txt
BUILD FAILURE 6.2 macosSpm