The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DesignSystem, reference master (c490e0), with Swift 5.10 for macOS (SPM) on 15 Oct 2024 06:33:05 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/manisrini/DesignSystem.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/manisrini/DesignSystem
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c490e01 initial commiy
Cloned https://github.com/manisrini/DesignSystem.git
Revision (git rev-parse @):
c490e01e8c36a0af331d94b0de0a00adff52a9e2
SUCCESS checkout https://github.com/manisrini/DesignSystem.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/manisrini/DesignSystem.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/17] Write sources
[1/17] Copying Roboto-Bold.ttf
[1/17] Copying Roboto-LightItalic.ttf
[1/17] Copying RobotoSerif-Italic.ttf
[1/17] Copying Roboto-Regular.ttf
[1/17] Copying Roboto-Thin.ttf
[1/17] Copying Roboto-BoldItalic.ttf
[1/17] Copying RobotoSerif.ttf
[1/17] Copying Roboto-ThinItalic.ttf
[1/17] Copying Roboto-Light.ttf
[10/17] Copying Roboto-MediumItalic.ttf
[11/17] Copying Roboto-Italic.ttf
[12/17] Copying NerkoOne-Regular.ttf
[12/17] Copying Roboto-Medium.ttf
[12/17] Copying Roboto-Black.ttf
[13/17] Copying Roboto-BlackItalic.ttf
[16/17] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/23] Emitting module DesignSystem
/Users/admin/builder/spi-builder-workspace/Sources/DesignSystem/FontHelper.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/23] Compiling DesignSystem Font+Roboto_Serif.swift
/Users/admin/builder/spi-builder-workspace/Sources/DesignSystem/FontHelper.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[20/23] Compiling DesignSystem resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/DesignSystem/FontHelper.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[21/23] Compiling DesignSystem FontHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/DesignSystem/FontHelper.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[22/23] Compiling DesignSystem Font+Roboto.swift
/Users/admin/builder/spi-builder-workspace/Sources/DesignSystem/FontHelper.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[23/23] Compiling DesignSystem Font+NerkoOneFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/DesignSystem/FontHelper.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm