Skip to content

Update Tuist to 4.202.5 and use essential build settings#939

Merged
Kyle-Ye merged 3 commits into
mainfrom
codex/update-tuist-4.202.5
Jul 18, 2026
Merged

Update Tuist to 4.202.5 and use essential build settings#939
Kyle-Ye merged 3 commits into
mainfrom
codex/update-tuist-4.202.5

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Jul 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Update the pinned Tuist version to 4.202.5 and enable its SwiftPM-based dependency handling.
  • Use .essential default settings for the generated Example project and package targets.
  • Remove explicit DEBUG definitions that are already provided by the essential Debug settings.
  • Refresh the package source locations emitted by the updated dependency resolver.

Motivation

The Example manifests previously used .none, which prevented Tuist's essential target settings from being emitted. As a result, macro targets could attempt to build for a non-host architecture and fail when consuming host-only prebuilt SwiftSyntax modules on Apple Silicon.

Using .essential allows Tuist to emit the required baseline settings consistently across the generated project and package targets. The existing OPENSWIFTUI compilation conditions remain explicitly configured, while DEBUG is supplied by the essential Debug settings.

Validation

  • Regenerated the Example workspace successfully while validating the manifest changes.
  • Built OSUI_Example with the OpenSwiftUIDebug configuration for macOS arm64.
  • Confirmed that the macro executables build for the active host architecture.

@github-actions github-actions Bot added area: example Example apps, previews, sample projects, screenshots, or demo assets. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: build Build system, packaging, toolchain, release, or compiler support. labels Jul 18, 2026
@augmentcode

augmentcode Bot commented Jul 18, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: This PR updates the Example’s Tuist setup to rely on Tuist’s essential default build settings and a newer pinned Tuist version.

Changes:

  • Bumps the pinned Tuist version to 4.202.5 and enables SwiftPM-based dependency handling via TUIST_USE_SWIFTERPM=1.
  • Switches generated project and package settings from .none to .essential to ensure baseline build settings are emitted consistently.
  • Removes explicit DEBUG compilation definitions from debug settings, relying on essential Debug settings instead.
  • Ensures the OpenSwiftUI package target receives explicit essential/default configuration settings.
  • Refreshes Example/Tuist/Package.resolved source locations as produced by the updated resolver.

Technical Notes: The key intent is to avoid macro targets building for a non-host architecture (notably on Apple Silicon) by guaranteeing essential baseline settings are applied across generated targets.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@codecov

codecov Bot commented Jul 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 25.93%. Comparing base (1c8d846) to head (7bfd7b0).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #939       +/-   ##
===========================================
+ Coverage   13.77%   25.93%   +12.16%     
===========================================
  Files         678      721       +43     
  Lines       44436    50700     +6264     
===========================================
+ Hits         6119    13150     +7031     
+ Misses      38317    37550      -767     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye
Kyle-Ye merged commit 68e9cf6 into main Jul 18, 2026
9 checks passed
@Kyle-Ye
Kyle-Ye deleted the codex/update-tuist-4.202.5 branch July 18, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: example Example apps, previews, sample projects, screenshots, or demo assets. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: build Build system, packaging, toolchain, release, or compiler support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant