Build Information
Failed to build SwiftUIViewInspector, reference 1.0.0 (077986), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 10:22:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tadelv/SwiftUIViewInspector.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tadelv/SwiftUIViewInspector
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 0779869 Merge pull request #9 from tadelv/erikdrobne-patch-2
Cloned https://github.com/tadelv/SwiftUIViewInspector.git
Revision (git rev-parse @):
0779869f8e77098475c455ce08195760b106622d
SUCCESS checkout https://github.com/tadelv/SwiftUIViewInspector.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swiftuiviewinspector",
"name": "SwiftUIViewInspector",
"url": "https://github.com/tadelv/SwiftUIViewInspector.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUIViewInspector",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/tadelv/SwiftUIViewInspector.git
[1/221] Fetching swiftuiviewinspector
Fetched https://github.com/tadelv/SwiftUIViewInspector.git from cache (0.67s)
Creating working copy for https://github.com/tadelv/SwiftUIViewInspector.git
Working copy of https://github.com/tadelv/SwiftUIViewInspector.git resolved at 1.0.0 (0779869)
warning: '.resolve-product-dependencies': dependency 'swiftuiviewinspector' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/tadelv/SwiftUIViewInspector.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module SwiftUIViewInspector
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/TouchTransparentView.swift:28:18: warning: input handling on macOS not implemented yet
26 | }
27 | #else
28 | #warning("input handling on macOS not implemented yet")
| `- warning: input handling on macOS not implemented yet
29 | #endif
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:12:48: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct Inspectable: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
11 | let view = InspectionView()
12 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
13 | content
14 | .overlay(view)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:32: error: 'View' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public extension View {
| `- note: add '@available' attribute to enclosing extension
19 | func inspectable() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
20 | self
21 | .modifier(Inspectable())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:18: error: 'View' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
19 | func inspectable() -> some View {
20 | self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:11:39: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
9 | #if os(macOS)
10 | typealias PlatformView = NSView
11 | typealias PlatformViewRepresentable = NSViewRepresentable
| | `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing type alias
12 | typealias PlatformGestureRecognizer = NSClickGestureRecognizer
13 | typealias PlatformViewRepresentableContext = NSViewRepresentableContext
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:13:46: error: 'NSViewRepresentableContext' is only available in macOS 10.15 or newer
11 | typealias PlatformViewRepresentable = NSViewRepresentable
12 | typealias PlatformGestureRecognizer = NSClickGestureRecognizer
13 | typealias PlatformViewRepresentableContext = NSViewRepresentableContext
| | `- error: 'NSViewRepresentableContext' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing type alias
14 | typealias PlatformColor = NSColor
15 | typealias PlatformPoint = NSPoint
[4/7] Compiling SwiftUIViewInspector InspectionViewCoordinator.swift
[5/7] Compiling SwiftUIViewInspector TouchTransparentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/TouchTransparentView.swift:28:18: warning: input handling on macOS not implemented yet
26 | }
27 | #else
28 | #warning("input handling on macOS not implemented yet")
| `- warning: input handling on macOS not implemented yet
29 | #endif
30 | }
[6/7] Compiling SwiftUIViewInspector InspectionView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:11:39: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
9 | #if os(macOS)
10 | typealias PlatformView = NSView
11 | typealias PlatformViewRepresentable = NSViewRepresentable
| | `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing type alias
12 | typealias PlatformGestureRecognizer = NSClickGestureRecognizer
13 | typealias PlatformViewRepresentableContext = NSViewRepresentableContext
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/InspectionView.swift:13:46: error: 'NSViewRepresentableContext' is only available in macOS 10.15 or newer
11 | typealias PlatformViewRepresentable = NSViewRepresentable
12 | typealias PlatformGestureRecognizer = NSClickGestureRecognizer
13 | typealias PlatformViewRepresentableContext = NSViewRepresentableContext
| | `- error: 'NSViewRepresentableContext' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing type alias
14 | typealias PlatformColor = NSColor
15 | typealias PlatformPoint = NSPoint
[7/7] Compiling SwiftUIViewInspector Inspectable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:12:48: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct Inspectable: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
11 | let view = InspectionView()
12 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
13 | content
14 | .overlay(view)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:19:32: error: 'View' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public extension View {
| `- note: add '@available' attribute to enclosing extension
19 | func inspectable() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
20 | self
21 | .modifier(Inspectable())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:18:18: error: 'View' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
19 | func inspectable() -> some View {
20 | self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:14:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct Inspectable: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
11 | let view = InspectionView()
12 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
13 | content
14 | .overlay(view)
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:21:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public extension View {
| `- note: add '@available' attribute to enclosing extension
19 | func inspectable() -> some View {
| `- note: add '@available' attribute to enclosing instance method
20 | self
21 | .modifier(Inspectable())
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIViewInspector/Inspectable.swift:21:14: error: 'modifier' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public extension View {
| `- note: add '@available' attribute to enclosing extension
19 | func inspectable() -> some View {
| `- note: add '@available' attribute to enclosing instance method
20 | self
21 | .modifier(Inspectable())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | }
23 | }
BUILD FAILURE 6.3 macosSpm