The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Iconoir, reference main (66391f), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 07:32:23 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/iconoir-icons/iconoir-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iconoir-icons/iconoir-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 66391f6 Updates Removing renamed icons. (#15)
Cloned https://github.com/iconoir-icons/iconoir-swift.git
Revision (git rev-parse @):
66391f61281c4c203ae2003ebf66627dc849f233
SUCCESS checkout https://github.com/iconoir-icons/iconoir-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/iconoir-icons/iconoir-swift.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/5] Compiling Iconoir Icon.swift
[4/5] Emitting module Iconoir
[5/5] Compiling Iconoir Iconoir.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iconoir/Iconoir.swift:29:52: error: type 'Bundle' has no member 'module'
27 |     /// Returns a SwiftUI Image of the Iconoir icon.
28 |     var asImage: Image {
29 |         return Image(self.rawValue, bundle: Bundle.module)
   |                                                    `- error: type 'Bundle' has no member 'module'
30 |             .renderingMode(.template)
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Iconoir/Iconoir.swift:38:45: error: type 'Bundle' has no member 'module'
36 |     /// - Returns: SwiftUI Image
37 |     static func image(from string: String) -> Image {
38 |         return Image(string, bundle: Bundle.module)
   |                                             `- error: type 'Bundle' has no member 'module'
39 |             .renderingMode(.template)
40 |     }
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/Iconoir/Assets.xcassets
BUILD FAILURE 6.2 macosSpm