The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RichText, reference main (74e573), with Swift 6.0 for macOS (SPM) on 19 Mar 2026 20:13:30 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LiYanan2004/RichText.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LiYanan2004/RichText
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 74e5735 Refactor examples and add UI tests
Cloned https://github.com/LiYanan2004/RichText.git
Revision (git rev-parse @):
74e57352487dcf8862869c603c4cd48dda1609cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/LiYanan2004/RichText.git at main
========================================
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] 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 |                 )
[5/10] Compiling Introspection ViewIdentity.swift
[6/10] Compiling Introspection FormatStyle++.swift
[7/10] Compiling Introspection _InterpolationValue.swift
[8/10] Compiling Introspection _FormatParser.swift
[9/10] Emitting module Introspection
[10/10] Compiling Introspection TextStorage.swift
BUILD FAILURE 6.0 macosSpm