Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18067] CLI: Running "ti build -p ios -T dist-adhoc -F universal -P --no-colors" command throws longjohn error.

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2014-11-25T04:52:54.000+0000
Affected Version/sRelease 3.4.1
Fix Version/sRelease 3.5.0
ComponentsCLI
Labelsqe-3.5.0, qe-manualtest
ReporterKhushbu Agrawal
AssigneeFeon Sua Xin Miao
Created2014-11-21T03:59:42.000+0000
Updated2015-01-08T19:17:27.000+0000

Description

Comments

  1. Chris Barber 2014-11-21

    You forgot to specify the provisioning profile UUID when you specified the -P flag. Edit: so the problem is with the option abbreviation.
  2. Khushbu Agrawal 2014-11-21

    I want the CLI to prompt user for the provisioning profile value.That's why not specified. Yes, the problem is with the option abbreviation '-P' only.
  3. Chris Barber 2014-11-21

    [~kagrawal] Cool, good find. :)
  4. Khushbu Agrawal 2014-11-21

    [~cbarber] Thanks :-)
  5. Feon Sua Xin Miao 2014-11-25

    PR: https://github.com/appcelerator/titanium/pull/169 Run the build command with -P option in the middle or at the end, there should be no error
       ti build -p ios -T dist-adhoc -F universal -P
       ti build -p ios -T dist-adhoc -P -F universal
       
  6. Wilson Luu 2015-01-08

    Closing ticket as fixed. Verified longjohn error is not returned when using ti build -p ios -T dist-adhoc -F universal -P and ti build -p ios -T dist-adhoc -P -F universal. Also, was able to fully build the project with those two commands. Tested on: Appcelerator Studio, build: 3.4.1.201410281743 SDK build: 3.5.0.v20150108020917 CLI: 3.5.0-dev (from this [commit](https://github.com/appcelerator/titanium/commit/ec0618b2063e7e079bd1f7da12ff00c21e4e2ad6)) Alloy: 1.5.1 Xcode: 6.2 beta 3

JSON Source