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.
Hive
Fix hang in Swift Package Manager generation and caching
Published
May 13, 2026 · 10:45 UTC
Repository
tuist/tuist