The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Apollo with Swift 5.8 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apollographql/apollo-ios.git
Reference: 1.10.0
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/apollographql/apollo-ios
 * tag               1.10.0     -> FETCH_HEAD
HEAD is now at e41cc41 release:  (apollographql/apollo-ios-dev#335)
Cloned https://github.com/apollographql/apollo-ios.git
Revision (git rev-parse @):
e41cc41f8754d957cda378d81d1dc5ddac6673cb
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/apollographql/apollo-ios.git at 1.10.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/apollographql/apollo-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 5.9.0 but the installed version is 5.8.1
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 5.9.0 but the installed version is 5.8.1
BUILD FAILURE 5.8 macosSpm

Build Machine: Mac 5