Build Information
Failed to build SplashScreen with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frios/SplashScreen.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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: 5.10
Building package at path: $workDir
https://github.com/frios/SplashScreen.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SplashScreen
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showSplash = true
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:20:59: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(duration: Double = 0, delay: Double = 0, @ViewBuilder contentProvider: () -> Content){
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:20:12: note: add @available attribute to enclosing initializer
public init(duration: Double = 0, delay: Double = 0, @ViewBuilder contentProvider: () -> Content){
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:37: error: 'View' is only available in macOS 10.15 or newer
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
[4/4] Compiling SplashScreen SplashScreen.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showSplash = true
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:20:59: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(duration: Double = 0, delay: Double = 0, @ViewBuilder contentProvider: () -> Content){
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:20:12: note: add @available attribute to enclosing initializer
public init(duration: Double = 0, delay: Double = 0, @ViewBuilder contentProvider: () -> Content){
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:37: error: 'View' is only available in macOS 10.15 or newer
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:29:14: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(showSplash ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:30:14: error: 'zIndex' is only available in macOS 10.15 or newer
.zIndex(0) //push this screen to the back
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:31:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:31:14: note: add 'if #available' version check
.onAppear {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:33:21: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut(duration: duration)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:33:21: note: add 'if #available' version check
withAnimation(.easeOut(duration: duration)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:33:36: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
withAnimation(.easeOut(duration: duration)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:33:36: note: add 'if #available' version check
withAnimation(.easeOut(duration: duration)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:34:29: error: setter for 'showSplash' is only available in macOS 10.15 or newer
showSplash = false
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:34:29: note: add 'if #available' version check
showSplash = false
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SplashScreen
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showSplash = true
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:20:59: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(duration: Double = 0, delay: Double = 0, @ViewBuilder contentProvider: () -> Content){
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:20:12: note: add @available attribute to enclosing initializer
public init(duration: Double = 0, delay: Double = 0, @ViewBuilder contentProvider: () -> Content){
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:37: error: 'View' is only available in macOS 10.15 or newer
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
[3/3] Compiling SplashScreen SplashScreen.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showSplash = true
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:20:59: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(duration: Double = 0, delay: Double = 0, @ViewBuilder contentProvider: () -> Content){
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:20:12: note: add @available attribute to enclosing initializer
public init(duration: Double = 0, delay: Double = 0, @ViewBuilder contentProvider: () -> Content){
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:37: error: 'View' is only available in macOS 10.15 or newer
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:29:14: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(showSplash ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:30:14: error: 'zIndex' is only available in macOS 10.15 or newer
.zIndex(0) //push this screen to the back
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:31:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:31:14: note: add 'if #available' version check
.onAppear {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:33:21: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.easeOut(duration: duration)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:33:21: note: add 'if #available' version check
withAnimation(.easeOut(duration: duration)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:33:36: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
withAnimation(.easeOut(duration: duration)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:33:36: note: add 'if #available' version check
withAnimation(.easeOut(duration: duration)) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:34:29: error: setter for 'showSplash' is only available in macOS 10.15 or newer
showSplash = false
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:34:29: note: add 'if #available' version check
showSplash = false
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashScreen/SplashScreen.swift:12:15: note: add @available attribute to enclosing generic struct
public struct SplashScreen<Content: View>: View {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm