[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 Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-28T23:17:56.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | 2013 Sprint 18 Core, 2013 Sprint 18, Release 3.2.0 |
Components | CLI |
Labels | cli, qe-testadded |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-07-25T02:33:29.000+0000 |
Updated | 2013-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.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/4612
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
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.