The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PackageGeneratorPlugin, reference main (7626c5), with Swift 6.3 for watchOS using Xcode 26.4 on 3 Dec 2026 03:54:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PackageGeneratorPlugin -destination generic/platform=watchOS

Build Log

========================================
RunAll
========================================
Builder version: 5.2.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mackoj/PackageGeneratorPlugin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mackoj/PackageGeneratorPlugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7626c57 Adopt Swift 6.2 strict settings across targets (#39)
Cloned https://github.com/mackoj/PackageGeneratorPlugin.git
Revision (git rev-parse @):
7626c5755955ca03d510fe38df2fee569166c39e
SUCCESS checkout https://github.com/mackoj/PackageGeneratorPlugin.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.3
Building package at path:  $PWD
https://github.com/mackoj/PackageGeneratorPlugin.git
Command line invocation:
    /Applications/Xcode-26.5.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Fetching from https://github.com/mackoj/swift-yaml.git
Creating working copy of package ‘swift-yaml’
Checking out 0.1.0 of package ‘swift-yaml’
Resolve Package Graph
Resolved source packages:
  PackageGeneratorPlugin: /Users/admin/builder/spi-builder-workspace
  swift-yaml: https://github.com/mackoj/swift-yaml.git @ 0.1.0
resolved source packages: PackageGeneratorPlugin, swift-yaml
2026-12-02 22:53:48.059 xcodebuild[541:3075] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
    {
      "identity" : "swift-yaml",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mackoj/swift-yaml.git"
    }
  ],
  "manifest_display_name" : "PackageGeneratorPlugin",
  "name" : "PackageGeneratorPlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "26.0"
    }
  ],
  "products" : [
    {
      "name" : "PackageGenerator",
      "targets" : [
        "Package Generator"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "yaml-converter",
      "targets" : [
        "yaml-converter"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "yaml_converter",
      "module_type" : "SwiftTarget",
      "name" : "yaml-converter",
      "path" : "Tools/YamlConverter",
      "product_dependencies" : [
        "YAML"
      ],
      "product_memberships" : [
        "PackageGenerator",
        "yaml-converter"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "package_generator_cli",
      "module_type" : "BinaryTarget",
      "name" : "package-generator-cli",
      "path" : "remote/archive/package-generator-cli-arm64-apple-macosx.artifactbundle.zip",
      "product_memberships" : [
        "PackageGenerator"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "PackageGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "PackageGeneratorTests",
      "path" : "Tests/PackageGeneratorTests",
      "sources" : [
        "ProductGenerationTests.swift",
        "Shared/AppleSDKs.swift",
        "Shared/ConfigurationV2.swift",
        "Shared/DependencyGraph.swift",
        "Shared/ImportAnalysis.swift",
        "Shared/ParsedPackage.swift",
        "Shared/ProductGeneration.swift",
        "Shared/TargetRendering.swift",
        "TargetRenderingTests.swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Package_Generator",
      "module_type" : "PluginTarget",
      "name" : "Package Generator",
      "path" : "Plugins/PackageGenerator",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate the Package.swift based on the packageGenerator config",
          "type" : "custom",
          "verb" : "package-generator"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "This plug-in need to update the Package.swift in the package folder.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "PackageGenerator"
      ],
      "sources" : [
        "AdvancedFeatures.swift",
        "AppleSDKs.swift",
        "CodeGeneration.swift",
        "ConfigLoader.swift",
        "ConfigurationV2.swift",
        "DependencyGraph.swift",
        "ImportAnalysis.swift",
        "PackageGeneratorV2.swift",
        "ParsedPackage.swift",
        "Plugin.swift",
        "ProductGeneration.swift",
        "TargetModel.swift",
        "TargetRendering.swift",
        "TargetResolution.swift"
      ],
      "target_dependencies" : [
        "package-generator-cli",
        "yaml-converter"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "6.2"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "PackageGeneratorPlugin"
    ]
  }
}
2026-12-02 22:54:00.818 xcodebuild[788:4653] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PackageGeneratorPlugin -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-26.5.0.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 PackageGeneratorPlugin -destination generic/platform=watchOS
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  PackageGeneratorPlugin: /Users/admin/builder/spi-builder-workspace
  swift-yaml: https://github.com/mackoj/swift-yaml.git @ 0.1.0
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
Compile plug-in “Package Generator” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/PluginExecutables/Package_Generator
[debug]: Using compiler /Applications/Xcode-26.5.0.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: bf8f06777f7ad767b34c6c69ee3a81791d71703126fa50d4809f82a18442bd5c
Process build tool plug-in results
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'yaml-converter' in project 'PackageGeneratorPlugin'
        ➜ Explicit dependency on target 'YAML' in project 'swift-yaml'
    Target 'YAML' in project 'swift-yaml'
        ➜ Explicit dependency on target 'YAML' in project 'swift-yaml'
    Target 'YAML' in project 'swift-yaml' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 495dc72d4355264a0839eccdb34a8073
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/495dc72d4355264a0839eccdb34a8073.xcbuilddata
error: The package product 'YAML' requires minimum platform version 26.0 for the watchOS platform, but this target supports 5.0 (in target 'yaml-converter' from project 'PackageGeneratorPlugin')
2026-12-02 22:54:05.270 xcodebuild[812:4825] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme PackageGeneratorPlugin
(1 failure)
Command line invocation:
    /Applications/Xcode-26.5.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  PackageGeneratorPlugin: /Users/admin/builder/spi-builder-workspace
  swift-yaml: https://github.com/mackoj/swift-yaml.git @ 0.1.0
resolved source packages: PackageGeneratorPlugin, swift-yaml
2026-12-02 22:54:14.070 xcodebuild[892:5315] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
    {
      "identity" : "swift-yaml",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mackoj/swift-yaml.git"
    }
  ],
  "manifest_display_name" : "PackageGeneratorPlugin",
  "name" : "PackageGeneratorPlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "26.0"
    }
  ],
  "products" : [
    {
      "name" : "PackageGenerator",
      "targets" : [
        "Package Generator"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "yaml-converter",
      "targets" : [
        "yaml-converter"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "yaml_converter",
      "module_type" : "SwiftTarget",
      "name" : "yaml-converter",
      "path" : "Tools/YamlConverter",
      "product_dependencies" : [
        "YAML"
      ],
      "product_memberships" : [
        "PackageGenerator",
        "yaml-converter"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "package_generator_cli",
      "module_type" : "BinaryTarget",
      "name" : "package-generator-cli",
      "path" : "remote/archive/package-generator-cli-arm64-apple-macosx.artifactbundle.zip",
      "product_memberships" : [
        "PackageGenerator"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "PackageGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "PackageGeneratorTests",
      "path" : "Tests/PackageGeneratorTests",
      "sources" : [
        "ProductGenerationTests.swift",
        "Shared/AppleSDKs.swift",
        "Shared/ConfigurationV2.swift",
        "Shared/DependencyGraph.swift",
        "Shared/ImportAnalysis.swift",
        "Shared/ParsedPackage.swift",
        "Shared/ProductGeneration.swift",
        "Shared/TargetRendering.swift",
        "TargetRenderingTests.swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Package_Generator",
      "module_type" : "PluginTarget",
      "name" : "Package Generator",
      "path" : "Plugins/PackageGenerator",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate the Package.swift based on the packageGenerator config",
          "type" : "custom",
          "verb" : "package-generator"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "This plug-in need to update the Package.swift in the package folder.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "PackageGenerator"
      ],
      "sources" : [
        "AdvancedFeatures.swift",
        "AppleSDKs.swift",
        "CodeGeneration.swift",
        "ConfigLoader.swift",
        "ConfigurationV2.swift",
        "DependencyGraph.swift",
        "ImportAnalysis.swift",
        "PackageGeneratorV2.swift",
        "ParsedPackage.swift",
        "Plugin.swift",
        "ProductGeneration.swift",
        "TargetModel.swift",
        "TargetRendering.swift",
        "TargetResolution.swift"
      ],
      "target_dependencies" : [
        "package-generator-cli",
        "yaml-converter"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "6.2"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "PackageGeneratorPlugin"
    ]
  }
}
2026-12-02 22:54:17.801 xcodebuild[920:5520] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PackageGeneratorPlugin -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-26.5.0.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 PackageGeneratorPlugin -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  swift-yaml: https://github.com/mackoj/swift-yaml.git @ 0.1.0
  PackageGeneratorPlugin: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
Compile plug-in “Package Generator” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/PluginExecutables/Package_Generator
[debug]: Using compiler /Applications/Xcode-26.5.0.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: bf8f06777f7ad767b34c6c69ee3a81791d71703126fa50d4809f82a18442bd5c
Process build tool plug-in results
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'yaml-converter' in project 'PackageGeneratorPlugin'
        ➜ Explicit dependency on target 'YAML' in project 'swift-yaml'
    Target 'YAML' in project 'swift-yaml'
        ➜ Explicit dependency on target 'YAML' in project 'swift-yaml'
    Target 'YAML' in project 'swift-yaml' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 495dc72d4355264a0839eccdb34a8073
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/495dc72d4355264a0839eccdb34a8073.xcbuilddata
error: The package product 'YAML' requires minimum platform version 26.0 for the watchOS platform, but this target supports 5.0 (in target 'yaml-converter' from project 'PackageGeneratorPlugin')
2026-12-02 22:54:20.766 xcodebuild[940:5652] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme PackageGeneratorPlugin
(1 failure)
BUILD FAILURE 6.3 watchOS