The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AILoaders, reference 1.0.0 (81d4ff), with Swift 6.2 for macOS (SPM) on 19 Jul 2026 23:58:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fkilter/swiftui-ai-loaders.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fkilter/swiftui-ai-loaders
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 81d4ff9 Initial release: StepListLoader, HexagonPulseLoader, ShimmerText
Cloned https://github.com/fkilter/swiftui-ai-loaders.git
Revision (git rev-parse @):
81d4ff95637b02796d34d9967563e49de4c8b050
SUCCESS checkout https://github.com/fkilter/swiftui-ai-loaders.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fkilter/swiftui-ai-loaders.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/8] Emitting module AILoaders
[4/8] Compiling AILoaders StepListLoader.swift
[5/8] Compiling AILoaders LoaderStep.swift
[6/8] Compiling AILoaders Haptics.swift
[7/8] Compiling AILoaders ShimmerText.swift
[8/8] Compiling AILoaders HexagonPulseLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/AILoaders/HexagonPulseLoader.swift:63:40: error: ambiguous use of 'cos'
 61 |             let angle = Double(i - 1) * .pi / 3
 62 |             let position = CGPoint(
 63 |                 x: center.x + radius * cos(angle),
    |                                        `- error: ambiguous use of 'cos'
 64 |                 y: center.y + radius * sin(angle)
 65 |             )
CoreGraphics.cos:2:13: note: found this candidate in module 'CoreGraphics'
1 | @available(macOS 10.9, iOS 7.0, tvOS 9.0, watchOS 2.0, visionOS 1.0, *)
2 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'CoreGraphics'
_DarwinFoundation1.cos:2:13: note: found this candidate in module '_DarwinFoundation1'
1 | @available(macOS 10.9, iOS 7.0, watchOS 2.0, tvOS 9.0, visionOS 1.0, *)
2 | public func cos(_ x: Double) -> Double
  |             `- note: found this candidate in module '_DarwinFoundation1'
BUILD FAILURE 6.2 macosSpm