You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/01/08 13:45:58 UTC

[GitHub] [cordova-ios] Birowsky opened a new issue #1056: Can't run app with single icon configuration

Birowsky opened a new issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056


   # Bug Report
   
   ## Problem
   `cordova run ios` fails after adding `<icon src="resources/icon.png" />` to `config.xml`. I've provided the `resources/icon.png` file, relative to the Cordova project root.
   
   CLI error message:
   
   > The following build commands failed:
   >         ..../cordova/platforms/ios/build/emulator/TheWorkoutApp.app ..../cordova/platforms/ios/TheWorkoutApp/Images.xcassets
   > (1 failure)
   > xcodebuild: Command failed with exit code 65
   > error Command failed with exit code 65.
   > 
   
   
   ### Environment, Platform, Device
   cordova 10.0.0
   cordova-ios 6.1.1
   Mac 11.1 (intel)
   
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] Birowsky commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
Birowsky commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-756776654


   They certainly do, but as you might know, when working natively, they provide tools to generate all other icons variants based on a single one.
   
   If Cordova would do that for all platforms, that'd be bery bery nice : )


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] Birowsky commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
Birowsky commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-756770579






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-756768627


   iOS doesn't support a single-icon configuration. You must provide icons of different sizes. These icons are used by the OS in different scenarios. The OS expects these icons to be precisely in specific resolutions with specific filenames.
   
   Useful Links:
   - https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/app-icon/
   - https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/
   - https://cordova.apache.org/docs/en/latest/config_ref/images.html#ios (Example is missing modern icon sizes)
   
   Closing as not a bug / won't fix.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek closed issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
breautek closed issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] dpogue commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
dpogue commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-756809193


   You must provide all the icons sizes that iOS requires. The docs are incorrect about being able to specify a single icon.
   
   While it would be great for Cordova to automatically generate icons, that's a lot of code to test and maintain and update every time Apple changes their requirements, and I don't realistically think we should take on that additional maintenance burden.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-756812173


   > While it would be great for Cordova to automatically generate icons, that's a lot of code to test and maintain and update every time Apple changes their requirements, and I don't realistically think we should take on that additional maintenance burden.
   
   There are already third-party tools that does just this as well. Ionic maintains a tool which appears to be relatively up to date: 
   https://www.npmjs.com/package/cordova-res


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] Birowsky commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
Birowsky commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-756770579


   Oh, I was just following the [documentation here](https://cordova.apache.org/docs/en/latest/config_ref/images.html) which says:
   
   > 
   > The following configuration can be used to define a single default icon which will be used for all platforms.
   > 
   >     <icon src="res/icon.png" />


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] dpogue commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
dpogue commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-756809193


   You must provide all the icons sizes that iOS requires. The docs are incorrect about being able to specify a single icon.
   
   While it would be great for Cordova to automatically generate icons, that's a lot of code to test and maintain and update every time Apple changes their requirements, and I don't realistically think we should take on that additional maintenance burden.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-757573355


   > I understand, folks. I'd rather have you focus on substantial things. I guess this issue boils down to adjusting the docs a bit.
   
   Agreed, I'll move this issue over to our docs repo.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-756774937


   I guess that warrants reopening this to at least investigate what is correct.
   
   Using a single icon definitely shouldn't be recommended though. There is reasons why platforms expects specific sizes.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-756768627






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] Birowsky commented on issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
Birowsky commented on issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056#issuecomment-756889467


   I understand, folks. I'd rather have you focus on substantial things. I guess this issue boils down to adjusting the docs a bit.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek closed issue #1056: Can't run app with single icon configuration

Posted by GitBox <gi...@apache.org>.
breautek closed issue #1056:
URL: https://github.com/apache/cordova-ios/issues/1056


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org