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 Elephant, reference master (c6cb1d), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 23:28:26 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/s2mr/Elephant.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/s2mr/Elephant
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c6cb1d4 Update README
Cloned https://github.com/s2mr/Elephant.git
Revision (git rev-parse @):
c6cb1d4e39a3cceadf44c0b95e11230e3eec0904
SUCCESS checkout https://github.com/s2mr/Elephant.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/s2mr/Elephant.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
[3/7] Compiling Elephant SVGLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import WebKit
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module Elephant
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import WebKit
  3 |
[5/7] Compiling Elephant JavaScriptExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import WebKit
  3 |
[6/7] Compiling Elephant AnimationOwner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import WebKit
  3 |
[7/7] Compiling Elephant SVGView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import WebKit
  3 |
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Elephant/Info.plist
BUILD FAILURE 6.2 macosSpm