Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14652] CLI: When selected SDK is not 3.0.0 or 3.0.2 and building for 3.0.0 and 3.0.2, verify Node.js version is 0.8.x

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-08-28T23:17:56.000+0000
Affected Version/sRelease 3.1.1
Fix Version/s2013 Sprint 18 Core, 2013 Sprint 18, Release 3.2.0
ComponentsCLI
Labelscli, qe-testadded
ReporterChris Barber
AssigneeChris Barber
Created2013-07-25T02:33:29.000+0000
Updated2013-10-24T17:20:41.000+0000

Description

If the CLI's selected Ti SDK is 3.1.0.GA and the tiapp.xml is set to 3.0.0.GA or 3.0.2.GA, then those SDKs require Node.js 0.8.x. Today we allow those builds to fail. The build should be smarter to detect those SDKs and if Node.js is not 0.8 and fail gracefully.

Comments

  1. Chris Barber 2013-08-27

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/4612
  2. Chris Barber 2013-08-27

    To test: 1) Make sure you are using Node.js 0.10 or newer 2) Make sure you have Titanium SDK 3.1.0 (or newer) and Titanium SDK 3.0.0 or 3.0.2 installed 3) Make sure your selected Titanium SDK is 3.1.0 or newer 4) Make sure your app's tiapp.xml is set to 3.0.0 or 3.0.2 5) Build the app for any platform and notice the build correctly fails
  3. Priya Agarwal 2013-10-22

    Followed above steps using test Environment: Appc-Studio: 3.2.0.201310181700 Sdk:3.2.0.v20131021142445 alloy:1.2.2 npm:1.3.2 titanium:3.2.0 titanium-code-processor:1.0.3 Device:Google Nexus 7(v4.2.1), iPOD Touch1(v7.0) Xcode: 5 Build correctly fails. Hence closing the issue.

JSON Source