[TIMOB-14077] CLI: Application ID check is overly restrictive
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2013-06-04T19:16:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | CLI |
Labels | n/a |
Reporter | Shad Reynolds |
Assignee | Chris Barber |
Created | 2013-05-31T21:37:02.000+0000 |
Updated | 2017-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.
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.
Closing ticket as "Won't Fix".