Build Information
Failed to build VFont with Swift 5.8 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.26.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dufflink/vfont.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Compiling VFont Axis.swift
[2/3] Emitting module VFont
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
private(set) public var uiFont: UIFont
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
public var updated: ((UIFont?) -> Void)?
^~~~~~
[3/3] Compiling VFont VFont.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
private(set) public var uiFont: UIFont
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
public var updated: ((UIFont?) -> Void)?
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:28:28: error: cannot find 'UIFont' in scope
guard let uiFont = UIFont(name: name, size: size) else {
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:112:48: error: cannot find type 'UIFontDescriptor' in scope
let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:113:32: error: cannot find 'UIFontDescriptor' in scope
let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:113:67: error: reference to member 'name' cannot be resolved without a contextual type
let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:115:18: error: cannot find 'UIFont' in scope
uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
^~~~~~
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module VFont
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
private(set) public var uiFont: UIFont
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
public var updated: ((UIFont?) -> Void)?
^~~~~~
[2/2] Compiling VFont VFont.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:12:37: error: cannot find type 'UIFont' in scope
private(set) public var uiFont: UIFont
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:19:27: error: cannot find type 'UIFont' in scope
public var updated: ((UIFont?) -> Void)?
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:28:28: error: cannot find 'UIFont' in scope
guard let uiFont = UIFont(name: name, size: size) else {
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:112:48: error: cannot find type 'UIFontDescriptor' in scope
let key = kCTFontVariationAttribute as UIFontDescriptor.AttributeName
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:113:32: error: cannot find 'UIFontDescriptor' in scope
let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:113:67: error: reference to member 'name' cannot be resolved without a contextual type
let uiFontDescriptor = UIFontDescriptor(fontAttributes: [.name: variableFontName, key: variations])
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Framework/VFont.swift:115:18: error: cannot find 'UIFont' in scope
uiFont = UIFont(descriptor: uiFontDescriptor, size: uiFont.pointSize)
^~~~~~
BUILD FAILURE 5.8 macosSpm