Configuration file or env variable to define default simulator / AVD

オープン
#193 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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
スター
139
フォーク
35
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/native-run のほかの issue

ionic-team/native-run の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。