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 XCResource, reference main (4769e6), with Swift 6.2 (beta) for tvOS using Xcode 26.0 on 24 Jun 2025 06:57:14 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme XCResource-Package -destination generic/platform=tvOS

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nearfri/XCResource.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nearfri/XCResource
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4769e6b Update to 1.1.3
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
4769e6b27b94759fc7b7390c1ab7b11a19801b96
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nearfri/XCResource.git at main
========================================
Build
========================================
Selected platform:         tvOS
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nearfri/XCResource.git
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Fetching from https://github.com/swiftlang/swift-syntax.git
Fetching from https://github.com/apple/swift-argument-parser.git
Fetching from https://github.com/nearfri/Strix.git
Creating working copy of package ‘swift-argument-parser’
Checking out 1.5.1 of package ‘swift-argument-parser’
Creating working copy of package ‘swift-syntax’
Checking out 601.0.1 of package ‘swift-syntax’
Creating working copy of package ‘Strix’
Checking out 2.4.6 of package ‘Strix’
Resolve Package Graph
Resolved source packages:
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.1
  swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 601.0.1
  Strix: https://github.com/nearfri/Strix.git @ 2.4.6
  XCResource: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-argument-parser, swift-syntax, Strix, XCResource
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "601.0.1",
            "upper_bound" : "602.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "strix",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.6",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nearfri/Strix.git"
    }
  ],
  "manifest_display_name" : "XCResource",
  "name" : "XCResource",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Generate Resource Code",
      "targets" : [
        "Generate Resource Code"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "xcresource",
      "targets" : [
        "xcresource"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XCResourceCommand",
      "targets" : [
        "XCResourceCommand"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AssetResourceGen",
      "targets" : [
        "AssetResourceGen"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FileResourceGen",
      "targets" : [
        "FileResourceGen"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FontResourceGen",
      "targets" : [
        "FontResourceGen"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LocStringResourceGen",
      "targets" : [
        "LocStringResourceGen"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xcresource",
      "module_type" : "SwiftTarget",
      "name" : "xcresource",
      "path" : "Sources/XCResourceCLI",
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "XCResourceCommand"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "XCResourceUtilTests",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceUtilTests",
      "path" : "Tests/XCResourceUtilTests",
      "sources" : [
        "DefaultStringInterpolationTests.swift",
        "FileManager+Tests.swift",
        "SettableByKeyPathTests.swift",
        "String+Tests.swift",
        "TextFileOutputStreamTests.swift",
        "TreeTests.swift",
        "URL+Tests.swift"
      ],
      "target_dependencies" : [
        "XCResourceUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCResourceUtil",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceUtil",
      "path" : "Sources/XCResourceUtil",
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand",
        "AssetResourceGen",
        "FileResourceGen",
        "FontResourceGen",
        "LocStringResourceGen"
      ],
      "sources" : [
        "DefaultStringInterpolation+.swift",
        "FileManager+.swift",
        "SettableByKeyPath.swift",
        "String+.swift",
        "TextFileOutputStream.swift",
        "Tree.swift",
        "URL+.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCResourceCommandTests",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceCommandTests",
      "path" : "Tests/XCResourceCommandTests",
      "sources" : [
        "Arguments/BundleDescription+Tests.swift",
        "Commands/Config.InitTests.swift",
        "Commands/Config.RunTests.swift",
        "Commands/FilesToSwiftTests.swift",
        "Commands/FontsToSwiftTests.swift",
        "Commands/XCAssetsToSwiftTests.swift",
        "Commands/XCStringsToSwiftTests.swift",
        "ParsableCommand+.swift"
      ],
      "target_dependencies" : [
        "XCResourceCommand",
        "SampleData",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCResourceCommand",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceCommand",
      "path" : "Sources/XCResourceCommand",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand"
      ],
      "sources" : [
        "Arguments/AccessLevel.swift",
        "Arguments/AssetType+.swift",
        "Arguments/BundleDescription+.swift",
        "Commands/CommentDirective.swift",
        "Commands/Config.Init.swift",
        "Commands/Config.Run.swift",
        "Commands/Config.swift",
        "Commands/FilesToSwift.swift",
        "Commands/FontsToSwift.swift",
        "Commands/XCAssetsToSwift.swift",
        "Commands/XCResource.swift",
        "Commands/XCStringsToSwift.swift",
        "DTOs/CommandDTO.swift",
        "DTOs/CommandDTOWrapper.swift",
        "DTOs/ConfigurationDTO.swift",
        "DTOs/FilesToSwiftDTO.swift",
        "DTOs/FontsToSwiftDTO.swift",
        "DTOs/ValueValidationError.swift",
        "DTOs/XCAssetsToSwiftDTO.swift",
        "DTOs/XCStringsToSwiftDTO.swift"
      ],
      "target_dependencies" : [
        "AssetResourceGen",
        "FileResourceGen",
        "FontResourceGen",
        "LocStringResourceGen",
        "XCResourceUtil"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCResourceCLITests",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceCLITests",
      "path" : "Tests/XCResourceCLITests",
      "sources" : [
        "XCResourceCLITests.swift"
      ],
      "target_dependencies" : [
        "xcresource",
        "SampleData"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TestUtil",
      "module_type" : "SwiftTarget",
      "name" : "TestUtil",
      "path" : "Tests/_TestUtil",
      "sources" : [
        "expectEqual.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SampleData",
      "module_type" : "SwiftTarget",
      "name" : "SampleData",
      "path" : "Tests/_SampleData",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/_SampleData/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BundleAccessor.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocStringResourceGenTests",
      "module_type" : "SwiftTarget",
      "name" : "LocStringResourceGenTests",
      "path" : "Tests/LocStringResourceGenTests",
      "sources" : [
        "CommentsExtractorTests.swift",
        "DefaultLocalizationItemMergerTests.swift",
        "Formatter/CommentsFormatterTests.swift",
        "Formatter/IndentIncreaserTests.swift",
        "Formatter/StringLiteralSegmentListFormatterTests.swift",
        "LocalizationItemTests.swift",
        "StringCatalogDTO/FormatPlaceholder+DTOTests.swift",
        "StringCatalogDTO/FormatUnitTests.swift",
        "StringCatalogDTO/String+FormatPlaceholderTests.swift",
        "StringCatalogDTO/StringCatalogDTOMapperTests.swift",
        "StringCatalogDTO/StringCatalogDTOTests.swift",
        "SwiftLocalizationItemLoaderTests.swift",
        "SwiftLocalizationSourceCodeRewriterTests.swift",
        "SwiftSyntax+/ExprSyntax+BundleDescriptionTests.swift",
        "SwiftSyntax+/FunctionCallExprSyntax+LocalizationItemTests.swift",
        "SwiftSyntax+/FunctionDeclSyntax+LocalizationItemTests.swift",
        "SwiftSyntax+/FunctionParameterSyntax+ParameterTests.swift",
        "SwiftSyntax+/LocalizationItem+ParameterTests.swift",
        "SwiftSyntax+/VariableDeclSyntax+LocalizationItemTests.swift"
      ],
      "target_dependencies" : [
        "LocStringResourceGen",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocStringResourceGen",
      "module_type" : "SwiftTarget",
      "name" : "LocStringResourceGen",
      "path" : "Sources/LocStringResourceGen",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "SwiftSyntaxBuilder",
        "SwiftRefactor",
        "StrixParsers"
      ],
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand",
        "LocStringResourceGen"
      ],
      "sources" : [
        "Comment.swift",
        "CommentsExtractor.swift",
        "DefaultLocalizationItemMerger.swift",
        "Formatter/CommentsFormatter.swift",
        "Formatter/IndentIncreaser.swift",
        "Formatter/StringLiteralFormatter.swift",
        "LocalizationItem.swift",
        "LocalizationSourceCodeRewriter.swift",
        "LocalizedStringResourceGenerator.swift",
        "String+.swift",
        "StringCatalogDTO/FormatPlaceholder+DTO.swift",
        "StringCatalogDTO/FormatUnit.swift",
        "StringCatalogDTO/String+FormatPlaceholder.swift",
        "StringCatalogDTO/StringCatalogDTO.swift",
        "StringCatalogDTO/StringCatalogDTOMapper.swift",
        "StringCatalogLoader.swift",
        "SwiftLocalizationItemLoader.swift",
        "SwiftLocalizationSourceCodeRewriter.swift",
        "SwiftSyntax+/DeclSyntax+LocalizationItem.swift",
        "SwiftSyntax+/ExprSyntax+BundleDescription.swift",
        "SwiftSyntax+/FunctionCallExprSyntax+LocalizationItem.swift",
        "SwiftSyntax+/FunctionDeclSyntax+LocalizationItem.swift",
        "SwiftSyntax+/FunctionParameterSyntax+Parameter.swift",
        "SwiftSyntax+/LocalizationItem+Parameter.swift",
        "SwiftSyntax+/StringLiteralExprSyntax+String.swift",
        "SwiftSyntax+/VariableDeclSyntax+LocalizationItem.swift"
      ],
      "target_dependencies" : [
        "XCResourceUtil"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Generate_Resource_Code",
      "module_type" : "PluginTarget",
      "name" : "Generate Resource Code",
      "path" : "Plugins/GenerateResourceCode",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate source code for resources",
          "type" : "custom",
          "verb" : "generate-resource-code"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Generate Swift source files for accessing resources",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "Generate Resource Code"
      ],
      "sources" : [
        "GenerateResourceCode.swift",
        "PackagePluginContext.swift",
        "Process+.swift"
      ],
      "target_dependencies" : [
        "xcresource"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "FontResourceGenTests",
      "module_type" : "SwiftTarget",
      "name" : "FontResourceGenTests",
      "path" : "Tests/FontResourceGenTests",
      "sources" : [
        "CodeGenerator/DefaultValueDeclarationGeneratorTests.swift",
        "FontImporter/DefaultFontImporterTests.swift",
        "FontImporter/FontFinderTests.swift",
        "FontImporter/FontLoaderTests.swift",
        "FontTests.swift"
      ],
      "target_dependencies" : [
        "FontResourceGen",
        "SampleData",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FontResourceGen",
      "module_type" : "SwiftTarget",
      "name" : "FontResourceGen",
      "path" : "Sources/FontResourceGen",
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand",
        "FontResourceGen"
      ],
      "sources" : [
        "CodeGenerator/DefaultTypeDeclarationGenerator.swift",
        "CodeGenerator/DefaultValueDeclarationGenerator.swift",
        "Font.swift",
        "FontError.swift",
        "FontImporter/DefaultFontImporter.swift",
        "FontImporter/FontFinder.swift",
        "FontImporter/FontLoader.swift",
        "FontResourceGenerator.swift"
      ],
      "target_dependencies" : [
        "XCResourceUtil"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FileResourceGenTests",
      "module_type" : "SwiftTarget",
      "name" : "FileResourceGenTests",
      "path" : "Tests/FileResourceGenTests",
      "sources" : [
        "CodeGenerator/DefaultValueDeclarationGeneratorTests.swift",
        "DefaultFileTreeGeneratorTests.swift",
        "FileItemTests.swift",
        "FileTreeTests.swift"
      ],
      "target_dependencies" : [
        "FileResourceGen",
        "SampleData",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FileResourceGen",
      "module_type" : "SwiftTarget",
      "name" : "FileResourceGen",
      "path" : "Sources/FileResourceGen",
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand",
        "FileResourceGen"
      ],
      "sources" : [
        "CodeGenerator/DefaultTypeDeclarationGenerator.swift",
        "CodeGenerator/DefaultValueDeclarationGenerator.swift",
        "DefaultFileTreeGenerator.swift",
        "FileItem.swift",
        "FileResourceGenerator.swift",
        "FileTree.swift"
      ],
      "target_dependencies" : [
        "XCResourceUtil"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Documentation",
      "module_type" : "SwiftTarget",
      "name" : "Documentation",
      "path" : "Documentation",
      "sources" : [
        "EmptyFile.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AssetResourceGenTests",
      "module_type" : "SwiftTarget",
      "name" : "AssetResourceGenTests",
      "path" : "Tests/AssetResourceGenTests",
      "sources" : [
        "AssetCatalog/AssetTypeTests.swift",
        "AssetCatalog/ContentAttributesDTOTests.swift",
        "AssetCatalog/ContentTests.swift",
        "AssetCatalog/ContentTreeGeneratorTests.swift",
        "AssetCatalog/ContentTreeTests.swift",
        "AssetResourceGeneratorTests.swift",
        "CodeGenerator/DefaultValueDeclarationGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "AssetResourceGen",
        "SampleData",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AssetResourceGen",
      "module_type" : "SwiftTarget",
      "name" : "AssetResourceGen",
      "path" : "Sources/AssetResourceGen",
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand",
        "AssetResourceGen"
      ],
      "sources" : [
        "AssetCatalog/AssetType.swift",
        "AssetCatalog/Content.swift",
        "AssetCatalog/ContentAttributesDTO.swift",
        "AssetCatalog/ContentTree.swift",
        "AssetResourceGenerator.swift",
        "CodeGenerator/DefaultTypeDeclarationGenerator.swift",
        "CodeGenerator/DefaultValueDeclarationGenerator.swift",
        "DefaultContentTreeGenerator.swift"
      ],
      "target_dependencies" : [
        "XCResourceUtil"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "AssetResourceGen",
      "FileResourceGen",
      "FontResourceGen",
      "LocStringResourceGen",
      "Strix",
      "Strix-Package",
      "StrixParsers",
      "xcresource",
      "XCResource-Package",
      "XCResourceCommand"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme XCResource-Package -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme XCResource-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  XCResource: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.1
  swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 601.0.1
  Strix: https://github.com/nearfri/Strix.git @ 2.4.6
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
Compile plug-in “Generate Resource Code” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/PluginExecutables/Generate_Resource_Code
[debug]: Using compiler /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/PluginExecutables'
[debug]: Computed hash of plugin compilation inputs: 8b178d7d60a50d8efa95d59b1cdf0439d7289699a73fa9c9e947d76d6b6c590b
/Users/admin/builder/spi-builder-workspace/Plugins/GenerateResourceCode/GenerateResourceCode.swift:82:9: error: sending value of non-Sendable type '() async -> ()' risks causing data races [#SendingRisksDataRace]
 80 |         let semaphore = DispatchSemaphore(value: 0)
 81 |
 82 |         Task {
    |         |- error: sending value of non-Sendable type '() async -> ()' risks causing data races [#SendingRisksDataRace]
    |         `- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument to initializer 'init(priority:operation:)' risks causing races in between local and caller code
 83 |             do {
 84 |                 try await Process.run(toolURL, arguments: toolArguments)
    :
 92 |         semaphore.wait()
 93 |
 94 |         if let processError {
    |         `- note: access can happen concurrently
 95 |             throw processError
 96 |         }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
** BUILD FAILED **
The following build commands failed:
	Compile plug-in “Generate Resource Code” in package “spi-builder-workspace”
	eyJibHVlcHJpbnRQcm92aWRlcl9wcm92aWRlckZpbGVQYXRoU3RyaW5nIjoiXC9Vc2Vyc1wvYWRtaW5cL2J1aWxkZXJcL3NwaS1idWlsZGVyLXdvcmtzcGFjZSIsInR5cGUiOnsiYmx1ZXByaW50UHJvdmlkZXIiOnt9fX0=
	Building workspace spi-builder-workspace with scheme XCResource-Package
(3 failures)
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  Strix: https://github.com/nearfri/Strix.git @ 2.4.6
  swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 601.0.1
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.1
  XCResource: /Users/admin/builder/spi-builder-workspace
resolved source packages: Strix, swift-syntax, swift-argument-parser, XCResource
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "601.0.1",
            "upper_bound" : "602.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "strix",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.6",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nearfri/Strix.git"
    }
  ],
  "manifest_display_name" : "XCResource",
  "name" : "XCResource",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Generate Resource Code",
      "targets" : [
        "Generate Resource Code"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "xcresource",
      "targets" : [
        "xcresource"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XCResourceCommand",
      "targets" : [
        "XCResourceCommand"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AssetResourceGen",
      "targets" : [
        "AssetResourceGen"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FileResourceGen",
      "targets" : [
        "FileResourceGen"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FontResourceGen",
      "targets" : [
        "FontResourceGen"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LocStringResourceGen",
      "targets" : [
        "LocStringResourceGen"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xcresource",
      "module_type" : "SwiftTarget",
      "name" : "xcresource",
      "path" : "Sources/XCResourceCLI",
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "XCResourceCommand"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "XCResourceUtilTests",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceUtilTests",
      "path" : "Tests/XCResourceUtilTests",
      "sources" : [
        "DefaultStringInterpolationTests.swift",
        "FileManager+Tests.swift",
        "SettableByKeyPathTests.swift",
        "String+Tests.swift",
        "TextFileOutputStreamTests.swift",
        "TreeTests.swift",
        "URL+Tests.swift"
      ],
      "target_dependencies" : [
        "XCResourceUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCResourceUtil",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceUtil",
      "path" : "Sources/XCResourceUtil",
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand",
        "AssetResourceGen",
        "FileResourceGen",
        "FontResourceGen",
        "LocStringResourceGen"
      ],
      "sources" : [
        "DefaultStringInterpolation+.swift",
        "FileManager+.swift",
        "SettableByKeyPath.swift",
        "String+.swift",
        "TextFileOutputStream.swift",
        "Tree.swift",
        "URL+.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCResourceCommandTests",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceCommandTests",
      "path" : "Tests/XCResourceCommandTests",
      "sources" : [
        "Arguments/BundleDescription+Tests.swift",
        "Commands/Config.InitTests.swift",
        "Commands/Config.RunTests.swift",
        "Commands/FilesToSwiftTests.swift",
        "Commands/FontsToSwiftTests.swift",
        "Commands/XCAssetsToSwiftTests.swift",
        "Commands/XCStringsToSwiftTests.swift",
        "ParsableCommand+.swift"
      ],
      "target_dependencies" : [
        "XCResourceCommand",
        "SampleData",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCResourceCommand",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceCommand",
      "path" : "Sources/XCResourceCommand",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand"
      ],
      "sources" : [
        "Arguments/AccessLevel.swift",
        "Arguments/AssetType+.swift",
        "Arguments/BundleDescription+.swift",
        "Commands/CommentDirective.swift",
        "Commands/Config.Init.swift",
        "Commands/Config.Run.swift",
        "Commands/Config.swift",
        "Commands/FilesToSwift.swift",
        "Commands/FontsToSwift.swift",
        "Commands/XCAssetsToSwift.swift",
        "Commands/XCResource.swift",
        "Commands/XCStringsToSwift.swift",
        "DTOs/CommandDTO.swift",
        "DTOs/CommandDTOWrapper.swift",
        "DTOs/ConfigurationDTO.swift",
        "DTOs/FilesToSwiftDTO.swift",
        "DTOs/FontsToSwiftDTO.swift",
        "DTOs/ValueValidationError.swift",
        "DTOs/XCAssetsToSwiftDTO.swift",
        "DTOs/XCStringsToSwiftDTO.swift"
      ],
      "target_dependencies" : [
        "AssetResourceGen",
        "FileResourceGen",
        "FontResourceGen",
        "LocStringResourceGen",
        "XCResourceUtil"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCResourceCLITests",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceCLITests",
      "path" : "Tests/XCResourceCLITests",
      "sources" : [
        "XCResourceCLITests.swift"
      ],
      "target_dependencies" : [
        "xcresource",
        "SampleData"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TestUtil",
      "module_type" : "SwiftTarget",
      "name" : "TestUtil",
      "path" : "Tests/_TestUtil",
      "sources" : [
        "expectEqual.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SampleData",
      "module_type" : "SwiftTarget",
      "name" : "SampleData",
      "path" : "Tests/_SampleData",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/_SampleData/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BundleAccessor.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocStringResourceGenTests",
      "module_type" : "SwiftTarget",
      "name" : "LocStringResourceGenTests",
      "path" : "Tests/LocStringResourceGenTests",
      "sources" : [
        "CommentsExtractorTests.swift",
        "DefaultLocalizationItemMergerTests.swift",
        "Formatter/CommentsFormatterTests.swift",
        "Formatter/IndentIncreaserTests.swift",
        "Formatter/StringLiteralSegmentListFormatterTests.swift",
        "LocalizationItemTests.swift",
        "StringCatalogDTO/FormatPlaceholder+DTOTests.swift",
        "StringCatalogDTO/FormatUnitTests.swift",
        "StringCatalogDTO/String+FormatPlaceholderTests.swift",
        "StringCatalogDTO/StringCatalogDTOMapperTests.swift",
        "StringCatalogDTO/StringCatalogDTOTests.swift",
        "SwiftLocalizationItemLoaderTests.swift",
        "SwiftLocalizationSourceCodeRewriterTests.swift",
        "SwiftSyntax+/ExprSyntax+BundleDescriptionTests.swift",
        "SwiftSyntax+/FunctionCallExprSyntax+LocalizationItemTests.swift",
        "SwiftSyntax+/FunctionDeclSyntax+LocalizationItemTests.swift",
        "SwiftSyntax+/FunctionParameterSyntax+ParameterTests.swift",
        "SwiftSyntax+/LocalizationItem+ParameterTests.swift",
        "SwiftSyntax+/VariableDeclSyntax+LocalizationItemTests.swift"
      ],
      "target_dependencies" : [
        "LocStringResourceGen",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocStringResourceGen",
      "module_type" : "SwiftTarget",
      "name" : "LocStringResourceGen",
      "path" : "Sources/LocStringResourceGen",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "SwiftSyntaxBuilder",
        "SwiftRefactor",
        "StrixParsers"
      ],
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand",
        "LocStringResourceGen"
      ],
      "sources" : [
        "Comment.swift",
        "CommentsExtractor.swift",
        "DefaultLocalizationItemMerger.swift",
        "Formatter/CommentsFormatter.swift",
        "Formatter/IndentIncreaser.swift",
        "Formatter/StringLiteralFormatter.swift",
        "LocalizationItem.swift",
        "LocalizationSourceCodeRewriter.swift",
        "LocalizedStringResourceGenerator.swift",
        "String+.swift",
        "StringCatalogDTO/FormatPlaceholder+DTO.swift",
        "StringCatalogDTO/FormatUnit.swift",
        "StringCatalogDTO/String+FormatPlaceholder.swift",
        "StringCatalogDTO/StringCatalogDTO.swift",
        "StringCatalogDTO/StringCatalogDTOMapper.swift",
        "StringCatalogLoader.swift",
        "SwiftLocalizationItemLoader.swift",
        "SwiftLocalizationSourceCodeRewriter.swift",
        "SwiftSyntax+/DeclSyntax+LocalizationItem.swift",
        "SwiftSyntax+/ExprSyntax+BundleDescription.swift",
        "SwiftSyntax+/FunctionCallExprSyntax+LocalizationItem.swift",
        "SwiftSyntax+/FunctionDeclSyntax+LocalizationItem.swift",
        "SwiftSyntax+/FunctionParameterSyntax+Parameter.swift",
        "SwiftSyntax+/LocalizationItem+Parameter.swift",
        "SwiftSyntax+/StringLiteralExprSyntax+String.swift",
        "SwiftSyntax+/VariableDeclSyntax+LocalizationItem.swift"
      ],
      "target_dependencies" : [
        "XCResourceUtil"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Generate_Resource_Code",
      "module_type" : "PluginTarget",
      "name" : "Generate Resource Code",
      "path" : "Plugins/GenerateResourceCode",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate source code for resources",
          "type" : "custom",
          "verb" : "generate-resource-code"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Generate Swift source files for accessing resources",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "Generate Resource Code"
      ],
      "sources" : [
        "GenerateResourceCode.swift",
        "PackagePluginContext.swift",
        "Process+.swift"
      ],
      "target_dependencies" : [
        "xcresource"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "FontResourceGenTests",
      "module_type" : "SwiftTarget",
      "name" : "FontResourceGenTests",
      "path" : "Tests/FontResourceGenTests",
      "sources" : [
        "CodeGenerator/DefaultValueDeclarationGeneratorTests.swift",
        "FontImporter/DefaultFontImporterTests.swift",
        "FontImporter/FontFinderTests.swift",
        "FontImporter/FontLoaderTests.swift",
        "FontTests.swift"
      ],
      "target_dependencies" : [
        "FontResourceGen",
        "SampleData",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FontResourceGen",
      "module_type" : "SwiftTarget",
      "name" : "FontResourceGen",
      "path" : "Sources/FontResourceGen",
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand",
        "FontResourceGen"
      ],
      "sources" : [
        "CodeGenerator/DefaultTypeDeclarationGenerator.swift",
        "CodeGenerator/DefaultValueDeclarationGenerator.swift",
        "Font.swift",
        "FontError.swift",
        "FontImporter/DefaultFontImporter.swift",
        "FontImporter/FontFinder.swift",
        "FontImporter/FontLoader.swift",
        "FontResourceGenerator.swift"
      ],
      "target_dependencies" : [
        "XCResourceUtil"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FileResourceGenTests",
      "module_type" : "SwiftTarget",
      "name" : "FileResourceGenTests",
      "path" : "Tests/FileResourceGenTests",
      "sources" : [
        "CodeGenerator/DefaultValueDeclarationGeneratorTests.swift",
        "DefaultFileTreeGeneratorTests.swift",
        "FileItemTests.swift",
        "FileTreeTests.swift"
      ],
      "target_dependencies" : [
        "FileResourceGen",
        "SampleData",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FileResourceGen",
      "module_type" : "SwiftTarget",
      "name" : "FileResourceGen",
      "path" : "Sources/FileResourceGen",
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand",
        "FileResourceGen"
      ],
      "sources" : [
        "CodeGenerator/DefaultTypeDeclarationGenerator.swift",
        "CodeGenerator/DefaultValueDeclarationGenerator.swift",
        "DefaultFileTreeGenerator.swift",
        "FileItem.swift",
        "FileResourceGenerator.swift",
        "FileTree.swift"
      ],
      "target_dependencies" : [
        "XCResourceUtil"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Documentation",
      "module_type" : "SwiftTarget",
      "name" : "Documentation",
      "path" : "Documentation",
      "sources" : [
        "EmptyFile.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AssetResourceGenTests",
      "module_type" : "SwiftTarget",
      "name" : "AssetResourceGenTests",
      "path" : "Tests/AssetResourceGenTests",
      "sources" : [
        "AssetCatalog/AssetTypeTests.swift",
        "AssetCatalog/ContentAttributesDTOTests.swift",
        "AssetCatalog/ContentTests.swift",
        "AssetCatalog/ContentTreeGeneratorTests.swift",
        "AssetCatalog/ContentTreeTests.swift",
        "AssetResourceGeneratorTests.swift",
        "CodeGenerator/DefaultValueDeclarationGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "AssetResourceGen",
        "SampleData",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AssetResourceGen",
      "module_type" : "SwiftTarget",
      "name" : "AssetResourceGen",
      "path" : "Sources/AssetResourceGen",
      "product_memberships" : [
        "Generate Resource Code",
        "xcresource",
        "XCResourceCommand",
        "AssetResourceGen"
      ],
      "sources" : [
        "AssetCatalog/AssetType.swift",
        "AssetCatalog/Content.swift",
        "AssetCatalog/ContentAttributesDTO.swift",
        "AssetCatalog/ContentTree.swift",
        "AssetResourceGenerator.swift",
        "CodeGenerator/DefaultTypeDeclarationGenerator.swift",
        "CodeGenerator/DefaultValueDeclarationGenerator.swift",
        "DefaultContentTreeGenerator.swift"
      ],
      "target_dependencies" : [
        "XCResourceUtil"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "AssetResourceGen",
      "FileResourceGen",
      "FontResourceGen",
      "LocStringResourceGen",
      "Strix",
      "Strix-Package",
      "StrixParsers",
      "xcresource",
      "XCResource-Package",
      "XCResourceCommand"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme XCResource-Package -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme XCResource-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  XCResource: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.1
  Strix: https://github.com/nearfri/Strix.git @ 2.4.6
  swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 601.0.1
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
Compile plug-in “Generate Resource Code” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/PluginExecutables/Generate_Resource_Code
[debug]: Using compiler /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/PluginExecutables'
[debug]: Computed hash of plugin compilation inputs: 8b178d7d60a50d8efa95d59b1cdf0439d7289699a73fa9c9e947d76d6b6c590b
/Users/admin/builder/spi-builder-workspace/Plugins/GenerateResourceCode/GenerateResourceCode.swift:82:9: error: sending value of non-Sendable type '() async -> ()' risks causing data races [#SendingRisksDataRace]
 80 |         let semaphore = DispatchSemaphore(value: 0)
 81 |
 82 |         Task {
    |         |- error: sending value of non-Sendable type '() async -> ()' risks causing data races [#SendingRisksDataRace]
    |         `- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument to initializer 'init(priority:operation:)' risks causing races in between local and caller code
 83 |             do {
 84 |                 try await Process.run(toolURL, arguments: toolArguments)
    :
 92 |         semaphore.wait()
 93 |
 94 |         if let processError {
    |         `- note: access can happen concurrently
 95 |             throw processError
 96 |         }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
** BUILD FAILED **
The following build commands failed:
	Compile plug-in “Generate Resource Code” in package “spi-builder-workspace”
	eyJibHVlcHJpbnRQcm92aWRlcl9wcm92aWRlckZpbGVQYXRoU3RyaW5nIjoiXC9Vc2Vyc1wvYWRtaW5cL2J1aWxkZXJcL3NwaS1idWlsZGVyLXdvcmtzcGFjZSIsInR5cGUiOnsiYmx1ZXByaW50UHJvdmlkZXIiOnt9fX0=
	Building workspace spi-builder-workspace with scheme XCResource-Package
(3 failures)
BUILD FAILURE 6.2 tvOS