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 UILabel+Copyable, reference master (a5ab38), with Swift 5.10 for macOS (SPM) on 11 Dec 2024 21:47:10 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexandreos/UILabel-Copyable.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexandreos/UILabel-Copyable
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a5ab38a Update README.md
Cloned https://github.com/alexandreos/UILabel-Copyable.git
Revision (git rev-parse @):
a5ab38add403aada32509e5d4204beaffe351a8f
SUCCESS checkout https://github.com/alexandreos/UILabel-Copyable.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/alexandreos/UILabel-Copyable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module UILabel_Copyable
/Users/admin/builder/spi-builder-workspace/UILabel+Copyable/UILabel+Copyable.swift:26:8: error: no such module 'UIKit'
import UIKit
       ^
[4/4] Compiling UILabel_Copyable UILabel+Copyable.swift
/Users/admin/builder/spi-builder-workspace/UILabel+Copyable/UILabel+Copyable.swift:26:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm