-
-
Notifications
You must be signed in to change notification settings - Fork 197
ns resources generate icons: iOS 1024x1024 garbled #5410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This just bit me too. I had to pull my app back from review after I discovered this. As a workaround I guess I will just copy my icon over by hand before building but would nice to get this fixed. |
I had no idea this command even existed! |
Well, that may be fine for one-offs, but I recreate the icons for development, beta, and production versions so that they show up on my phone differently and I can tell them apart. The dev version is the usual version, when I am deploying a beta test version to TestFlight for example, I recreate the icons for that, and finally when I publish to the store I recreate the production version of the icons. This is all done in my build script which includes this command. |
This is caused by line 160 of assets-generation-services.ts but is the fault of the dependency jimp. The
|
This comment was marked as abuse.
This comment was marked as abuse.
Weird that it is only that one though. But OK. :) Anyway, I couldn't figure out the jimp issue on my own so I submitted an issue that you can find here jimp-dev/jimp#954 |
For anyone that this may help I'm running the following command after |
This comment was marked as abuse.
This comment was marked as abuse.
Oooooh, that did the trick! Nice job! I'l do a pull request since i have the change, though I'ld be stealing your thunder. |
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):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
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.The text was updated successfully, but these errors were encountered: