NativeScript / NativeScript/nativescript-cli
How to pass command line arguments in iOS?
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
I have a nativescript project that integrates with Firebase. To debug analytics in iOS, Google has this vague documentation:
To enable Analytics Debug mode on your development device, specify the following command line argument in Xcode :
-FIRDebugEnabled
What this actually wants you to do is open the project in Xcode and navigate to Product -> Scheme -> Edit Scheme..., then select Run on the left, pick the Arguments tab, and add -FIRDebugEnabled to the list of Arguments Passed on Launch.
Problem is I'm not using Xcode, I'm just working in VS Code and using a terminal. So...how do I pass this argument myself, through tns debug ios or something?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイルやテストは指定されていません。エントリーポイント tns debug ios から始め、コマンドライン引数がどのように解析され、iOS アプリに転送されるかを調査してください。-FIRDebugEnabled を渡すためのターミナルベースの方法を確立し、その動作を文書化するか、適切なテストでカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, javascript
- 領域
- cli, mobile
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100