Build Information
Failed to build ZTUserDefault, reference 2.0.1 (3f6fc4), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 00:37:49 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/willonboy/ZTUserDefault.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/willonboy/ZTUserDefault
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at 3f6fc4a update readme
Cloned https://github.com/willonboy/ZTUserDefault.git
Revision (git rev-parse @):
3f6fc4a7393a1a940c0fc783954366899a542c04
SUCCESS checkout https://github.com/willonboy/ZTUserDefault.git at 2.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "ztuserdefault",
"name": "ZTUserDefault",
"url": "https://github.com/willonboy/ZTUserDefault.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ZTUserDefault",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/willonboy/ZTUserDefault.git
[1/109] Fetching ztuserdefault
Fetched https://github.com/willonboy/ZTUserDefault.git from cache (0.60s)
Creating working copy for https://github.com/willonboy/ZTUserDefault.git
Working copy of https://github.com/willonboy/ZTUserDefault.git resolved at 2.0.1 (3f6fc4a)
warning: '.resolve-product-dependencies': dependency 'ztuserdefault' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/willonboy/ZTUserDefault.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.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'
/Users/admin/builder/spi-builder-workspace/Sources/ZTUserDefault/ZTUserDefault.swift:92:49: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
90 | #if DEBUG
91 | if ZTUserDefaultDebug {
92 | print("[ZTUserDefault] get \(key):\(value ?? defaultValue)")
| | |- note: use a default value parameter to avoid this warning
| | |- note: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
93 | }
94 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/ZTUserDefault/ZTUserDefault.swift:110:57: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
108 | #if DEBUG
109 | if ZTUserDefaultDebug {
110 | print("[ZTUserDefault] set \(key):\(newValue)")
| |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
| |- note: use a default value parameter to avoid this warning
| |- note: provide a default value to avoid this warning
| `- note: use 'String(describing:)' to silence this warning
111 | }
112 | #endif
BUILD FAILURE 6.3 macosSpm