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 CameraButton, reference master (0c7f72), with Swift 6.1 for macOS (SPM) on 17 May 2025 20:52:24 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ramiz69/CameraButton.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ramiz69/CameraButton
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0c7f724 Update README.md
Cloned https://github.com/Ramiz69/CameraButton.git
Revision (git rev-parse @):
0c7f724f6de29c4fb102888dceeef2ac0b5e8d91
SUCCESS checkout https://github.com/Ramiz69/CameraButton.git at master
========================================
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": "camerabutton",
      "name": "CameraButton",
      "url": "https://github.com/Ramiz69/CameraButton.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CameraButton",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Ramiz69/CameraButton.git
[7/211] Fetching camerabutton
Fetched https://github.com/Ramiz69/CameraButton.git from cache (1.16s)
Creating working copy for https://github.com/Ramiz69/CameraButton.git
Working copy of https://github.com/Ramiz69/CameraButton.git resolved at master (0c7f724)
warning: '.resolve-product-dependencies': dependency 'camerabutton' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Ramiz69/CameraButton.git
https://github.com/Ramiz69/CameraButton.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CameraButton",
  "name" : "CameraButton",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "CameraButton",
      "targets" : [
        "CameraButton"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "CameraButton",
      "module_type" : "SwiftTarget",
      "name" : "CameraButton",
      "path" : "Sources",
      "product_memberships" : [
        "CameraButton"
      ],
      "sources" : [
        "CameraButton.swift",
        "CameraType.swift",
        "Protocols/CameraButtonDelegate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module CameraButton
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
 23 | //
 24 |
 25 | import UIKit
    |        `- error: no such module 'UIKit'
 26 |
 27 | open class CameraButton: UIButton {
[4/6] Compiling CameraButton CameraButtonDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
 23 | //
 24 |
 25 | import UIKit
    |        `- error: no such module 'UIKit'
 26 |
 27 | open class CameraButton: UIButton {
[5/6] Compiling CameraButton CameraType.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
 23 | //
 24 |
 25 | import UIKit
    |        `- error: no such module 'UIKit'
 26 |
 27 | open class CameraButton: UIButton {
[6/6] Compiling CameraButton CameraButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
 23 | //
 24 |
 25 | import UIKit
    |        `- error: no such module 'UIKit'
 26 |
 27 | open class CameraButton: UIButton {
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/Info.plist
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/5] Compiling CameraButton CameraButtonDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
 23 | //
 24 |
 25 | import UIKit
    |        `- error: no such module 'UIKit'
 26 |
 27 | open class CameraButton: UIButton {
[3/5] Compiling CameraButton CameraType.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
 23 | //
 24 |
 25 | import UIKit
    |        `- error: no such module 'UIKit'
 26 |
 27 | open class CameraButton: UIButton {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module CameraButton
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
 23 | //
 24 |
 25 | import UIKit
    |        `- error: no such module 'UIKit'
 26 |
 27 | open class CameraButton: UIButton {
[5/5] Compiling CameraButton CameraButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraButton.swift:25:8: error: no such module 'UIKit'
 23 | //
 24 |
 25 | import UIKit
    |        `- error: no such module 'UIKit'
 26 |
 27 | open class CameraButton: UIButton {
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/Info.plist
BUILD FAILURE 6.1 macosSpm