The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UUSwiftTestCore, reference 0.0.5 (1563c8), with Swift 6.2 for macOS (SPM) on 27 Jun 2026 19:07:23 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Reference: 0.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SilverPineSoftware/UUSwiftTestCore
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 1563c80 Add github actions and update git ignore
Cloned https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Revision (git rev-parse @):
1563c80ed71b57662a9bdf9af96f8e6267605f6b
SUCCESS checkout https://github.com/SilverPineSoftware/UUSwiftTestCore.git at 0.0.5
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module UUSwiftTestCoreUX
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:12:39: error: 'Scene' is only available in macOS 11.0 or newer
 10 | import SwiftUI
 11 |
 12 | public func UUTestHostScene() -> some Scene
    |             |                         `- error: 'Scene' is only available in macOS 11.0 or newer
    |             `- note: add '@available' attribute to enclosing global function
 13 | {
 14 |     return WindowGroup
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:130:6: error: 'StateObject' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
    |               `- note: add '@available' attribute to enclosing struct
129 | {
130 |     @StateObject private var viewModel = UUTestHostViewModel()
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
131 |
132 |     public init()
[5/8] Compiling UUSwiftTestCoreUX UUTestView.swift
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:12:39: error: 'Scene' is only available in macOS 11.0 or newer
 10 | import SwiftUI
 11 |
 12 | public func UUTestHostScene() -> some Scene
    |             |                         `- error: 'Scene' is only available in macOS 11.0 or newer
    |             `- note: add '@available' attribute to enclosing global function
 13 | {
 14 |     return WindowGroup
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:130:6: error: 'StateObject' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
    |               `- note: add '@available' attribute to enclosing struct
129 | {
130 |     @StateObject private var viewModel = UUTestHostViewModel()
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
131 |
132 |     public init()
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:14:12: error: 'WindowGroup' is only available in macOS 11.0 or newer
 10 | import SwiftUI
 11 |
 12 | public func UUTestHostScene() -> some Scene
    |             `- note: add '@available' attribute to enclosing global function
 13 | {
 14 |     return WindowGroup
    |            |- error: 'WindowGroup' is only available in macOS 11.0 or newer
    |            `- note: add 'if #available' version check
 15 |     {
 16 |         UUTestHostView()
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:14:12: error: 'init(makeContent:)' is only available in macOS 11.0 or newer
 10 | import SwiftUI
 11 |
 12 | public func UUTestHostScene() -> some Scene
    |             `- note: add '@available' attribute to enclosing global function
 13 | {
 14 |     return WindowGroup
    |            |- error: 'init(makeContent:)' is only available in macOS 11.0 or newer
    |            `- note: add 'if #available' version check
 15 |     {
 16 |         UUTestHostView()
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:147:13: error: 'ScrollViewReader' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
    |               `- note: add '@available' attribute to enclosing struct
129 | {
130 |     @StateObject private var viewModel = UUTestHostViewModel()
    :
135 |     }
136 |
137 |     public var body: some View
    |                `- note: add '@available' attribute to enclosing property
138 |     {
139 |         VStack
    :
145 |                 .frame(maxWidth: .infinity, alignment: .leading)
146 |
147 |             ScrollViewReader { proxy in
    |             |- error: 'ScrollViewReader' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
148 |                 List(viewModel.lines.indices, id: \.self) { index in
149 |                     Text(viewModel.lines[index])
/Users/admin/builder/spi-builder-workspace/SourceUX/UUTestView.swift:153:18: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
126 | }
127 |
128 | public struct UUTestHostView: View
    |               `- note: add '@available' attribute to enclosing struct
129 | {
130 |     @StateObject private var viewModel = UUTestHostViewModel()
    :
135 |     }
136 |
137 |     public var body: some View
    |                `- note: add '@available' attribute to enclosing property
138 |     {
139 |         VStack
    :
151 |                         .id(index) // <-- IMPORTANT: Add .id so we can scroll to it
152 |                 }
153 |                 .onChange(of: viewModel.lines.count) { _ in
    |                  |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
154 |                     // Scroll to the last item when lines change
155 |                     if let lastIndex = viewModel.lines.indices.last {
BUILD FAILURE 6.2 macosSpm