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 Scanner, reference 1.0.7 (3c5eee), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 13:01:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IBM/ios-scanner.git
Reference: 1.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/IBM/ios-scanner
 * tag               1.0.7      -> FETCH_HEAD
HEAD is now at 3c5eee0 Merge branch 'main' of github.com:IBM/ios-scanner
Cloned https://github.com/IBM/ios-scanner.git
Revision (git rev-parse @):
3c5eee0ce439b6ceb389c6c358061a24f1cac0f4
SUCCESS checkout https://github.com/IBM/ios-scanner.git at 1.0.7
========================================
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": "ios-scanner",
      "name": "Scanner",
      "url": "https://github.com/IBM/ios-scanner.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ios-scanner",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/IBM/ios-scanner.git
[1/69] Fetching ios-scanner
Fetched https://github.com/IBM/ios-scanner.git from cache (0.68s)
Creating working copy for https://github.com/IBM/ios-scanner.git
Working copy of https://github.com/IBM/ios-scanner.git resolved at 1.0.7 (3c5eee0)
warning: '.resolve-product-dependencies': dependency 'ios-scanner' 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/IBM/ios-scanner.git
https://github.com/IBM/ios-scanner.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Scanner",
  "name" : "Scanner",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Scanner",
      "targets" : [
        "Scanner"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScannerTests",
      "module_type" : "SwiftTarget",
      "name" : "ScannerTests",
      "path" : "Tests/ScannerTests",
      "sources" : [
        "Mock/DefaultScannerDelegate.swift",
        "ScannerTests.swift"
      ],
      "target_dependencies" : [
        "Scanner"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Scanner",
      "module_type" : "SwiftTarget",
      "name" : "Scanner",
      "path" : "Sources/Scanner",
      "product_memberships" : [
        "Scanner"
      ],
      "sources" : [
        "ScanError.swift",
        "ScanMode.swift",
        "Scanner.swift",
        "ScannerCoordinator.swift",
        "ScannerDelegate.swift",
        "ScannerViewController.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling Scanner ScannerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[4/9] Compiling Scanner ScannerViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module Scanner
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[6/9] Compiling Scanner ScanMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[7/9] Compiling Scanner Scanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[8/9] Compiling Scanner ScannerCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[9/9] Compiling Scanner ScanError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
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/8] Compiling Scanner ScannerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[3/8] Compiling Scanner ScannerCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[4/8] Compiling Scanner ScanMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module Scanner
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[6/8] Compiling Scanner ScanError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[7/8] Compiling Scanner ScannerViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[8/8] Compiling Scanner Scanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
BUILD FAILURE 6.1 macosSpm