Build Information
Failed to build Earth, reference 1.6.0 (e5010b), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 11:46:01 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/leacode/Earth.git
Reference: 1.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leacode/Earth
* tag 1.6.0 -> FETCH_HEAD
HEAD is now at e5010bf change version to 1.6.0
Cloned https://github.com/leacode/Earth.git
Revision (git rev-parse @):
e5010bfef5f0d4fd1fd1c88b116f9614fd0e9c1d
SUCCESS checkout https://github.com/leacode/Earth.git at 1.6.0
========================================
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": "earth",
"name": "Earth",
"url": "https://github.com/leacode/Earth.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Earth",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/leacode/Earth.git
[1/1514] Fetching earth
Fetched https://github.com/leacode/Earth.git from cache (1.07s)
Creating working copy for https://github.com/leacode/Earth.git
Working copy of https://github.com/leacode/Earth.git resolved at 1.6.0 (e5010bf)
warning: '.resolve-product-dependencies': dependency 'earth' 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/leacode/Earth.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
[3/8] Compiling Earth Helpers.swift
[4/8] Compiling Earth Earth.swift
[5/8] Compiling Earth Enums.swift
[6/8] Emitting module Earth
[7/8] Compiling Earth CountryKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Earth/CountryKit.swift:23:63: error: cannot convert value of type 'String' to expected argument type 'NSImage.Name'
21 | return UIImage(named: countryCode, in: frameworkBundle, compatibleWith: nil)
22 | #elseif os(macOS)
23 | return frameworkBundle.image(forResource: countryCode.uppercased())
| `- error: cannot convert value of type 'String' to expected argument type 'NSImage.Name'
24 | #endif
25 | }
[8/8] Compiling Earth Country.swift
/Users/admin/builder/spi-builder-workspace/Sources/Earth/Country.swift:37:56: error: cannot convert value of type 'String' to expected argument type 'NSImage.Name'
35 | return UIImage(named: code.uppercased(), in: frameworkBundle, compatibleWith: nil)
36 | #elseif os(macOS)
37 | return frameworkBundle.image(forResource: code.uppercased())
| `- error: cannot convert value of type 'String' to expected argument type 'NSImage.Name'
38 | #endif
39 | }
BUILD FAILURE 6.3 macosSpm