[TIMOB-28401] iOS: Building an app with a DefaultIcon that contains alpha errors
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-03-23T19:40:47.000+0000 |
Affected Version/s | Release 10.0.0 |
Fix Version/s | Release 10.0.0 |
Components | CLI, iOS |
Labels | regression |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2021-03-19T14:53:39.000+0000 |
Updated | 2021-05-03T18:25:02.000+0000 |
Description
Description
When building an iOS app that uses a DefaultIcon with alpha the below error occursReferenceError: Cannot access 'flattenedDefaultIconDest' before initialization
We should enable the [no-use-before-define](https://eslint.org/docs/rules/no-use-before-define) eslint rule for variables to allow us to fix these issues before they land
Steps to reproduce
1. Download the attached DefaultIcon and add it to your project 2. Build for iOSActual
Above errorExpected
Build should run through okAttachments
File | Date | Size |
---|---|---|
DefaultIcon.png | 2021-03-19T15:01:30.000+0000 | 121463 |
PR: https://github.com/appcelerator/titanium_mobile/pull/12625
merged to master and 10_0_X