The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftySnap, reference main (a98112), with Swift 6.0 for macOS (SPM) on 23 May 2025 17:55:49 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asb2004/SwiftySnap.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/asb2004/SwiftySnap
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a981127 Remove podspace file
Cloned https://github.com/asb2004/SwiftySnap.git
Revision (git rev-parse @):
a981127d02da6ca4f18bd844d6f195da2c386ff9
SUCCESS checkout https://github.com/asb2004/SwiftySnap.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/asb2004/SwiftySnap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Copying SwiftySnapViewController.xib
[2/4] Copying Media.xcassets
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
[5/13] Compiling SwiftySnap DefaultSwiftySnapColors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Camera View/Controller/SwiftySnapViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import AVFoundation
 10 |
[6/13] Compiling SwiftySnap SwiftySnapViewProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Camera View/Controller/SwiftySnapViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import AVFoundation
 10 |
[7/13] Compiling SwiftySnap SwiftySnapColorProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Camera View/Controller/SwiftySnapViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import AVFoundation
 10 |
[8/13] Compiling SwiftySnap SwiftySnapColorManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Camera View/Controller/SwiftySnapViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import AVFoundation
 10 |
[9/13] Compiling SwiftySnap SwiftySnap.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Camera View/Controller/SwiftySnapViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import AVFoundation
 10 |
[10/13] Compiling SwiftySnap resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Camera View/Controller/SwiftySnapViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import AVFoundation
 10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/13] Emitting module SwiftySnap
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Camera View/Controller/SwiftySnapViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import AVFoundation
 10 |
[12/13] Compiling SwiftySnap SwiftySnapCameraType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Camera View/Controller/SwiftySnapViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import AVFoundation
 10 |
[13/13] Compiling SwiftySnap SwiftySnapViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Camera View/Controller/SwiftySnapViewController.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import AVFoundation
 10 |
BUILD FAILURE 6.0 macosSpm