Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14077] CLI: Application ID check is overly restrictive

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionWon't Fix
Resolution Date2013-06-04T19:16:49.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
Labelsn/a
ReporterShad Reynolds
AssigneeChris Barber
Created2013-05-31T21:37:02.000+0000
Updated2017-03-29T16:23:12.000+0000

Description

This line is too restrictive... https://github.com/appcelerator/titanium_mobile/blob/10d0a84c4abb9ae62507250f6abe250a335aff47/support/node_modules/titanium-sdk/lib/titanium.js#L157 Our app was created a number of years ago, and when starting out, we made a mistake and registered our app id with Apple in a weird way. It works fine for them, but Titanium won't let me build anymore... our application id is "554UNEM3C7". So the number up front throws off the build system. If I remove that restriction, then all is well (like this)...
if (!/^([a-zA-Z0-9_-]*(\.[a-zA-Z0-9_-]*)*)$/.test(tiapp.id)) {
Thanks so much.

Comments

  1. Chris Barber 2013-06-04

    We must leave this app id pattern validation as is, however I have created a new ticket TIMOB-14106 that adds a config option to bypass app id validation.
  2. Lee Morris 2017-03-29

    Closing ticket as "Won't Fix".

JSON Source