NativeScript / NativeScript/nativescript-cli
project is build and installed twice on iOS after change of build.xcconfig file or assets file rename
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
Environment
- CLI: 6.0.3
Describe the bug
When executing tns run ios on iOS device if you choose to persist DEVELOPMENT_TEAM in build.xcconfig file the project gets build and installed twice.
When executing run command, change of name of file in the AppResources folder causes cli to rebuild and install the project twice
To Reproduce
-
tns create TestApp --js -
tns run iOSon device -
When asked choose to persist DEVELOPMENT_TEAM in build.xcconfig file
Result: the project is built and installed twice -
`tns run ios'
-
change the name of /app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png file
Result: The project is rebuild and installed twice
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、デバイス上で tns run ios を使って重複するビルドを再現します。最初に DEVELOPMENT_TEAM を build.xcconfig に永続化した後で、次に記載されている AppIcon アセットの名前を変更した後で確認します。build.xcconfig と AppResources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png に関連する CLI の iOS 実行およびファイル変更処理を追跡します。各変更によってビルドとインストールがそれぞれ 1 回だけ発生すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, javascript
- 領域
- cli, mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100