Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28429] iOS: Build failed with assets containing a tilde (~) in filename

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2021-05-03T16:44:41.000+0000
Affected Version/sn/a
Fix Version/sRelease 10.0.0
ComponentsiOS
Labelsn/a
ReporterThomas Weber
AssigneeGary Mathews
Created2021-04-24T10:31:20.000+0000
Updated2021-05-03T16:44:41.000+0000

Description

[INFO]   Creating app icon set

[ERROR]  TypeError: Cannot read property 'replace' of undefined

at iOSBuilder.createAssetImageSets (/Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/10.0.0.v20210421092535/iphone/cli/commands/_build.js:5601:47)

at iOSBuilder.processAssets (/Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/10.0.0.v20210421092535/iphone/cli/commands/_build.js:5420:8)

at async /Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/10.0.0.v20210421092535/iphone/cli/commands/_build.js:5150:4

at async Promise.all (index 4)

at async iOSBuilder.run (/Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/10.0.0.v20210421092535/iphone/cli/commands/_build.js:2381:3)

Build failed. Process exited with code 1.
After deleting all assets with a tilde in the filename, the build succeeds.

Comments

  1. Thomas Weber 2021-04-24

    Related to comments by Alberto Marcone and Tim Poulsen on issue TIMOB-27415
  2. Gary Mathews 2021-04-26

    master: https://github.com/appcelerator/titanium_mobile/pull/12749
  3. Christopher Williams 2021-05-03

    merged to master and 10_0_X branch for 10.0.0 GA target

JSON Source