Build Information
Failed to build RichText, reference main (0bd1f7), with Swift 6.1 for macOS (SPM) on 14 Dec 2025 17:43:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build 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.1
Building package at path: $PWD
https://github.com/LiYanan2004/RichText.git
https://github.com/LiYanan2004/RichText.git
{
"dependencies" : [
],
"manifest_display_name" : "RichText",
"name" : "RichText",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "RichText",
"targets" : [
"RichText"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RichText",
"module_type" : "SwiftTarget",
"name" : "RichText",
"path" : "Sources/RichText",
"product_memberships" : [
"RichText"
],
"sources" : [
"Attributes & Attachments/Attributes/InlineHostingAttachmentAttribute.swift",
"Attributes & Attachments/InlineHostingAttachment.swift",
"Attributes & Attachments/RichTextAttributes.swift",
"Platform Specific/InlineAttachmentTextView.swift",
"Platform Specific/PlatformFontViewModifier.swift",
"Platform Specific/PlatformTypes.swift",
"Platform Specific/Text View/TextAttributeConverter.swift",
"Platform Specific/Text View/_TextView_AppKit.swift",
"Platform Specific/Text View/_TextView_UIKit.swift",
"Text Content & Fragments/Fragment Containers/Text/LineBreak.swift",
"Text Content & Fragments/Fragment Containers/Text/Paragraph.swift",
"Text Content & Fragments/Fragment Containers/Text/Space.swift",
"Text Content & Fragments/Fragment Containers/Text/Tab.swift",
"Text Content & Fragments/Fragment Containers/View/InlineView.swift",
"Text Content & Fragments/Protocols/TextContentProviding.swift",
"Text Content & Fragments/TextContent.swift",
"Text Content & Fragments/TextContentBuilder.swift",
"TextView.swift"
],
"target_dependencies" : [
"Introspection"
],
"type" : "library"
},
{
"c99name" : "Introspection",
"module_type" : "SwiftTarget",
"name" : "Introspection",
"path" : "Sources/Introspection",
"product_memberships" : [
"RichText"
],
"sources" : [
"SwiftUI/Text/Helpers/FormatStyle++.swift",
"SwiftUI/Text/Helpers/_FormatParser.swift",
"SwiftUI/Text/Helpers/_InterpolationValue.swift",
"SwiftUI/Text/ResolvedLocalizedStringKey.swift",
"SwiftUI/Text/TextStorage.swift",
"SwiftUI/ViewIdentity.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/10] Compiling Introspection TextStorage.swift
[5/10] Compiling Introspection _InterpolationValue.swift
[6/10] Compiling Introspection _FormatParser.swift
[7/10] Compiling Introspection ViewIdentity.swift
[8/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 | )
[9/10] Compiling Introspection FormatStyle++.swift
[10/10] Emitting module Introspection
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/8] Compiling Introspection TextStorage.swift
[3/8] Compiling Introspection ViewIdentity.swift
[4/8] Compiling Introspection _InterpolationValue.swift
[5/8] Compiling Introspection _FormatParser.swift
[6/8] Compiling Introspection FormatStyle++.swift
[7/8] Emitting module Introspection
[8/8] 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.1 macosSpm