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 ActivityIndicatorView, reference 2.0.0 (4f3270), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 07:23:40 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/ericlewis/ActivityIndicatorView.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ericlewis/ActivityIndicatorView
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 4f3270a chore: add MIT license
Cloned https://github.com/ericlewis/ActivityIndicatorView.git
Revision (git rev-parse @):
4f3270aa7113594d3792a420b4ed4c9ae0a8a16d
SUCCESS checkout https://github.com/ericlewis/ActivityIndicatorView.git at 2.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ericlewis/ActivityIndicatorView.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/4] Emitting module ActivityIndicatorView
<unknown>:0: error: invalid value '5.1' in '-swift-version 5.1'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:5:16: error: cannot find type 'UIColor' in scope
 3 | public struct ActivityIndicatorView: UIViewRepresentable {
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
   |                `- error: cannot find type 'UIColor' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:6:16: error: cannot find type 'UIActivityIndicatorView' in scope
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
 6 |     var style: UIActivityIndicatorView.Style
   |                `- error: cannot find type 'UIActivityIndicatorView' in scope
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:8:70: error: cannot find type 'UIActivityIndicatorView' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
   |                                                                      `- error: cannot find type 'UIActivityIndicatorView' in scope
 9 |         _isAnimating = isAnimating
10 |         self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:8:118: error: cannot find type 'UIColor' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
   |                                                                                                                      `- error: cannot find type 'UIColor' in scope
 9 |         _isAnimating = isAnimating
10 |         self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:14:49: error: cannot find type 'UIActivityIndicatorView' in scope
12 |     }
13 |
14 |     public func makeUIView(context: Context) -> UIActivityIndicatorView {
   |                                                 `- error: cannot find type 'UIActivityIndicatorView' in scope
15 |         UIActivityIndicatorView(style: style)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:14:37: error: cannot find type 'Context' in scope
12 |     }
13 |
14 |     public func makeUIView(context: Context) -> UIActivityIndicatorView {
   |                                     `- error: cannot find type 'Context' in scope
15 |         UIActivityIndicatorView(style: style)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:18:40: error: cannot find type 'UIActivityIndicatorView' in scope
16 |     }
17 |
18 |     public func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
   |                                        `- error: cannot find type 'UIActivityIndicatorView' in scope
19 |         uiView.color = self.color
20 |         self.isAnimating ? uiView.startAnimating() : uiView.stopAnimating()
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:18:74: error: cannot find type 'Context' in scope
16 |     }
17 |
18 |     public func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
   |                                                                          `- error: cannot find type 'Context' in scope
19 |         uiView.color = self.color
20 |         self.isAnimating ? uiView.startAnimating() : uiView.stopAnimating()
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:3:38: error: cannot find type 'UIViewRepresentable' in scope
 1 | import SwiftUI
 2 |
 3 | public struct ActivityIndicatorView: UIViewRepresentable {
   |                                      `- error: cannot find type 'UIViewRepresentable' in scope
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
[4/4] Compiling ActivityIndicatorView ActivityIndicatorView.swift
<unknown>:0: error: invalid value '5.1' in '-swift-version 5.1'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:5:16: error: cannot find type 'UIColor' in scope
 3 | public struct ActivityIndicatorView: UIViewRepresentable {
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
   |                `- error: cannot find type 'UIColor' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:6:16: error: cannot find type 'UIActivityIndicatorView' in scope
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
 6 |     var style: UIActivityIndicatorView.Style
   |                `- error: cannot find type 'UIActivityIndicatorView' in scope
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:8:70: error: cannot find type 'UIActivityIndicatorView' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
   |                                                                      `- error: cannot find type 'UIActivityIndicatorView' in scope
 9 |         _isAnimating = isAnimating
10 |         self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:8:118: error: cannot find type 'UIColor' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
   |                                                                                                                      `- error: cannot find type 'UIColor' in scope
 9 |         _isAnimating = isAnimating
10 |         self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:14:49: error: cannot find type 'UIActivityIndicatorView' in scope
12 |     }
13 |
14 |     public func makeUIView(context: Context) -> UIActivityIndicatorView {
   |                                                 `- error: cannot find type 'UIActivityIndicatorView' in scope
15 |         UIActivityIndicatorView(style: style)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:14:37: error: cannot find type 'Context' in scope
12 |     }
13 |
14 |     public func makeUIView(context: Context) -> UIActivityIndicatorView {
   |                                     `- error: cannot find type 'Context' in scope
15 |         UIActivityIndicatorView(style: style)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:18:40: error: cannot find type 'UIActivityIndicatorView' in scope
16 |     }
17 |
18 |     public func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
   |                                        `- error: cannot find type 'UIActivityIndicatorView' in scope
19 |         uiView.color = self.color
20 |         self.isAnimating ? uiView.startAnimating() : uiView.stopAnimating()
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:18:74: error: cannot find type 'Context' in scope
16 |     }
17 |
18 |     public func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
   |                                                                          `- error: cannot find type 'Context' in scope
19 |         uiView.color = self.color
20 |         self.isAnimating ? uiView.startAnimating() : uiView.stopAnimating()
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:3:38: error: cannot find type 'UIViewRepresentable' in scope
 1 | import SwiftUI
 2 |
 3 | public struct ActivityIndicatorView: UIViewRepresentable {
   |                                      `- error: cannot find type 'UIViewRepresentable' in scope
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
BUILD FAILURE 6.2 macosSpm