Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17607] CLI: Some iOS build options with "ti build -p iOS" command prompts for input value along with error message.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2014-12-08T19:37:31.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sn/a
ComponentsCLI
Labelsqe-3.4.0
ReporterKhushbu Agrawal
AssigneeFeon Sua Xin Miao
Created2014-09-03T10:19:15.000+0000
Updated2017-03-20T21:51:19.000+0000

Description

Comments

  1. Ingo Muschenetz 2014-09-03

    I'm not sure we needed both tickets. I assume the underlying issue is similar.
  2. Khushbu Agrawal 2014-09-04

    [~ingo], Just giving more clarification on the above tickets. With this ticket TIMOB-17607, CLI just gives error message with the above specified options and prompt the user for the input value.After user provides the input value, CLI reads that value and project builds successfully. With the other ticket TIMOB-17605, CLI does not read the platform value provided by user for the prompt and gives error message and stop the project building process.So the user will not be able to build the project in this case.
  3. Feon Sua Xin Miao 2014-12-01

    PR: https://github.com/appcelerator/titanium/pull/172 Follow the STEPS TO REPRODUCE listed above, no error message if the option has command prompt available.
  4. Neeraj Gupta 2014-12-08

    I have actually run into this issue myself where I type a long 2-3 line command and forget to specify an option value. Since I get the error message, I know exactly why I am being prompted for an already specified option. If we remove this error message then I have no idea why I am being prompted for an option I have already specified. I would recommend keeping this error message as it is very helpful. I am resolving this ticket as invalid but I am open to discussion if you disagree. It is really easy to "fix" these type of issues but we need to take a step back and understand the user experience.
  5. Feon Sua Xin Miao 2014-12-09

    You have a valid point! The error prompt might seem a little obtrusive initially, but it has been a useful reminder. It didn't come across my mind that this could be by design. :)
  6. Khushbu Agrawal 2014-12-09

  7. Neeraj Gupta 2014-12-09

    I agree that it should be consistent. Either we display a message in all cases or we don't display it at all. I have never used "V" option. Is it a shorthand version of "--developer-name"?
  8. Feon Sua Xin Miao 2014-12-09

    Yup, it's required when target is device.
  9. Khushbu Agrawal 2014-12-09

    [~ngupta] Yes, -V option is a shorthand version for specifying developer name for iOS.
  10. Lee Morris 2017-03-20

    Closing ticket as invalid.

JSON Source