Make local development identity configurable - #269
Merged
Conversation
Two builds sharing one bundle id fight over everything macOS keys off it — Login Items, LaunchServices' "which app owns this?", background-agent attribution — and two builds sharing ~/.graphcode fight over graphs and zmx session names. Side-by-side needs both halves, so `make dev-*` sets both: TUIST_BUNDLE_ID_PREFIX/TUIST_APP_DISPLAY_NAME for the identity and GRAPHCODE_SUPPORT_DIR for the state. `open` does not reliably pass an exported variable to the app it launches, so dev-run-app uses `open --env` rather than a prefixed assignment. DaemonBootstrap's app id is read from the running bundle instead of being hardcoded, so a side-by-side build's Login Item points at itself; the shipping id remains the fallback for the CLI and daemon, which have no app bundle of their own. Signed-off-by: Franci Penov <francip@kortexa.ai>
Signed-off-by: Franci Penov <francip@kortexa.ai>
Signed-off-by: Franci Penov <francip@kortexa.ai>
Signed-off-by: Franci Penov <francip@kortexa.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.envand.env.localmake doctorto detect missing Tuist dependenciesValidation
make checkmake test