GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-02T23:13:36.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2013 Sprint 16, 2013 Sprint 16 Core, Release 3.2.0 |
Components | CLI |
Labels | js, qe-cli, qe-closed-3.2.0, qe-testadded |
Reporter | Natalie Huynh |
Assignee | Chris Barber |
Created | 2012-11-27T23:14:59.000+0000 |
Updated | 2014-04-22T07:24:34.000+0000 |
Steps to Reproduce:
1. run "titanium build -T dist-playstore"
Actual:
[Error] Invalid required option --alias
Expected:
Should ask for the alias
Workaround
run "titanium build --platform android -T dist-playstore
Also occurs when passing iOS target options without specifying the platform first. [ERROR] Unable to find an iOS Distribution Certificate for name "undefined"
We need to first parse the entire list of args and translate abbreviations. This must be done with out knowledge of the commands, options, flags, and arguments. Once parsed, then we: 1. Process global options/flags 2. Identify the command 3. Attempt to find an --sdk and --platform 4. Process command options/flags 5. If SDK command, process SDK-level options/flags
https://github.com/appcelerator/titanium/pull/50 https://github.com/appcelerator/node-appc/pull/50
To test, run a build with a build-related option/flag BEFORE the "build" command.
Another example would be:
I've attached my test keystore for you to use. Alias is "myalias". Password is "123123".