Build Information
Failed to build SplashScreen, reference main (a68364), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 05:47:13 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frios/SplashScreen.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/frios/SplashScreen
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a683643 testing removing ignoreSafeZones
Cloned https://github.com/frios/SplashScreen.git
Revision (git rev-parse @):
a6836437c1502f77482d69f8a72fbc1703f583eb
SUCCESS checkout https://github.com/frios/SplashScreen.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/frios/SplashScreen.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 SplashScreen
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
| `- error: 'State' is only available in macOS 10.15 or newer
15 |
16 | let duration: Double
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:20:59: error: 'ViewBuilder' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
:
18 | let content: Content
19 |
20 | public init(duration: Double = 0, delay: Double = 0, @ViewBuilder contentProvider: () -> Content){
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
21 | self.duration = duration
22 | self.delay = delay
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
:
24 | }
25 |
26 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
27 | content
28 | // .edgesIgnoringSafeArea(.all)
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:37: error: 'View' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
[4/4] Compiling SplashScreen SplashScreen.swift
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
| `- error: 'State' is only available in macOS 10.15 or newer
15 |
16 | let duration: Double
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:20:59: error: 'ViewBuilder' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
:
18 | let content: Content
19 |
20 | public init(duration: Double = 0, delay: Double = 0, @ViewBuilder contentProvider: () -> Content){
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
21 | self.duration = duration
22 | self.delay = delay
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
:
24 | }
25 |
26 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
27 | content
28 | // .edgesIgnoringSafeArea(.all)
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:37: error: 'View' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:29:14: error: 'opacity' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
:
24 | }
25 |
26 | public var body: some View {
| `- note: add @available attribute to enclosing property
27 | content
28 | // .edgesIgnoringSafeArea(.all)
29 | .opacity(showSplash ? 1 : 0)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .zIndex(0) //push this screen to the back
31 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:30:14: error: 'zIndex' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
:
24 | }
25 |
26 | public var body: some View {
| `- note: add @available attribute to enclosing property
27 | content
28 | // .edgesIgnoringSafeArea(.all)
29 | .opacity(showSplash ? 1 : 0)
30 | .zIndex(0) //push this screen to the back
| |- error: 'zIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | .onAppear {
32 | DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:31:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
:
24 | }
25 |
26 | public var body: some View {
| `- note: add @available attribute to enclosing property
27 | content
28 | // .edgesIgnoringSafeArea(.all)
29 | .opacity(showSplash ? 1 : 0)
30 | .zIndex(0) //push this screen to the back
31 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
33 | withAnimation(.easeOut(duration: duration)) {
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:33:21: error: 'withAnimation' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
:
24 | }
25 |
26 | public var body: some View {
| `- note: add @available attribute to enclosing property
27 | content
28 | // .edgesIgnoringSafeArea(.all)
:
31 | .onAppear {
32 | DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
33 | withAnimation(.easeOut(duration: duration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | showSplash = false
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:33:36: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
:
24 | }
25 |
26 | public var body: some View {
| `- note: add @available attribute to enclosing property
27 | content
28 | // .edgesIgnoringSafeArea(.all)
:
31 | .onAppear {
32 | DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
33 | withAnimation(.easeOut(duration: duration)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | showSplash = false
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:34:29: error: setter for 'showSplash' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct SplashScreen<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
13 |
14 | @State private var showSplash = true
:
24 | }
25 |
26 | public var body: some View {
| `- note: add @available attribute to enclosing property
27 | content
28 | // .edgesIgnoringSafeArea(.all)
:
32 | DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
33 | withAnimation(.easeOut(duration: duration)) {
34 | showSplash = false
| |- error: setter for 'showSplash' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | }
36 | }
BUILD FAILURE 6.2 macosSpm