The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HeadingIndicator, reference main (550c7f), with Swift 6.3 for macOS (SPM) on 22 Apr 2026 11:47:47 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/HeadingIndicator.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/HeadingIndicator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 550c7f7 fix example indentation
Cloned https://github.com/kiliankoe/HeadingIndicator.git
Revision (git rev-parse @):
550c7f7a4636f4fae276939706b040a7294f520a
SUCCESS checkout https://github.com/kiliankoe/HeadingIndicator.git at main
========================================
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": "headingindicator",
      "name": "HeadingIndicator",
      "url": "https://github.com/kiliankoe/HeadingIndicator.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HeadingIndicator",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kiliankoe/HeadingIndicator.git
[1/27] Fetching headingindicator
Fetched https://github.com/kiliankoe/HeadingIndicator.git from cache (0.57s)
Creating working copy for https://github.com/kiliankoe/HeadingIndicator.git
Working copy of https://github.com/kiliankoe/HeadingIndicator.git resolved at main (550c7f7)
warning: '.resolve-product-dependencies': dependency 'headingindicator' 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/kiliankoe/HeadingIndicator.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/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
[4/5] Compiling HeadingIndicator Double+ext.swift
[5/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: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 | }
BUILD FAILURE 6.3 macosSpm