NativeScript / NativeScript/nativescript-cli

project is build and installed twice on iOS after change of build.xcconfig file or assets file rename

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

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

bug os: ios run severity: medium
主要言語
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

  1. tns create TestApp --js

  2. tns run iOS on device

  3. When asked choose to persist DEVELOPMENT_TEAM in build.xcconfig file
    Result: the project is built and installed twice

  4. `tns run ios'

  5. change the name of /app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png file
    Result: The project is rebuild and installed twice

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

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

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