Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2249] CLI 3.3.0 does not work with SDK 3.2.1

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2014-02-20T03:22:52.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelscli, crash, critical, ios, mobile, titanium
Reporterfarid fadaie
AssigneeRitu Agrawal
Created2014-02-19T09:47:15.000+0000
Updated2016-03-08T07:41:15.000+0000

Description

On 3.2.1 the CLI breaks with the following error: It is for all of my projects (including new and old ones). Nothing works. It seems to be the same as: https://developer.appcelerator.com/question/162491/none-of-my-projects-work-after-update-to-321ga (However all of the comments there are related to other bugs not this one) /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184 throw e; ^ TypeError: Cannot read property 'properties' of undefined at iOSBuilder.validate (~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/iphone/cli/commands/_build.js:825:58) at exports.validatePlatformOptions (~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/titanium.js:615:69) at ~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/cli/commands/build.js:192:19 at callCommandValidate (/usr/local/lib/node_modules/titanium/lib/cli.js:830:7) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:548:21 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:224:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:131:13) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:142:25 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:226:17 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:553:34 --------------------------------------------- at run (~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/node-appc/lib/subprocess.js:59:8) at ~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/iphone/cli/lib/detect.js:410:9 at ~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:511:21 at ~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:227:13 at ~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:111:13 at Array.forEach (native) at _each (~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:32:24) at async.each (~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:110:9)

Attachments

FileDateSize
ti.config2014-02-20T01:43:46.000+00001101
ti.info2014-02-20T01:43:46.000+000013778
ti.sdk2014-02-20T01:43:45.000+0000537

Comments

  1. Ritu Agrawal 2014-02-19

    Can you please attach the output of the following commands: 1. ti info 2. ti config 3. ti.sdk
  2. farid fadaie 2014-02-20

    attached.
  3. Ritu Agrawal 2014-02-20

    It appears that you are using CLI 3.3.0 with SDK 3.2.1 here. CLI 3.3.0 is under development and not supported so we would recommend you to install CLI 3.2.1 and let us know if the issue persists.
  4. farid fadaie 2014-02-20

    It's strange. I uninstalled (and removed everything) and installed everything fresh (with all default components). That probably means that you are/were shipping 3.3.0 at some point on your main page (or auto-update system). but installing 3.2.1 actually fixed it. Thanks.
  5. Ritu Agrawal 2014-02-20

    You can manually install CLI 3.2.1 by using the following command: npm install -g titanium@3.2.1
  6. Ritu Agrawal 2014-02-20

    Resolving this ticket as reporter has confirmed that CLI 3.2.1 works fine with SDK 3.2.1.

JSON Source