swiftlang / swift-package-manager

The Package Manager for the Swift Programming Language
Apache License 2.0
9.7k stars 1.33k forks source link

Building SwiftPM project hangs indefinitely #4337

Open ahoppen opened 2 years ago

ahoppen commented 2 years ago

Building the attached project using Xcode 13.3.1 hangs (AFAICT indefinitely). Building it with the open source toolchain swift-5.6-RELEASE succeeds.

When opening the project in Xcode, Xcode is stuck in “Resolving Package Graph”.

$ /Applictions/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift build
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git (0.74s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (0.07s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50600.1
[20096/20096] Downloading binary artifacts
<hang>

Injectable.zip

rdar://92271229

ahoppen commented 2 years ago

Originated from this thread: https://forums.swift.org/t/swiftsyntax-with-swift-5-1/29051/23