NativeScript / NativeScript/nativescript-cli
project is build and installed twice on iOS after change of build.xcconfig file or assets file rename
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 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 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先在裝置上使用 tns run ios 重現重複建置:先在 build.xcconfig 中持久化 DEVELOPMENT_TEAM,然後再重新命名列出的 AppIcon 資產。追蹤 CLI 的 iOS 執行流程,以及圍繞 build.xcconfig 和 AppResources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png 的檔案變更處理。完成標準是每次變更只觸發一次建置和安裝。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- ios, javascript
- 領域
- cli, mobile
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100