Build Information
Failed to build Earth, reference 1.6.0 (e5010b), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 03:09:25 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/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/leacode/Earth.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
[3/8] Compiling Earth Enums.swift
[4/8] Compiling Earth Helpers.swift
[5/8] Compiling Earth Earth.swift
[6/8] Emitting module Earth
[7/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 | }
[8/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 | }
BUILD FAILURE 6.2 macosSpm