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)
Can you please attach the output of the following commands: 1. ti info 2. ti config 3. ti.sdk
attached.
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.
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.
You can manually install CLI 3.2.1 by using the following command: npm install -g titanium@3.2.1
Resolving this ticket as reporter has confirmed that CLI 3.2.1 works fine with SDK 3.2.1.