The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectPython with Swift 5.10 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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:             5.10
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-python.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
In file included from /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PythonAPI/PythonAPI.c:19:
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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
#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--423B1241ED78D482.txt
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PythonAPI/PythonAPI.c:19:
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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
#include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Python.framework/Headers/Python.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling PythonAPI PythonAPI.c
[0/2] Write swift-version--423B1241ED78D482.txt
BUILD FAILURE 5.10 macosSpm