Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15740] CLI: Info command displays extra incorrect Xcode info when 3.1.x SDK is selected

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-01-17T23:21:06.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2014 Sprint 01, 2014 Sprint 01 Core, Release 3.2.3, Release 3.3.0
ComponentsCLI
Labelsmodule_cli, qe-closed-3.2.3, qe-testadded
ReporterChris Barber
AssigneeChris Barber
Created2013-11-18T21:32:50.000+0000
Updated2014-07-29T21:52:23.000+0000

Description

When a 3.1.x SDK is selected, the legacy Xcode info prints that it's not supported and the Titanium SDK version is undefined. The problem is this text should not have been rendered at all. Expected:
Xcode
5.0.2 (build 5A3005) - Xcode default
  Install Location                      = /Applications/Xcode.app/Contents/Developer
  iOS SDKs                              = 7.0
  iOS Simulators                        = 6.1, 7.0
4.6.3 (build 4H1503)
  Install Location                      = /Applications/Xcode46.app/Contents/Developer
  iOS SDKs                              = 6.1
  iOS Simulators                        = 5.0, 5.1, 6.0, 6.1
Actual:
Xcode
5.0.2 (build 5A3005) - Xcode default
  Install Location                      = /Applications/Xcode.app/Contents/Developer
  iOS SDKs                              = 7.0
  iOS Simulators                        = 6.1, 7.0
  Supported by TiSDK undefined          = no
4.6.3 (build 4H1503)
  Install Location                      = /Applications/Xcode46.app/Contents/Developer
  iOS SDKs                              = 6.1
  iOS Simulators                        = 5.0, 5.1, 6.0, 6.1
  Supported by TiSDK undefined          = no
To reproduce: 1) Select a 3.1.x SDK: "ti sdk select 3.1.4.GA" 2) Run "ti info -t ios" 3) Look at the Xcode info section

Comments

  1. Chris Barber 2014-01-17

    Titanium CLI master pull request: https://github.com/appcelerator/titanium/pull/98 Titanium CLI 3.2.x pull request: https://github.com/appcelerator/titanium/pull/99
  2. Paras Mishra 2014-03-24

    Issue is fixed with the master's build i.e. CLI: 3.3.0 but still reproducible with the current CLI: 3.2.1.GA Environment used: CLI version : 3.2.1.GA and 3.3.0(from github) OS : MAC OSX 10.9.2 Alloy: 1.3.1 ACS: 1.0.14 npm:1.3.2 Appcelerator Studio, build: 3.2.3.201403190645 titanium-code-processor: 1.1.0 XCode : 5.1
  3. Neha Mittal 2014-03-26

    Verified fix using updated CLI version: 3.2.3-dev with below environment: Appc Studio: 3.2.3.201403250634 acs: 1.0.14 npm: 1.3.2 alloy:1.3.1 CLI: titanium@3.2.3-dev titanium-code-processor:1.1.0 Xcode: 5.1 Osx: Maverick(10.9.2) Hence closing the issue.

JSON Source