The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RichText, reference 0.1.0 (32a834), with Swift 6.0 for macOS (SPM) on 26 Oct 2025 19:34:26 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LiYanan2004/RichText.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LiYanan2004/RichText
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 32a8348 Update README
Cloned https://github.com/LiYanan2004/RichText.git
Revision (git rev-parse @):
32a8348d7862e19b6d624625a35541b49d2a0f31
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/LiYanan2004/RichText.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/LiYanan2004/RichText.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/10] Emitting module Introspection
[5/10] Compiling Introspection FormatStyle++.swift
[6/10] Compiling Introspection _FormatParser.swift
[7/10] Compiling Introspection ViewIdentity.swift
[8/10] Compiling Introspection TextStorage.swift
[9/10] Compiling Introspection _InterpolationValue.swift
[10/10] Compiling Introspection ResolvedLocalizedStringKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Introspection/SwiftUI/Text/ResolvedLocalizedStringKey.swift:69:36: error: cannot convert value of type 'Bundle' to expected argument type 'LocalizedStringResource.BundleDescription'
 67 |                     .init(key),
 68 |                     table: tableName,
 69 |                     bundle: bundle ?? .main,
    |                                    `- error: cannot convert value of type 'Bundle' to expected argument type 'LocalizedStringResource.BundleDescription'
 70 |                     comment: comment
 71 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/Introspection/SwiftUI/Text/ResolvedLocalizedStringKey.swift:84:36: error: cannot convert value of type 'Bundle' to expected argument type 'LocalizedStringResource.BundleDescription'
 82 |                     .init(stringInterpolation: interpolation),
 83 |                     table: tableName,
 84 |                     bundle: bundle ?? .main,
    |                                    `- error: cannot convert value of type 'Bundle' to expected argument type 'LocalizedStringResource.BundleDescription'
 85 |                     comment: comment
 86 |                 )
BUILD FAILURE 6.0 macosSpm