Build Information
Failed to build HeadingIndicator, reference 0.1.0 (aa2738
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 02:07:24 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/kiliankoe/HeadingIndicator.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/HeadingIndicator
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at aa27382 initial commit
Cloned https://github.com/kiliankoe/HeadingIndicator.git
Revision (git rev-parse @):
aa273824a0b3268ac2a09a646dae50e38ec9bca1
SUCCESS checkout https://github.com/kiliankoe/HeadingIndicator.git at 0.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/kiliankoe/HeadingIndicator.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/5] Emitting module HeadingIndicator
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
:
46 | }
47 |
48 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
49 | content
50 | .rotationEffect(.degrees(self.targetHeading))
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:63:31: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct HeadingIndicator_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
55 | static let berlinCenter = CLLocationCoordinate2D(
56 | latitude: 52.5145579,
:
61 | longitude: 13.3478372)
62 |
63 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
64 | HeadingIndicator(
65 | currentLocation: berlinCenter,
[4/5] Compiling HeadingIndicator HeadingIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
:
46 | }
47 |
48 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
49 | content
50 | .rotationEffect(.degrees(self.targetHeading))
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:63:31: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct HeadingIndicator_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
55 | static let berlinCenter = CLLocationCoordinate2D(
56 | latitude: 52.5145579,
:
61 | longitude: 13.3478372)
62 |
63 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
64 | HeadingIndicator(
65 | currentLocation: berlinCenter,
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:50:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
:
46 | }
47 |
48 | public var body: some View {
| `- note: add @available attribute to enclosing property
49 | content
50 | .rotationEffect(.degrees(self.targetHeading))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:64:9: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
52 | }
53 |
54 | struct HeadingIndicator_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
55 | static let berlinCenter = CLLocationCoordinate2D(
56 | latitude: 52.5145579,
:
61 | longitude: 13.3478372)
62 |
63 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
64 | HeadingIndicator(
| |- warning: conformance of 'Image' 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
65 | currentLocation: berlinCenter,
66 | currentHeading: CLHeading(),
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:64:9: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
52 | }
53 |
54 | struct HeadingIndicator_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
55 | static let berlinCenter = CLLocationCoordinate2D(
56 | latitude: 52.5145579,
:
61 | longitude: 13.3478372)
62 |
63 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
64 | HeadingIndicator(
| |- warning: conformance of 'Image' 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
65 | currentLocation: berlinCenter,
66 | currentHeading: CLHeading(),
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:68:17: error: 'Image' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct HeadingIndicator_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
55 | static let berlinCenter = CLLocationCoordinate2D(
56 | latitude: 52.5145579,
:
61 | longitude: 13.3478372)
62 |
63 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
64 | HeadingIndicator(
65 | currentLocation: berlinCenter,
66 | currentHeading: CLHeading(),
67 | targetLocation: brandenburgGate) {
68 | Image(systemName: "arrow.up.circle")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | }
70 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:68:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
52 | }
53 |
54 | struct HeadingIndicator_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
55 | static let berlinCenter = CLLocationCoordinate2D(
56 | latitude: 52.5145579,
:
61 | longitude: 13.3478372)
62 |
63 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
64 | HeadingIndicator(
65 | currentLocation: berlinCenter,
66 | currentHeading: CLHeading(),
67 | targetLocation: brandenburgGate) {
68 | Image(systemName: "arrow.up.circle")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
69 | }
70 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:70:10: error: 'padding' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct HeadingIndicator_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
55 | static let berlinCenter = CLLocationCoordinate2D(
56 | latitude: 52.5145579,
:
61 | longitude: 13.3478372)
62 |
63 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
64 | HeadingIndicator(
65 | currentLocation: berlinCenter,
:
68 | Image(systemName: "arrow.up.circle")
69 | }
70 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .previewLayout(.sizeThatFits)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:71:10: error: 'previewLayout' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct HeadingIndicator_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
55 | static let berlinCenter = CLLocationCoordinate2D(
56 | latitude: 52.5145579,
:
61 | longitude: 13.3478372)
62 |
63 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
64 | HeadingIndicator(
65 | currentLocation: berlinCenter,
:
69 | }
70 | .padding()
71 | .previewLayout(.sizeThatFits)
| |- error: 'previewLayout' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | }
73 | }
[5/5] Compiling HeadingIndicator Double+ext.swift
BUILD FAILURE 6.2 macosSpm