Hive
Running tuist generate in --verbose causes CLI to raise
GitHub issue · Open
What happened?
Updated tuist to 4.118.0.
tuist generate continued to work.
tuist generate --verbose crashed instantly with the below error.
Cleaning ~/.cache/tuist/ProjectDescriptionHelpers resolved the issue.
Changing the version back to 4.117.0 prevented it from reoccuring again.
How do we reproduce it?
Haven’t been able to reproduce.
Error log
JIT session error: Symbols not found: [ _$s25ProjectDescriptionHelpers6ModuleO10isRunnableSbvg, _$s25ProjectDescriptionHelpers6ModuleO8allCasesSayACGvgZ, _$s25ProjectDescriptionHelpers6ModuleO21acceptanceTestTargetsSay0aB06TargetVGvpMV, _$s25ProjectDescriptionHelpers6ModuleO10targetNameSSvg, _$s25ProjectDescriptionHelpers6ModuleO25acceptanceTestsTargetNameSSSgvpMV, _$s25ProjectDescriptionHelpers6ModuleO10allTargetsSay0aB06TargetVGyFZ, _$s25ProjectDescriptionHelpers6ModuleO25acceptanceTestsTargetNameSSSgvg, _$s25ProjectDescriptionHelpers6ModuleO15unitTestTargetsSay0aB06TargetVGvg, _$s25ProjectDescriptionHelpers6ModuleO10isRunnableSbvpMV, _$s25ProjectDescriptionHelpers6ModuleOMn, _$s25ProjectDescriptionHelpers6ModuleO11testTargetsSay0aB06TargetVGvg, _$s25ProjectDescriptionHelpers6ModuleO7targetsSay0aB06TargetVGvg, _$s25ProjectDescriptionHelpers6ModuleO11testTargetsSay0aB06TargetVGvpMV, _$s25ProjectDescriptionHelpers6ModuleO7targetsSay0aB06TargetVGvpMV, _$s25ProjectDescriptionHelpers6ModuleO9includeEESbyFZ, _$s25ProjectDescriptionHelpers6ModuleO21acceptanceTestTargetsSay0aB06TargetVGvg, _$s25ProjectDescriptionHelpers6ModuleO15unitTestTargetsSay0aB06TargetVGvpMV ]
Failed to materialize symbols: { (main, { _$s18ProjectDescription13ArchiveActionVSgMR, __swift_FORCE_LOAD_$_swiftIOKit_$_Project, _got.$s25ProjectDescriptionHelpers6ModuleO21acceptanceTestTargetsSay0aB06TargetVGvg, _main, _$s18ProjectDescr
[truncated]
macOS version
26.1
Tuist version
4.118.0
Xcode version
26.1.1 (17B100)
Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.
Start a Flight and preserve its objective, outcome, and session here.
This crash is caused by changes in Tuist 4.118.0 to how ProjectDescriptionHelpers are compiled and cached. The update introduced new cache versioning, switched helper compilation to support both arm64 and x86_64 architectures, and started compressing cache artifacts. These changes made previously cached helpers incompatible with the new version, especially when toggling the --verbose flag, which alters the environment and thus the cache key for helpers. If stale or mismatched helper modules are present, you can get JIT session errors with missing symbols like you saw. Cleaning ~/.cache/tuist/ProjectDescriptionHelpers removes these stale artifacts and resolves the issue. This is a known class of problem and cleaning the cache is the recommended workaround after upgrading Tuist or switching verbosity modes. For more details, see this discussion and recent PRs that changed helper compilation and caching.
To reply, just mention @dosu.
Share context across your team and agents. Try Dosu.
Here are the PRs that introduced the changes in Tuist 4.118.0:
- Dual architecture (arm64/x86_64) helper compilation and cache changes: PR #7977 — “feat(cli): cache binaries by default for arm64 only, add –architectures option to specify architectures” (discussion)
- Cache artifact compression and cache versioning: PR #8565 — “feat(cli): optimize Xcode cache by compressing CAS artifacts” (adds zstd compression, decompresses on load, and introduces a cache version string to prevent reuse of uncompressed artifacts)
Details and code changes
These two PRs cover the main changes you mentioned for 4.118.0.
To reply, just mention @dosu.
Docs are dead. Just use Dosu.