NativeScript / NativeScript/nativescript-cli
project is build and installed twice on iOS after change of build.xcconfig file or assets file rename
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the duplicate build with tns run ios on a device, first after persisting DEVELOPMENT_TEAM in build.xcconfig and then after renaming the listed AppIcon asset. Trace the CLI's iOS run and file-change handling around build.xcconfig and AppResources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png. Done means each change causes only one build and install.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- cli, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100