The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ColorPopoverWell with Swift 5.7 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.21.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KarlKraft/ColorPopoverWell.git
Reference: v1.0.0
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-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 into spi-builder-workspace
e7da13ebbb69852848307af7e206a8420272e5ad
SUCCESS checkout https://github.com/KarlKraft/ColorPopoverWell.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64
Building ... (attempt 1)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.xib
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Compiling ColorPopoverWell ColorPopoverGradientSwatch.swift
[2/5] Compiling ColorPopoverWell PaintCode.swift
[3/5] Compiling ColorPopoverWell ColorPopoverSwatch.swift
[4/5] Emitting module ColorPopoverWell
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
    popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
                                                                                               ~^~~~~~
[5/5] Compiling ColorPopoverWell ColorPopoverWell.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
    popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
                                                                                               ~^~~~~~
Retrying in 0 seconds ...
Building ... (attempt 2)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.xib
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module ColorPopoverWell
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
    popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
                                                                                               ~^~~~~~
[2/2] Compiling ColorPopoverWell ColorPopoverWell.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ColorPopoverWell/ColorPopoverWell.swift:34:97: error: type 'Bundle?' has no member 'module'
    popover.contentViewController = NSViewController.init(nibName: "ColorPopoverWell", bundle: .module)
                                                                                               ~^~~~~~
Retrying in 0 seconds ...
BUILD FAILURE 5.7 macosSpm

Build Machine: Mac 5