-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
CLI does not generate all icons #5126
Comments
I can confirm this behavior in Sidekick on Window 10. Can this be what is giving the the dread "Spawn error" when uploading to Apple? |
I have the same issue |
Rita, did you check your logs (Sidekick menu>Help>Show Logs). Sometimes this helps. Also, I have opened an issue to help developers deal with the cryptic Spawn error message: |
Rita, did you check your logs (Sidekick menu>Help>Show Logs). Sometimes this helps. Yeap, I checked it. I updated everything in my project and expected all is going to be fine, but now I have this one #5141 |
I'm having this exact issue in version 6.7.4 |
This comment was marked as abuse.
This comment was marked as abuse.
@NathanaelA Using NS cli, thanks for the tip |
This comment was marked as abuse.
This comment was marked as abuse.
It's definitely brand a new NS project, will provide screen shot as soon as
possible
…On Wed, Jun 17, 2020, 12:30 AM Nathanael Anderson ***@***.***> wrote:
@DecentGradient <https://github.com/DecentGradient> - I just tested with
the instructions above and it created all the resources correctly:
Before:
[image: image]
<https://user-images.githubusercontent.com/850871/84855122-f7281100-b028-11ea-9b80-f009db724648.png>
After:
[image: image]
<https://user-images.githubusercontent.com/850871/84855138-fc855b80-b028-11ea-8e02-6073be796c39.png>
Is it possible your
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json came
from an older version of NativeScript (NS 5 or before). Can you provide it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5126 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDGK4C7SQEPMHZTNGEYJDLRXBBGTANCNFSM4JMXB7SQ>
.
|
hmm it works, only thing i did is reinstall NS globally 🤷 |
Thanks for your responsiveness and making me feel welcome! |
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
When executing
tns resources generate icons <my_icon.png>
, CLI 6.2.0 shows several warnings and does not generate some of the icons:CLI 6.1.x works correctly in this case.
To Reproduce
Install CLI 6.2.0 (
npm i -g nativescript@6.2.0
)Create new project:
tns create myApp --js
Navigate to the project:
cd myApp
Try to generate icons:
tns resources generate icons <some_icon.png>
You'll see warnings
Check
App_Resources\iOS\Assets.xcassets\AppIcon.appiconset
- three of the icons are not replaced.Expected behavior
CLI should generate all icons.
Sample project
Additional context
The text was updated successfully, but these errors were encountered: