Configuration file or env variable to define default simulator / AVD

未关闭
#193 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
typescript
领域
cli

调研方向

未指定文件、测试或入口点。首先跟踪 native-run 如何选择默认的 iOS 模拟器和 Android AVD,然后确定现有的命令和环境配置处理方式。完成的标准是:有一个已记录且可在本地配置的默认值,并明确配置文件、环境变量和显式命令选项之间的优先级。

由索引模型根据 Issue 内容生成。

描述

The default simulator is the last one returned by xcrun. This can lead to an undesirable default, especially if simulators for multiple versions of iOS are installed, or having to specify the desired default every time or create brittle run scripts. I'm not aware of any way through Xcode to manipulate the order or to "hide" simulators from the list without deleting them.

So I'm suggesting a way to locally set a desired default in the environment - perhaps in a configuration file, and / or environment variables. The benefit of a configuration file is that we could check it in to ensure developers adopt the targeted OS versions.

主要语言
TypeScript
星标
141
派生
35
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ionic-team/native-run 的其他 Issue

查看 ionic-team/native-run 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。