The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VFont, reference master (373e97), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 02:42:03 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dufflink/vfont.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dufflink/vfont
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 373e97d Update README.md
Cloned https://github.com/dufflink/vfont.git
Revision (git rev-parse @):
373e97dcc59c6662eb5b0fca1bbf5d2116c1525b
SUCCESS checkout https://github.com/dufflink/vfont.git at master
========================================
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": "vfont",
      "name": "VFont",
      "url": "https://github.com/dufflink/vfont.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/vfont",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dufflink/vfont.git
[1/364] Fetching vfont
Fetched https://github.com/dufflink/vfont.git from cache (0.89s)
Creating working copy for https://github.com/dufflink/vfont.git
Working copy of https://github.com/dufflink/vfont.git resolved at master (373e97d)
warning: '.resolve-product-dependencies': dependency 'vfont' 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/dufflink/vfont.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/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.3 macosSpm