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