The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftUI-DetectGestureUtil, reference main (6ab800), with Swift 6.2 for macOS (SPM) on 12 Nov 2025 04:55:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Saw-000/SwiftUI-DetectGestureUtil
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6ab8008 Add reference to DefaultDetectGesture class (#18)
Cloned https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git
Revision (git rev-parse @):
6ab8008ded1a50e93634f0c4652a0c6629ab176d
SUCCESS checkout https://github.com/Saw-000/SwiftUI-DetectGestureUtil.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",
  "dependencies": [
    {
      "identity": "swiftui-detectgestureutil",
      "name": "SwiftUI-DetectGestureUtil",
      "url": "https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI-DetectGestureUtil",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git
[1/443] Fetching swiftui-detectgestureutil
Fetched https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git from cache (0.88s)
Creating working copy for https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git
Working copy of https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git resolved at main (6ab8008)
warning: '.resolve-product-dependencies': dependency 'swiftui-detectgestureutil' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-49B95AFC49DCD68C.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module MyModuleCore
/Users/admin/builder/spi-builder-workspace/Sources/Core/Gesture+Extension.swift:4:18: error: 'DragGesture' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public extension DragGesture.Value {
   |        |         `- error: 'DragGesture' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
 5 |     /// Distance moved from the initial tap location
 6 |     var diff: CGPoint {
[6/7] Compiling MyModuleCore CGSize+Extension.swift
[7/7] Compiling MyModuleCore Gesture+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Gesture+Extension.swift:4:18: error: 'DragGesture' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public extension DragGesture.Value {
   |        |         `- error: 'DragGesture' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
 5 |     /// Distance moved from the initial tap location
 6 |     var diff: CGPoint {
BUILD FAILURE 6.2 macosSpm