The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftySnap, reference 1.0.2 (a98112), with Swift 6.1 for macOS (SPM) on 23 May 2025 10:41:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/asb2004/SwiftySnap
 * tag               1.0.2      -> FETCH_HEAD
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 1.0.2
========================================
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": "swiftysnap",
      "name": "SwiftySnap",
      "url": "https://github.com/asb2004/SwiftySnap.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftySnap",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/asb2004/SwiftySnap.git
[1/62] Fetching swiftysnap
Fetched https://github.com/asb2004/SwiftySnap.git from cache (0.79s)
Creating working copy for https://github.com/asb2004/SwiftySnap.git
Working copy of https://github.com/asb2004/SwiftySnap.git resolved at 1.0.2 (a981127)
warning: '.resolve-product-dependencies': dependency 'swiftysnap' 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/asb2004/SwiftySnap.git
https://github.com/asb2004/SwiftySnap.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftySnap",
  "name" : "SwiftySnap",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftySnap",
      "targets" : [
        "SwiftySnap"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftySnap",
      "module_type" : "SwiftTarget",
      "name" : "SwiftySnap",
      "path" : "Sources/SwiftySnap",
      "product_memberships" : [
        "SwiftySnap"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Assets/Media.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftySnap/Camera View/View/SwiftySnapViewController.xib",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Camera View/Controller/SwiftySnapViewController.swift",
        "Camera View/Enums/SwiftySnapCameraType.swift",
        "Camera View/Protocols/SwiftySnapViewProtocol.swift",
        "Provider/Color Provider/DefaultSwiftySnapColors.swift",
        "Provider/Color Provider/SwiftySnapColorManager.swift",
        "Provider/Color Provider/SwiftySnapColorProviding.swift",
        "SwiftySnap.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/4] Write sources
[0/4] Copying SwiftySnapViewController.xib
[2/4] Copying Media.xcassets
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/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 |
[6/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 |
[7/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 |
[8/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 |
[9/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 |
[10/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 |
[11/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/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 |
[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 |
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/10] 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 |
[3/10] 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 |
[4/10] 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 |
[5/10] 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 |
[6/10] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] 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 |
[8/10] 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 |
[9/10] 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 |
[10/10] 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 |
BUILD FAILURE 6.1 macosSpm