Hive Hive
Sign in

Fix hang in Swift Package Manager generation and caching

Metadata
Source
GitHub
Version
4.193.4
Published
May 13, 2026 · 10:45 UTC
Repository
tuist/tuist
Update

Resolves a regression where tuist generate and tuist cache could hang indefinitely on projects that use Swift Package Manager dependencies. The SwiftPM scratch-directory lock was being held while spawning swift package dump-package, which caused a deadlock because the subprocess was waiting for the same lock. The lock is now released before any Swift package subprocess runs, so generation and caching complete normally again.