The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.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 ViewIdentity.swift
[5/10] Emitting module Introspection
[6/10] Compiling Introspection FormatStyle++.swift
[7/10] Compiling Introspection TextStorage.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 _FormatParser.swift
[10/10] Compiling Introspection _InterpolationValue.swift
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 ViewIdentity.swift
[3/8] Compiling Introspection _FormatParser.swift
[4/8] Compiling Introspection _InterpolationValue.swift
[5/8] Compiling Introspection FormatStyle++.swift
[6/8] Compiling Introspection TextStorage.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