The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PackageGeneratorPlugin, reference main (7626c5), with Swift 6.2 for watchOS using Xcode 26.3 on 3 Dec 2026 03:51:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.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.2
Building package at path:  $PWD
https://github.com/mackoj/PackageGeneratorPlugin.git
Command line invocation:
    /Applications/Xcode-26.3.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:50:54.972 xcodebuild[539:3096] [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:51:15.705 xcodebuild[752:4542] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.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.3.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:
  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.3.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: 9297fc8137533720d7d55ac5cf758535ae5b7b417c87d4b33b685e6db1ea153d
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.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 3dbd711b530fbcb2858456692328b26f
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3dbd711b530fbcb2858456692328b26f.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:51:19.291 xcodebuild[771:4686] [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.3.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:51:28.934 xcodebuild[847:5132] [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:51:31.794 xcodebuild[872:5298] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.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.3.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:
  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.3.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: 9297fc8137533720d7d55ac5cf758535ae5b7b417c87d4b33b685e6db1ea153d
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.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 3dbd711b530fbcb2858456692328b26f
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3dbd711b530fbcb2858456692328b26f.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:51:34.423 xcodebuild[891:5424] [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.2 watchOS