Skip to content

Add askForAppToLaunch property to RunAction and ProfileAction#491

Open
FelixLisczyk wants to merge 1 commit intotuist:mainfrom
FelixLisczyk:tl-170
Open

Add askForAppToLaunch property to RunAction and ProfileAction#491
FelixLisczyk wants to merge 1 commit intotuist:mainfrom
FelixLisczyk:tl-170

Conversation

@FelixLisczyk
Copy link

Summary

Adds an askForAppToLaunch: Bool property to RunAction and ProfileAction models with a default value of false, enabling the Tuist CLI to propagate the "Ask on Launch" executable option through to generated .xcscheme files.

This is the model-layer prerequisite for tuist/tuist#6503.

Changes

  • Add askForAppToLaunch property to RunAction and ProfileAction
  • Add parameter to init() and test() helpers (default false)
  • Update codable tests to cover the new property

Test plan

  • RunActionTests.test_codable passes with new property
  • ProfileActionTests.test_codable passes with new property
  • Existing tests unaffected (default false preserves behavior)

Support the "Ask on Launch" scheme option by adding a Bool property
to both action models, enabling downstream scheme generators to set
askForAppToLaunch="Yes" in .xcscheme files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FelixLisczyk FelixLisczyk marked this pull request as ready for review February 7, 2026 12:27
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Feb 7, 2026
@dosubot
Copy link

dosubot bot commented Feb 7, 2026

Related Documentation

Checked 1 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant