Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11710] CLI build failure reason is only available when tracing is on

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-11-09T22:46:17.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 23 JS, 2012 Sprint 23
ComponentsTooling
Labels3.0.0beta2, qe-cli
ReporterShalom Gibly
AssigneeChris Barber
Created2012-11-08T22:27:17.000+0000
Updated2012-12-06T00:51:04.000+0000

Description

When launching the build command to perform an iOS debug on device, the error log output a generic error "Check dependencies", but does not output the real error reason. For example:
[TRACE] :  Check dependencies
[TRACE] :  Code Sign error: Provisioning profile 'PayPal Labs' has expired
[ERROR] :  ** BUILD FAILED **
[ERROR] :  The following build commands failed:
[ERROR] :  	Check dependencies
[ERROR] :  (1 failure)
The TRACE is actually indicating the error, not the ERROR. So, in case the CLI command is executed with an 'Error' log level, the user never gets the reason.

Comments

  1. Chris Barber 2012-11-09

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3400 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3401
  2. Olga Romero 2012-12-06

    Closing as fixed. Tested on: Titanium Studio, build: 3.0.0.201211301903 Titanium SDK, build 3.0.0.v20121204181658

JSON Source