The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCodePatterns, reference main (dd4a0c), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 11:32:05 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/SwiftCodePatterns.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ShenghaiWang/SwiftCodePatterns
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dd4a0c0 Fix typo
Cloned https://github.com/ShenghaiWang/SwiftCodePatterns.git
Revision (git rev-parse @):
dd4a0c0b292abe434966039db55679ffb311e154
SUCCESS checkout https://github.com/ShenghaiWang/SwiftCodePatterns.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swiftcodepatterns",
      "name": "SwiftCodePatterns",
      "url": "https://github.com/ShenghaiWang/SwiftCodePatterns.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCodePatterns",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ShenghaiWang/SwiftCodePatterns.git
[1/34] Fetching swiftcodepatterns
Fetched https://github.com/ShenghaiWang/SwiftCodePatterns.git from cache (2.31s)
Creating working copy for https://github.com/ShenghaiWang/SwiftCodePatterns.git
Working copy of https://github.com/ShenghaiWang/SwiftCodePatterns.git resolved at main (dd4a0c0)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ShenghaiWang/SwiftCodePatterns.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.3 macosSpm