Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13432] Code Processor: "SDK version 3.1.x is not available" error message on analyzing project code

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-10-04T22:44:04.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.2.0
ComponentsCode Processor
Labelsqe-3.1.0, qe-closed-3.2.0, qe-testadded
ReporterDhirendra Jha
AssigneeBryan Hughes
Created2013-04-06T08:06:35.000+0000
Updated2014-02-26T17:49:13.000+0000

Description

Steps to Reproduce: 1. Create Appcelerator Project from Appcelerator Studio. 2. Go to the terminal. 3. Run command from the top-level directory of the created project - titanium-code-processor analyze -o iphone -a Actual: Error message appears "SDK version 3.1.x is not available". Expected: Project code should analyze properly.

Attachments

FileDateSize
Screen Shot 2013-04-06 at 1.33.40 PM.png2013-04-06T08:06:35.000+000032710

Comments

  1. Bryan Hughes 2013-04-06

    Technically the code processor is correct. Change the SDK version to 3.1.0.v20130405170202 or rename 3.1.0.v20130405170202 to 3.1.0 and it will work. It doesn't currently have the ability to map 3.1.0->3.1.0.v20130405170202. Lowering the priority.
  2. Federico Casali 2013-05-22

    Reproducible also with the currently used command from CLI: ti analyze -p -A Also confirming the proposed workaround from Bryan (changing the SDK folder name) works fine.
  3. Bryan Hughes 2013-08-13

    Note: this will be solved by TIMOB-13958
  4. Bryan Hughes 2013-10-04

    Resolved by TIMOB-13958
  5. Neha Mittal 2014-01-02

    Verified fix with environment Appcelerator Studio: 3.2.0.201312191455 SDK: 3.2.0.GA acs@1.0.11 alloy@1.3.0 npm@1.3.2 titanium@3.2.0 titanium-code-processor@1.1.0 Mac OSX 10.9 Mavericks Hence, closing the issue.

JSON Source