Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28401] iOS: Building an app with a DefaultIcon that contains alpha errors

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2021-03-23T19:40:47.000+0000
Affected Version/sRelease 10.0.0
Fix Version/sRelease 10.0.0
ComponentsCLI, iOS
Labelsregression
ReporterEwan Harris
AssigneeEwan Harris
Created2021-03-19T14:53:39.000+0000
Updated2021-05-03T18:25:02.000+0000

Description

Description

When building an iOS app that uses a DefaultIcon with alpha the below error occurs ReferenceError: 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 iOS

Actual

Above error

Expected

Build should run through ok

Attachments

FileDateSize
DefaultIcon.png2021-03-19T15:01:30.000+0000121463

Comments

  1. Ewan Harris 2021-03-19

    PR: https://github.com/appcelerator/titanium_mobile/pull/12625
  2. Christopher Williams 2021-03-23

    merged to master and 10_0_X

JSON Source