The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUIViewInspector, reference 1.0.0 (077986), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 01:06:30 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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tadelv/SwiftUIViewInspector.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/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 | }
[4/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
[5/7] Compiling SwiftUIViewInspector InspectionViewCoordinator.swift
[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.2 macosSpm