The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VFont, reference 0.6.1 (eceae7), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 12:40:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dufflink/vfont.git
Reference: 0.6.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dufflink/vfont
 * tag               0.6.1      -> FETCH_HEAD
HEAD is now at eceae72 Prepared 0.6.1 version
Cloned https://github.com/dufflink/vfont.git
Revision (git rev-parse @):
eceae7296a3bb54a1e8b5fca0bda047c5ca31264
SUCCESS checkout https://github.com/dufflink/vfont.git at 0.6.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dufflink/vfont.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/5] Emitting module VFont
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
 10 | open class VFont {
 11 |
 12 |     private(set) public var uiFont: UIFont
    |                                     `- error: cannot find type 'UIFont' in scope
 13 |
 14 |     private(set) public var name: String
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
 17 |     private(set) public var axes: [Int: Axis]
 18 |
 19 |     public var updated: ((UIFont?) -> Void)?
    |                           `- error: cannot find type 'UIFont' in scope
 20 |
 21 |     public var variableFontName: String {
[4/5] Compiling VFont Axis.swift
[5/5] Compiling VFont VFont.swift
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
 10 | open class VFont {
 11 |
 12 |     private(set) public var uiFont: UIFont
    |                                     `- error: cannot find type 'UIFont' in scope
 13 |
 14 |     private(set) public var name: String
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
 17 |     private(set) public var axes: [Int: Axis]
 18 |
 19 |     public var updated: ((UIFont?) -> Void)?
    |                           `- error: cannot find type 'UIFont' in scope
 20 |
 21 |     public var variableFontName: String {
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:28:28: error: cannot find 'UIFont' in scope
 26 |
 27 |     public init?(name: String, size: CGFloat) {
 28 |         guard let uiFont = UIFont(name: name, size: size) else {
    |                            `- error: cannot find 'UIFont' in scope
 29 |             print("Couldn't init font \(name). Make sure you've added this font to the project. Please, check the font name is correct.")
 30 |             return nil
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:112:48: error: cannot find type 'UIFontDescriptor' in scope
110 |         }
111 |
112 |         let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
    |                                                `- error: cannot find type 'UIFontDescriptor' in scope
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
114 |
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:113:32: error: cannot find 'UIFontDescriptor' in scope
111 |
112 |         let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
    |                                `- error: cannot find 'UIFontDescriptor' in scope
114 |
115 |         uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:113:67: error: reference to member 'name' cannot be resolved without a contextual type
111 |
112 |         let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
    |                                                                   `- error: reference to member 'name' cannot be resolved without a contextual type
114 |
115 |         uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
/Users/admin/builder/spi-builder-workspace/Source/Framework/VFont.swift:115:18: error: cannot find 'UIFont' in scope
113 |         let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
114 |
115 |         uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
    |                  `- error: cannot find 'UIFont' in scope
116 |     }
117 |
BUILD FAILURE 6.2 macosSpm