The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BlurView, reference 1.0.0 (a01fe7), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 08:14:46 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/BlurView.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ericlewis/BlurView
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at a01fe7c public init
Cloned https://github.com/ericlewis/BlurView.git
Revision (git rev-parse @):
a01fe7cd6a06d1b7bd3d76a0ab144a4fea79f5de
SUCCESS checkout https://github.com/ericlewis/BlurView.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ericlewis/BlurView.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 BlurView
<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/BlurView/BlurView.swift:4:23: error: cannot find type 'UIBlurEffect' in scope
 2 |
 3 | public struct BlurView: UIViewRepresentable {
 4 |     public var style: UIBlurEffect.Style
   |                       `- error: cannot find type 'UIBlurEffect' in scope
 5 |     public var cornerRadius: CGFloat?
 6 |
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:7:26: error: cannot find type 'UIBlurEffect' in scope
 5 |     public var cornerRadius: CGFloat?
 6 |
 7 |     public init(_ style: UIBlurEffect.Style, cornerRadius: CGFloat? = nil) {
   |                          `- error: cannot find type 'UIBlurEffect' in scope
 8 |         self.style = style
 9 |         self.cornerRadius = cornerRadius
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:12:49: error: cannot find type 'UIVisualEffectView' in scope
10 |     }
11 |
12 |     public func makeUIView(context: Context) -> UIVisualEffectView {
   |                                                 `- error: cannot find type 'UIVisualEffectView' in scope
13 |         UIVisualEffectView(effect: UIBlurEffect(style: style))
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:12:37: error: cannot find type 'Context' in scope
10 |     }
11 |
12 |     public func makeUIView(context: Context) -> UIVisualEffectView {
   |                                     `- error: cannot find type 'Context' in scope
13 |         UIVisualEffectView(effect: UIBlurEffect(style: style))
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:16:40: error: cannot find type 'UIVisualEffectView' in scope
14 |     }
15 |
16 |     public func updateUIView(_ uiView: UIVisualEffectView, context: Context) {
   |                                        `- error: cannot find type 'UIVisualEffectView' in scope
17 |         if let cornerRadius = self.cornerRadius {
18 |             uiView.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:16:69: error: cannot find type 'Context' in scope
14 |     }
15 |
16 |     public func updateUIView(_ uiView: UIVisualEffectView, context: Context) {
   |                                                                     `- error: cannot find type 'Context' in scope
17 |         if let cornerRadius = self.cornerRadius {
18 |             uiView.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:3:25: error: cannot find type 'UIViewRepresentable' in scope
 1 | import SwiftUI
 2 |
 3 | public struct BlurView: UIViewRepresentable {
   |                         `- error: cannot find type 'UIViewRepresentable' in scope
 4 |     public var style: UIBlurEffect.Style
 5 |     public var cornerRadius: CGFloat?
[4/4] Compiling BlurView BlurView.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/BlurView/BlurView.swift:4:23: error: cannot find type 'UIBlurEffect' in scope
 2 |
 3 | public struct BlurView: UIViewRepresentable {
 4 |     public var style: UIBlurEffect.Style
   |                       `- error: cannot find type 'UIBlurEffect' in scope
 5 |     public var cornerRadius: CGFloat?
 6 |
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:7:26: error: cannot find type 'UIBlurEffect' in scope
 5 |     public var cornerRadius: CGFloat?
 6 |
 7 |     public init(_ style: UIBlurEffect.Style, cornerRadius: CGFloat? = nil) {
   |                          `- error: cannot find type 'UIBlurEffect' in scope
 8 |         self.style = style
 9 |         self.cornerRadius = cornerRadius
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:12:49: error: cannot find type 'UIVisualEffectView' in scope
10 |     }
11 |
12 |     public func makeUIView(context: Context) -> UIVisualEffectView {
   |                                                 `- error: cannot find type 'UIVisualEffectView' in scope
13 |         UIVisualEffectView(effect: UIBlurEffect(style: style))
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:12:37: error: cannot find type 'Context' in scope
10 |     }
11 |
12 |     public func makeUIView(context: Context) -> UIVisualEffectView {
   |                                     `- error: cannot find type 'Context' in scope
13 |         UIVisualEffectView(effect: UIBlurEffect(style: style))
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:16:40: error: cannot find type 'UIVisualEffectView' in scope
14 |     }
15 |
16 |     public func updateUIView(_ uiView: UIVisualEffectView, context: Context) {
   |                                        `- error: cannot find type 'UIVisualEffectView' in scope
17 |         if let cornerRadius = self.cornerRadius {
18 |             uiView.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:16:69: error: cannot find type 'Context' in scope
14 |     }
15 |
16 |     public func updateUIView(_ uiView: UIVisualEffectView, context: Context) {
   |                                                                     `- error: cannot find type 'Context' in scope
17 |         if let cornerRadius = self.cornerRadius {
18 |             uiView.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:3:25: error: cannot find type 'UIViewRepresentable' in scope
 1 | import SwiftUI
 2 |
 3 | public struct BlurView: UIViewRepresentable {
   |                         `- error: cannot find type 'UIViewRepresentable' in scope
 4 |     public var style: UIBlurEffect.Style
 5 |     public var cornerRadius: CGFloat?
BUILD FAILURE 6.2 macosSpm