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 RichText, reference main (0bd1f7), with Swift 6.0 for macOS (SPM) on 14 Dec 2025 17:42:13 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: 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 0bd1f77 Fix a view embedding issue that causes state reset
Cloned https://github.com/LiYanan2004/RichText.git
Revision (git rev-parse @):
0bd1f7726fcbbeadb67162f73fd7723d39b2bc11
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 _InterpolationValue.swift
[5/10] Compiling Introspection FormatStyle++.swift
[6/10] Emitting module Introspection
[7/10] Compiling Introspection ViewIdentity.swift
[8/10] Compiling Introspection TextStorage.swift
[9/10] Compiling Introspection _FormatParser.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