Build Information
Failed to build ZTUserDefault, reference main (f59456), with Swift 6.2 for macOS (SPM) on 14 Jul 2025 20:41:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/willonboy/ZTUserDefault.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/willonboy/ZTUserDefault
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f594565 opt code
Cloned https://github.com/willonboy/ZTUserDefault.git
Revision (git rev-parse @):
f594565ee5ef7a93bc4d1bae7d4c744e3b975f21
SUCCESS checkout https://github.com/willonboy/ZTUserDefault.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/willonboy/ZTUserDefault.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 ZTUserDefault
<unknown>:0: error: invalid value '5.2' in '-swift-version 5.2'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[4/4] Compiling ZTUserDefault ZTUserDefault.swift
<unknown>:0: error: invalid value '5.2' in '-swift-version 5.2'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
BUILD FAILURE 6.2 macosSpm