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/05/10 18:39:16 UTC

[GitHub] [cordova-ios] mavr1k7 opened a new issue #1106: Icon tag missing path errors logged as verbose

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


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   When an icon tag references a missing source path, a warning or error should be displayed so that the user knows to fix it.
   
   ### What does actually happen?
   
   All of the icons up to the missing icon are copied, and then the operation fails silently. The only way to detect this is to check the directory under `platforms/ios/<app name>/Images.xcassets/AppIcon.appiconset` or to install the app and see warnings/missing icons. 
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   In `config.xml`:
   ``` html
   <icon src="res/ios/icon-20.png" width="20" height="20" />
   <icon src="res/ios/icon-24@2x.png" width="48" height="48" />
   <icon src="res/ios/icon-27.5@2x.png" width="55" height="55" />
   <icon src="res/ios/icon-40.png" width="40" height="40" />
   ...
   ```
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   This is happening consistently across all ios instances when `cordova prepare` or `cordova platform add ios` is run. 
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   cordova-ios@6.2.0
   
   ## 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