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 SwiftUIIf, reference main (3ce021), with Swift 5.10 for macOS (SPM) on 16 Jul 2025 08:44:07 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/laosb/SwiftUIIf.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/laosb/SwiftUIIf
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3ce021e Create README.md
Cloned https://github.com/laosb/SwiftUIIf.git
Revision (git rev-parse @):
3ce021e1f53f161a72abc957925c30969dc0c4ee
SUCCESS checkout https://github.com/laosb/SwiftUIIf.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/laosb/SwiftUIIf.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SwiftUIIf
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIIf/SwiftUIIf.swift:157:3: error: unexpected ',' separator
  ) -> some View where TC: View {
  ^
[4/4] Compiling SwiftUIIf SwiftUIIf.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIIf/SwiftUIIf.swift:157:3: error: unexpected ',' separator
  ) -> some View where TC: View {
  ^
error: fatalError
BUILD FAILURE 5.10 macosSpm