Skip to content
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

Unable to generate icons when the Contents.json is not generated by Xcode #3666

Closed
rosen-vladimirov opened this issue Jun 5, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

Tell us about the problem

In case the icons in <project dir>/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset are not generated by Xcode, but for external tool, like https://apetools.webprofusion.com the tns resources generate icons command fails

Which platform(s) does your issue occur on?

No matter

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.1.0
  • Cross-platform modules: Not applicable
  • Runtime(s): Not applicable
  • Plugin(s): Not applicable

Please tell us how to recreate the issue in as much detail as possible.

  1. $ tns create myApp
  2. $ cd myApp
  3. Generate some icons in https://apetools.webprofusion.com - this will produce a .zip file. Get the iOS/AppIcon.appiconset folder from it and replace the myApp/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset content.
  4. Run $ tns resources generate icons <path to some icon>
    Instead of generating icons, the command will fail with error: Error: Invalid settings specified for the resizer.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

No.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants