bazelbuild / bazelbuild/rules_apple
Add a flag to keep the created simulator around with `bazel run`
- Dominant language
- Starlark
- Stars
- 593
- Forks
- 334
- Avg merge
- 16h 48m
- Merged PRs (30d)
- 9
Description
Right now in some configurations the [script](https://github.com/bazelbuild/rules_apple/blob/10b0699496e438435d74b68f27b2b86355d913a9/apple/internal/templates/ios_sim.template.py) creates a simulator for running and deletes it afterwards. This is annoying if you're attempting to iterate on a change.
I imagine most folks today are using some sort of Xcode integration so this is a minor issue, but I think it would be fine to have a flag to specify to keep this (or maybe the default is even to keep it and there's a flag to make them ephemeral I'm not sure)
Related to https://github.com/bazelbuild/rules_apple/issues/225
Contributor guide
Research direction
Start with apple/internal/templates/ios_sim.template.py and trace how the simulator is created and removed when invoked through bazel run. Review related issue #225 for context on the intended behavior. Done means the issue has a documented choice of default or flag behavior that lets users keep the created simulator when requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100