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 ColorPopoverWell, reference v1.0.0 (e7da13), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 07:43:56 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/KarlKraft/ColorPopoverWell.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/KarlKraft/ColorPopoverWell
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at e7da13e Add the walkthrough and update README with link to same
Cloned https://github.com/KarlKraft/ColorPopoverWell.git
Revision (git rev-parse @):
e7da13ebbb69852848307af7e206a8420272e5ad
SUCCESS checkout https://github.com/KarlKraft/ColorPopoverWell.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/KarlKraft/ColorPopoverWell.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 ColorPopoverWell ColorPopoverSwatch.swift
[4/7] Compiling ColorPopoverWell PaintCode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Compiling ColorPopoverWell ColorPopoverGradientSwatch.swift
[6/7] Emitting module ColorPopoverWell
/Users/admin/builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
 32 |     popover = NSPopover.init()
 33 |
 34 |     popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
    |                                                                                                 `- error: type 'Bundle?' has no member 'module'
 35 |     popover.behavior = .transient
 36 |     popover.contentViewController?.representedObject = self
[7/7] Compiling ColorPopoverWell ColorPopoverWell.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
 32 |     popover = NSPopover.init()
 33 |
 34 |     popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
    |                                                                                                 `- error: type 'Bundle?' has no member 'module'
 35 |     popover.behavior = .transient
 36 |     popover.contentViewController?.representedObject = self
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/ColorPopoverWell/ColorPopoverWell.xib
BUILD FAILURE 6.2 macosSpm