Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

feat: add askForAppToLaunch property to RunAction and ProfileAction#491

Merged
fortmarek merged 3 commits intotuist:mainfrom
FelixLisczyk:tl-170
Feb 23, 2026
Merged

feat: add askForAppToLaunch property to RunAction and ProfileAction#491
fortmarek merged 3 commits intotuist:mainfrom
FelixLisczyk:tl-170

Conversation

@FelixLisczyk
Copy link
Contributor

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

@dosubot dosubot bot added the enhancement New feature or request label Feb 7, 2026
@fortmarek fortmarek changed the title Add askForAppToLaunch property to RunAction and ProfileAction feat: add askForAppToLaunch property to RunAction and ProfileAction Feb 23, 2026
Copy link
Member

@fortmarek fortmarek left a comment

Choose a reason for hiding this comment

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

Thanks!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 23, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Feb 23, 2026
# Conflicts:
#	Package.resolved
#	Tests/XcodeGraphMapperTests/MapperTests/Settings/XCConfigurationMapperTests.swift
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Feb 23, 2026
@fortmarek fortmarek merged commit 3d26517 into tuist:main Feb 23, 2026
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants