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 ContentBlurView, reference main (57fe10), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 08:38:58 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/hiddevdploeg/ContentBlurView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hiddevdploeg/ContentBlurView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 57fe106 Update README.md
Cloned https://github.com/hiddevdploeg/ContentBlurView.git
Revision (git rev-parse @):
57fe106a209fc43cac24aaf512c60362f3eef377
SUCCESS checkout https://github.com/hiddevdploeg/ContentBlurView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hiddevdploeg/ContentBlurView.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 ContentBlurView
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 |
 9 | import SwiftUI
10 | public struct ContentBlurView<Content:View>: View{
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     @ViewBuilder var content: () -> Content
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |     @State private var direction : BlurDirection
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 | import SwiftUI
10 | public struct ContentBlurView<Content:View>: View{
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     @ViewBuilder var content: () -> Content
13 |     @State private var direction : BlurDirection
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:21:27: error: 'View' is only available in macOS 10.15 or newer
 8 |
 9 | import SwiftUI
10 | public struct ContentBlurView<Content:View>: View{
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     @ViewBuilder var content: () -> Content
   :
19 |     }
20 |
21 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
22 |         ZStack {
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:10:39: error: 'View' is only available in macOS 10.15 or newer
 8 |
 9 | import SwiftUI
10 | public struct ContentBlurView<Content:View>: View{
   |               |                       `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     @ViewBuilder var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:51:16: error: 'UnitPoint' is only available in macOS 10.15 or newer
46 |
47 |
48 | public enum BlurDirection {
   |             `- note: add @available attribute to enclosing enum
49 |     case bottomBlur, topBlur, leadingBlur, trailingBlur
50 |
51 |     var start: UnitPoint {
   |         |      `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
52 |         switch self {
53 |         case .bottomBlur:
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:64:14: error: 'UnitPoint' is only available in macOS 10.15 or newer
46 |
47 |
48 | public enum BlurDirection {
   |             `- note: add @available attribute to enclosing enum
49 |     case bottomBlur, topBlur, leadingBlur, trailingBlur
50 |
   :
62 |     }
63 |
64 |     var end: UnitPoint {
   |         |    `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
65 |         switch self {
66 |         case .bottomBlur:
[4/4] Compiling ContentBlurView ContentBlurView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 |
 9 | import SwiftUI
10 | public struct ContentBlurView<Content:View>: View{
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     @ViewBuilder var content: () -> Content
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |     @State private var direction : BlurDirection
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 | import SwiftUI
10 | public struct ContentBlurView<Content:View>: View{
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     @ViewBuilder var content: () -> Content
13 |     @State private var direction : BlurDirection
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:21:27: error: 'View' is only available in macOS 10.15 or newer
 8 |
 9 | import SwiftUI
10 | public struct ContentBlurView<Content:View>: View{
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     @ViewBuilder var content: () -> Content
   :
19 |     }
20 |
21 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
22 |         ZStack {
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:10:39: error: 'View' is only available in macOS 10.15 or newer
 8 |
 9 | import SwiftUI
10 | public struct ContentBlurView<Content:View>: View{
   |               |                       `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     @ViewBuilder var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:51:16: error: 'UnitPoint' is only available in macOS 10.15 or newer
46 |
47 |
48 | public enum BlurDirection {
   |             `- note: add @available attribute to enclosing enum
49 |     case bottomBlur, topBlur, leadingBlur, trailingBlur
50 |
51 |     var start: UnitPoint {
   |         |      `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
52 |         switch self {
53 |         case .bottomBlur:
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:64:14: error: 'UnitPoint' is only available in macOS 10.15 or newer
46 |
47 |
48 | public enum BlurDirection {
   |             `- note: add @available attribute to enclosing enum
49 |     case bottomBlur, topBlur, leadingBlur, trailingBlur
50 |
   :
62 |     }
63 |
64 |     var end: UnitPoint {
   |         |    `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
65 |         switch self {
66 |         case .bottomBlur:
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:17:9: error: setter for 'direction' is only available in macOS 10.15 or newer
 8 |
 9 | import SwiftUI
10 | public struct ContentBlurView<Content:View>: View{
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     @ViewBuilder var content: () -> Content
   :
14 |
15 |
16 |     public init(direction: BlurDirection = .bottomBlur, content: @escaping () -> Content) {
   |            `- note: add @available attribute to enclosing initializer
17 |         self.direction = direction
   |         |- error: setter for 'direction' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
18 |         self.content = content
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ContentBlurView/ContentBlurView.swift:21:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
19 |     }
20 |
21 |     public var body: some View {
   |                                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
22 |         ZStack {
23 |
BUILD FAILURE 6.2 macosSpm