[TIMOB-19830] If you do not have the correct app icons, then a smarter error message should apear
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 5.1.0 |
Fix Version/s | n/a |
Components | iOS, Tooling |
Labels | cb-tooling, qe-5.1.0 |
Reporter | Wilson Luu |
Assignee | Chris Barber |
Created | 2015-10-30T00:45:13.000+0000 |
Updated | 2020-01-30T11:05:44.000+0000 |
Description
*Details:* Currently, if you were to follow the following test cases from TIMOB-19809:
||Required App Icons||DefaultIcon.png||DefaultIcon-ios.png||Expected Result||
|Missing 1 required icon|no|no|build fails|
|Icon has wrong size|no|no|build fails|
Then, the following error message will appear:
[ERROR] There are missing required app icons
[ERROR] You must either create the missing icons below or create an image named "DefaultIcon-ios.png", "DefaultIcon-iphone.png", or "DefaultIcon.png" in the root of your project
[ERROR] If the DefaultIcon.png image is present, the build will use it to generate all missing icons
[ERROR] It is highly recommended that the DefaultIcon.png be 1024x1024
[ERROR] Unable to create missing icons:
[ERROR] Resources/iphone/appicon-Small@3x.png - Used for iPhone - size: 87x87
[ERROR] Resources/iphone/appicon-Small-40.png - Used for iPad - size: 40x40
[ERROR] Resources/iphone/appicon-Small-40@2x.png - Used for iPhone, iPad - size: 80x80
[ERROR] Resources/iphone/appicon-Small-40@3x.png - Used for iPhone - size: 120x120
[ERROR] Resources/iphone/appicon-76.png - Used for iPad - size: 76x76
[ERROR] Resources/iphone/appicon-76@2x.png - Used for iPad - size: 152x152
[ERROR] An error occurred during build after 5s 287ms
TRACE | titanium exited with exit code 1
ERROR | Error: ti run exited with error code 1
at ChildProcess.<anonymous> (/Users/wluu/.appcelerator/install/5.1.0-38/package/node_modules/appc-cli-titanium/plugins/run.js:92:23)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
*Expected:* The error message should be more precise e.g. please generate DefaultIcon-ios.png and include appicon-76@2x.png (152X152).
No comments