Hive Hive
Sign in

Fix cached Swift macro artifacts when the artifact name differs from the target name

Metadata
Source
GitHub
Version
4.202.0-canary.13
Domains
Published
Jun 29, 2026 · 16:56 UTC
Repository
tuist/tuist
Update

When generating a project from a cache hit, Tuist now correctly resolves Swift macro artifacts whose file name differs from the target name (for example a target like DependenciesMacrosPlugin whose restored artifact is DependenciesMacros.macro). Previously the cache lookup only searched for <TargetName>.macro, so renamed macro artifacts were treated as missing and the generated project could reference an unusable artifact. Genuinely absent macro artifacts now fall back to building from sources instead of producing a broken cache hit.