Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17605] CLI: CLI throws an error while reading platform input value given for “ti build -p” or “ti build —platform” commands.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2015-07-08T00:00:34.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sRelease 5.0.0
ComponentsCLI
Labelsqe-3.4.0
ReporterKhushbu Agrawal
AssigneeFeon Sua Xin Miao
Created2014-09-03T01:06:08.000+0000
Updated2015-09-16T15:33:37.000+0000

Description

Comments

  1. Feon Sua Xin Miao 2014-12-01

    PR : https://github.com/appcelerator/titanium/pull/170 Follow the STEPS TO REPRODUCE mentioned above, platform value should be captured correctly.
  2. Tim Poulsen 2015-02-17

    FR/CR pass, merged
  3. Lokesh Choudhary 2015-03-19

    Reopening. Running "ti.build -p" or "ti build -platform" gives us same error as before with Ti CLI 4.0.0-alpha. Environment: Appc Studio : 3.5.1.201412091616 Ti SDK : 4.0.0.v20150317234215 CLI : 4.0.0-alpha Alloy : 1.6.0-alpha MAC Yosemite : 10.10.2
  4. Ingo Muschenetz 2015-03-19

    Re-resolving as this exists in master.
  5. Wilson Luu 2015-07-07

    Reopening ticket. Issue is still reproducible with appc run -p or appc run --platform. Tested on: Appc CLI NPM: 4.1.0-1 Appc CLI Core: 4.1.0-5 Arrow: 1.1.0-11 SDK: 4.1.0.v20150706111546 Node: v0.10.38 OS: Yosemite (10.10.4)
  6. Feon Sua Xin Miao 2015-07-07

    The fix exists in [master](https://github.com/appcelerator/titanium/blob/master/lib/context.js#L401) but not in the titanium version bundled with app-cli-titanium.
  7. Praveen Innamuri 2015-07-08

    Considering that this is not a high priority ticket to consider for 4.1.0 release, pushing it to 4.2.0 release.
  8. Ewan Harris 2015-09-16

    Verified using: Windows 8.1, Mac OSX 10.10.5 Appc CLI Core: 5.0.0-55 Appc CLI NPM: 4.2.0-8 Titanium SDK : 5.0.0.v20150915230722 Lumia 930 (8.1) When using appc ti build -p, appc ti build --platform, appc run -p and appc run --platform the CLI no longer throws an error when reading the input value Closing ticket

JSON Source