Skip to content

ns resources generate icons: iOS 1024x1024 garbled #5410

Closed
@BlueHunter99

Description

@BlueHunter99

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 7.0.10
  • @nativescript/core: 7.0.9
  • iOS Runtime: 7.0.1

Describe the bug
ns resources generate icons works perfectly for all of the icons except for the 1024x1024 one. This results in a weird 'garbled' image, which is then used on the app store.

To Reproduce

  1. Create new project from sample (in my case Angular + Hello World)
  2. Use ns resources generate icons on an icon of your choosing.

Expected behavior
The CLI should generate (scale) the icon properly.

Additional context
I've attached the icon.png which I use while running the command as well as the resulting image.

original icon

generated icon

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions