[TIMOB-18067] CLI: Running "ti build -p ios -T dist-adhoc -F universal -P --no-colors" command throws longjohn error.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | None |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-11-25T04:52:54.000+0000 |
| Affected Version/s | Release 3.4.1 |
| Fix Version/s | Release 3.5.0 |
| Components | CLI |
| Labels | qe-3.5.0, qe-manualtest |
| Reporter | Khushbu Agrawal |
| Assignee | Feon Sua Xin Miao |
| Created | 2014-11-21T03:59:42.000+0000 |
| Updated | 2015-01-08T19:17:27.000+0000 |
You forgot to specify the provisioning profile UUID when you specified the -P flag. Edit: so the problem is with the option abbreviation.
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.
[~kagrawal] Cool, good find. :)
[~cbarber] Thanks :-)
PR: https://github.com/appcelerator/titanium/pull/169 Run the build command with
-Poption in the middle or at the end, there should be no errorClosing ticket as fixed. Verified longjohn error is not returned when using
ti build -p ios -T dist-adhoc -F universal -Pandti 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